From 4650985dd0e898b82e0d2ec225931297d4fadccf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 31 Jan 2018 20:30:04 +0000 Subject: gentoo resync : 31.01.2018 --- www-client/vivaldi/Manifest | 6 + .../files/vivaldi-1.14.1072.3_p1-desktop.patch | 7 ++ .../files/vivaldi-1.14.1072.3_p1-libffmpeg.patch | 27 +++++ www-client/vivaldi/vivaldi-1.14.1077.41_p1.ebuild | 130 +++++++++++++++++++++ 4 files changed, 170 insertions(+) create mode 100644 www-client/vivaldi/files/vivaldi-1.14.1072.3_p1-desktop.patch create mode 100644 www-client/vivaldi/files/vivaldi-1.14.1072.3_p1-libffmpeg.patch create mode 100644 www-client/vivaldi/vivaldi-1.14.1077.41_p1.ebuild (limited to 'www-client/vivaldi') diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 00b819c3a046..2e174fc96500 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,6 +1,12 @@ AUX vivaldi-1.13.1008.44_p1-libffmpeg.patch 1106 BLAKE2B 4e15ad477669e534c78ab8973e3b0057597e97cd0b37a110be2acece86a49ecddb5c0a03c958bf42c4d1b2ad54d4b400e9e1319385ccb4bb1fc0448512d8aa09 SHA512 93c6454c3107c665c3c5799561544294c140a8dd187bed79b489f7794648941cb91a51eab8f96f8f304e5453d03e4b35b55b647c3d6f7425825dae9cafa3c3d9 +AUX vivaldi-1.14.1072.3_p1-desktop.patch 343 BLAKE2B 1fb9f37e1a8cb011cf13d0bdead1519cbe3884b92b2920b2564a745aa81ca1b7abac00925e58ad425986bc0cfb18e30ed1b2cd633e40601af14eebdfa73c0739 SHA512 2afbdc5f23b85b84dc94ad1da39e7ffe12e584a1496090db6d7706f6944cf1e9c71a8afded1ab386cbc1dbaadedb9e181f91b064946330c33941dfef66b91e7e +AUX vivaldi-1.14.1072.3_p1-libffmpeg.patch 1235 BLAKE2B 35325a2661ace46829514d07a0b0999eb7230554517bdbfa11862c72f7ebcee12987b9fd7bee58bfcc8e22560cd84607d244fc5bbb1b0514cafa888f096f3611 SHA512 08b13b8aae472ed827e3383eb6be0e1842d56bd003e3b4bf1d51ee73e55673a04ddf508d8ba3a6d766b27068101e890d5d80a936211c75fec38b6e1ece21a41a DIST vivaldi-1.13.1008.44_p1-amd64.deb 49265816 BLAKE2B 4d49e00cb0bb7fbf72303eb32da01751b22f9ec252766205893ead6c65e95695457065d2d9dcd5c4d42621a1382b012b2718e67b7f514df2ee7b1ea959eeaeca SHA512 3bb7f5ac0e01b1b3d36b4faae8a0a7874ab8acad5398663c9e51b6f9f26a6f00f01c3a183ff964e18eda2358009c99b270e65a3d35d99cea1de72554a7f6255a DIST vivaldi-1.13.1008.44_p1-armhf.deb 45147556 BLAKE2B 90d8c056c129273e2c759247d452d4a825cb0ad41052716674fac790bb488d3f0743fa692f302f1c7af3f22adb91b1a115e1bd5c2745560577c14e0645fe0afd SHA512 f390ef2a6afa98212458a803b2411e53849bc2be3ebf54f3fdedc15bd38462239f7590dd31870c312319a38bb0e293948e1bbd1f1a0cdf243747780925c9762c DIST vivaldi-1.13.1008.44_p1-i386.deb 50145626 BLAKE2B 44c913c2e8242d2b4b5b24fb63bc21dd8636283ebbcc5b72178b7dd4a34e2fc0e5d45fe41fef9ce7c918809e0bfffa1cf3ddbe436626afaa6237b4c85d27c09e SHA512 2f34facdc0ee2662d0ce03347346f8e510c288259aa92306f22c1eced6fc8626275f766401f6468b7a3037c2e7d5e65f692de39753553c7c8537b6c7f7a57a7a +DIST vivaldi-1.14.1077.41_p1-amd64.deb 52284634 BLAKE2B 91a96b201f6d3947145685a519e79a4ebff921df5c5873c5ce790f269e337f6944df71307b45649d0d754aec8b8ff6691748919d680d2354997a4cbb3440a211 SHA512 f6f8afc76699924edcfeacd51f60364506e2e9c07773d0411207507c0493b7427ba0373402c5eab7a10dde699cfee7e6e5c42179bf63c285123ff7e0e88f15b2 +DIST vivaldi-1.14.1077.41_p1-armhf.deb 46360044 BLAKE2B d7fba11b524936ebf047162de597a829da1fc362e1d245b1de131431f288219085e17572853537c06637f7ce25ca482a19a703c58939855ee1a0a2ca7fc381a2 SHA512 8a6abbb6b362327aeefb2b526825caac0896b80d8f45870dfe78ad6cf56228deb0b932c157c3e85e66bde6e73dbde0470879d35cbfbf41b984222e2f3da6dc77 +DIST vivaldi-1.14.1077.41_p1-i386.deb 51911354 BLAKE2B 050b9b2fb8495d9b9eaf51c61d1dd5bfcbbca0804bfa39e084dc8ded5c4ecd4aea31b459d6f1cba8fc0b5626ed926ed03d0263c47590bbdb024bf31fedc15fcf SHA512 538ff94c056c2fe3ac5c5042191dd3e7fc385d833a6375a05894df2f3945e363c017bb9e717a46b060cba9be81cdbc610cfd3ad3880a6da43ec5a89242a0f8bf EBUILD vivaldi-1.13.1008.44_p1.ebuild 2982 BLAKE2B cfb6f088c8ea68f7821aff956a6706b517e2cd8c7f1aafc59267d3e4779d4eccccfe558621d69e8b784ca5e36368293d522d0faa1cc2a8fdf2599bec5e53c77f SHA512 651c20386b716ac98b1a32a46d480de06584a07372ad073edd9865c55ac88f4a3c5cccb0e97e42828cd20dc63766ccd9e7f86797fc610739cbeafa54d7424db7 +EBUILD vivaldi-1.14.1077.41_p1.ebuild 3040 BLAKE2B 16bdbb0f33399e053ea38ba55b904360de7b31364da3e7b9f14e404d71fab4a1cf241570bd7c70d92b08f9006b9c1646f758ff24ad146b89228483692ce04960 SHA512 35c2b5885daa0c33cbe710cf5f24c9ed224616f0546eebebf40da5b784e337b455cf9f6c2148d890b7bec43d0563ec028d85f80d3c4808e92b44bed349630569 MISC metadata.xml 238 BLAKE2B 72d4053d28bbf82c9a08a88b354321a782501542b5d506fc6d9f4034839f302761124d59445c0414a0fd38b6401cd5fbe06670802abdb1f25c7cb60919ea5d2e SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 diff --git a/www-client/vivaldi/files/vivaldi-1.14.1072.3_p1-desktop.patch b/www-client/vivaldi/files/vivaldi-1.14.1072.3_p1-desktop.patch new file mode 100644 index 000000000000..31f5371d8be0 --- /dev/null +++ b/www-client/vivaldi/files/vivaldi-1.14.1072.3_p1-desktop.patch @@ -0,0 +1,7 @@ +--- a/usr/share/applications/vivaldi-stable.desktop ++++ b/usr/share/applications/vivaldi-stable.desktop +@@ -111,4 +111,3 @@ + Type=Application + Categories=Network;WebBrowser; + MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp; +-Actions=new-window;new-private-window; diff --git a/www-client/vivaldi/files/vivaldi-1.14.1072.3_p1-libffmpeg.patch b/www-client/vivaldi/files/vivaldi-1.14.1072.3_p1-libffmpeg.patch new file mode 100644 index 000000000000..8c6a574fccb6 --- /dev/null +++ b/www-client/vivaldi/files/vivaldi-1.14.1072.3_p1-libffmpeg.patch @@ -0,0 +1,27 @@ +--- a/opt/vivaldi/vivaldi ++++ b/opt/vivaldi/vivaldi +@@ -32,14 +32,14 @@ + # Chromium's FFMpeg version N-89284-gba4dfad is the oldest known working version + # chromium/third_party/ffmpeg/chromium/config/Chromium/linux/x64/libavutil/ffversion.h + if [ -r "$1" ]; then +- if [ `grep -aom1 'FFmpeg version N-[0-9]\+-' "$1" | cut -f2 -d-` -ge "89284" ]; then ++# if [ `grep -aom1 'FFmpeg version N-[0-9]\+-' "$1" | cut -f2 -d-` -ge "89284" ]; then + if [[ -n "$LD_PRELOAD" ]]; then + export LD_PRELOAD="$LD_PRELOAD:$1" + else + export LD_PRELOAD="$1" + fi + export VIVALDI_FFMPEG_FOUND=YES +- fi ++# fi + fi + fi + fi +@@ -54,6 +54,7 @@ + # Check for libs in preferred order. + # Where possible, use other files/directories to confirm it's the correct variant. + VIVALDI_FFMPEG_FOUND=NO ++checkffmpeg '/usr/lib64/chromium/libffmpeg.so' + checkffmpeg '/usr/lib/chromium-browser/libffmpeg.so' '/usr/share/doc/chromium-codecs-ffmpeg-extra' + checkffmpeg "/usr/lib/$DEBARCH/oxide-qt/libffmpeg.so" '/usr/share/doc/oxideqt-codecs-extra' + checkffmpeg '/usr/lib64/chromium-ffmpeg-extra/libffmpeg.so' '/usr/share/doc/packages/chromium-ffmpeg-extra' diff --git a/www-client/vivaldi/vivaldi-1.14.1077.41_p1.ebuild b/www-client/vivaldi/vivaldi-1.14.1077.41_p1.ebuild new file mode 100644 index 000000000000..cddb182a307c --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.14.1077.41_p1.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk vi zh-CN zh-TW +" +inherit chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils + +#VIVALDI_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +RDEPEND=" + >=dev-libs/openssl-1.0.1:0 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/speex + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango[X] +" +QA_PREBUILT="*" +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + iconv -c -t UTF-8 usr/share/applications/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die + mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die + + sed -i \ + -e "s|${VIVALDI_BIN}|${PN}|g" \ + usr/share/applications/${VIVALDI_PN}.desktop \ + usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die + + mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${VIVALDI_BIN} \ + ${VIVALDI_HOME}/libwidevinecdm.so \ + || die + rmdir \ + etc/cron.daily/ \ + etc/ \ + || die + + local c d + for d in 16 22 24 32 48 64 128 256; do + mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die + cp \ + ${VIVALDI_HOME}/product_logo_${d}.png \ + usr/share/icons/hicolor/${d}x${d}/apps/vivaldi.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + epatch "${FILESDIR}"/${PN}-1.14.1072.3_p1-desktop.patch + epatch "${FILESDIR}"/${PN}-1.14.1072.3_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} -- cgit v1.2.3