diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-25 16:15:26 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-25 16:15:26 +0200 |
commit | afe7d9e1071aefca8693cc5bd500f2c998623499 (patch) | |
tree | 65da4046e9ae56ddc0ea8359be536527161902e2 /www-client/vivaldi-snapshot | |
parent | www-client/vivaldi: Old. (diff) | |
download | gentoo-afe7d9e1071aefca8693cc5bd500f2c998623499.tar.gz gentoo-afe7d9e1071aefca8693cc5bd500f2c998623499.tar.bz2 gentoo-afe7d9e1071aefca8693cc5bd500f2c998623499.zip |
www-client/vivaldi-snapshot: Version bump.
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'www-client/vivaldi-snapshot')
3 files changed, 133 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index acba6c727f1d..b3da3b7cf26d 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.13.966.3_p1-amd64.deb 53410782 SHA256 a7a20c765d9a5ea223 DIST vivaldi-snapshot-1.13.966.3_p1-i386.deb 54706528 SHA256 3d132d1f2428ba816d2b93764205b2772f1fa84f2dac71cfbd60794121b1898b SHA512 373006f4b93e4f5bcd32bdd55ec97844a5eb1569a5177f541ffc572b4c7298e80e5479baf0ba5a5c2ed516beb27d68be5d092aab741e06e62b5e38b219f30d7b WHIRLPOOL c53f769b38448f5ecfce26167eaab82afdc73688e184f7dbd6f2c7b546e6f055946c5b54e21355e78fe536621898d40683f8e477b81877c1cc471763dbcf80f7 DIST vivaldi-snapshot-1.13.971.8_p1-amd64.deb 53403290 SHA256 1ee7306a6f6c02e1b66a4d36671bbfaf63a4119980e988a8ec67b54963d83e32 SHA512 884548741be907c6c3eaaabccb2d87440cbc07da886e0fdd7197fcd8e17ef7e59a977a6ead35ce5ffa1743bb038ea48a54af727d7cdf1b6ccf1974a2094e87ff WHIRLPOOL c4cfbd05a5123b402855a89d3e1016fc5d2f5abf91e3fe20e68e7b8d306d59e80c0e3c4ad1aa639b113bfe37d165f81eb56bce9241fe7e6e27c6de139e615e0e DIST vivaldi-snapshot-1.13.971.8_p1-i386.deb 54726014 SHA256 a6e5a8274881a4f53f5e528bc0d832566611eca15f2fba0d10f3307c905e5629 SHA512 a6d4f14c34e2ebfda6db6c47d8db76acf64a7a7f21da95debe4aff01eeeef856a3c353f4c9a4f4658d5a39ffe64f715ab3eace9b614f8fa13a33ff04b7886305 WHIRLPOOL b7c2b769a98b7c4eb42db61f571b3224731d5720ecbfeea666d86b2c6ee3c28f84d96cf9512412ce82497ed95e8f68b094ba729aecb4524fd1a83a82929ce48d +DIST vivaldi-snapshot-1.13.997.3_p1-amd64.deb 50485472 SHA256 81b132dfda7f82374a631cf81ec63a8f8c5f5b59c1af871d02ecff25c805ea89 SHA512 d88cac768f34788b8c3b6550bfe03ad64557e731af57b85a144f6c4622d256749f0498dac2d73c689890c8d5fe76c66efe0963813481d2a593b9ffcbfea7a966 WHIRLPOOL a9fa9cc3690f0943b42030f95f7cd3ddf1682aa9ea3160bef967619d30f2475e6b0ea48ff397a622d29f2a6bc04baf0357089a51212952342481be8503a98272 +DIST vivaldi-snapshot-1.13.997.3_p1-i386.deb 50953694 SHA256 d1f3a38651cef629c6aa77fc8d401593ed4915b6fd68a6177f25ff8a8fd8db45 SHA512 016fbe2bbf007a12417a14200c7136f0fbf887a74d76b2c6e34603da44f42bbc84a9a981cb8652e5c2c504080e0e4330fdf8a8a8886ef93a1ecdb73bc48ebb79 WHIRLPOOL 5c4212551fe57fa118fd7814cd3ecedcd685846d891860279c8fb8bcbad1d40604b37e26bbf56c118fffbbc3304749003aa48f04199125d200c5b61dac35a075 diff --git a/www-client/vivaldi-snapshot/files/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch b/www-client/vivaldi-snapshot/files/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch new file mode 100644 index 000000000000..729d76f9af69 --- /dev/null +++ b/www-client/vivaldi-snapshot/files/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch @@ -0,0 +1,26 @@ +--- a/opt/vivaldi-snapshot/vivaldi-snapshot ++++ b/opt/vivaldi-snapshot/vivaldi-snapshot +@@ -32,14 +32,14 @@ + # Chromium's FFMpeg version N-82746-g6bb7ea7 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 "82746" ]; then ++# if [ `grep -aom1 'FFmpeg version N-[0-9]\+-' "$1" | cut -f2 -d-` -ge "82746" ]; 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 + # 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' + diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.997.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.997.3_p1.ebuild new file mode 100644 index 000000000000..53dd25845f8d --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.997.3_p1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2017 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 multilib unpacker toolchain-funcs + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + 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/${PN}.desktop > "${T}"/${PN}.desktop || die + mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die + + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN} \ + ${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/${PN}.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + epatch "${FILESDIR}"/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} |