diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-04-12 17:11:05 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-04-12 17:19:58 +0200 |
commit | dca6250a01f0bace89ccc902561154bda27eb3a4 (patch) | |
tree | 6069312809b3f6b540fd22f5eb1a9ff44660769a /www-client/vivaldi | |
parent | dev-libs/libressl: version bump to 2.5.3 (diff) | |
download | gentoo-dca6250a01f0bace89ccc902561154bda27eb3a4.tar.gz gentoo-dca6250a01f0bace89ccc902561154bda27eb3a4.tar.bz2 gentoo-dca6250a01f0bace89ccc902561154bda27eb3a4.zip |
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.9.811.13_p1.ebuild | 115 |
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 466e2661da4a..df92bb9f20b1 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,5 @@ DIST vivaldi-1.8.770.56_p1-amd64.deb 46975188 SHA256 a205631571ff98b68e19e8474ed DIST vivaldi-1.8.770.56_p1-i386.deb 47522028 SHA256 d69e5f1ae8566391fcaed30934ff0e592496bd36e6850dd6dc2b178bdfe08088 SHA512 22739a6f9235ce4a6c5132ece5fb819f630511be1007fb6557f35cc1fce9dd6a6289870d626b23dd506bfc57b6d03d372f524e425ad4393f859a78c6903ab050 WHIRLPOOL 3b990b4cea75cc2f799b31ba92722f5b4e331d521b143fee923918a69cb3b343dfd0239a1f5ef309ce9cfcd8c3afe36ea00511e129dd5a2c40fdeb5cec6281d9 DIST vivaldi-1.9.804.3_p1-amd64.deb 48327278 SHA256 069d45a441ce05ef7f27eb486a860d4cbd01535765ccda5c373c824f7615a736 SHA512 394e829a5a86567c97035f2a3f9311d48b9cb325888eceb6bb485b6d920e57cd108b3d4ecdc407f16981c12b2687826e2bb675ef3b76b5049cf711212c5360e8 WHIRLPOOL 029b21541dd7f85d6dcf3254c03c13f402f1e25385a4e8b8e1408657532d053a6803b378a808dad1217b174d255d8ea7f32945f8f9499ce9b25368cd77e5ba41 DIST vivaldi-1.9.804.3_p1-i386.deb 48941644 SHA256 cd9c5a7e08cf7fe19eef8ca2f4eabccd57dcfa9cb9c6d62de961da66e639d9ad SHA512 f367f92dba5c8b429e75b61acd73f8719a69120d386309f902313de0d7d3400cd3a672e33752bcd87f4df12ec25e024a7303879cf19f0452ca595826e2f10b9c WHIRLPOOL df05347e0657f7bd497ecb3775e209169122647922ed9e5761c1c7c49b70072c3b2e430f96808d0a910cf154fca955fe1affd2b3e0359e2ee729205cb35537bf +DIST vivaldi-1.9.811.13_p1-amd64.deb 48864276 SHA256 594a11c4afa4b1b1c8703e06a4f8f575c094f6e41207a68dc8799c19eb2d785a SHA512 8310fb72cbea7f87a22f317cae957348249c0d2cea5fe29fb2ffb9101909b38b09326a867c1489234d34b688528e05627bee0a02b162b619d0ea7becf7b51484 WHIRLPOOL a4ff9db418205c243186ac7f3c086f08858259d51f21163c9da3ef6b48742683b88658b057bd5c7b4bcf5cf7460e9d38629ff50ace3058d23e3f6d4e885a449c +DIST vivaldi-1.9.811.13_p1-i386.deb 49379170 SHA256 70da4aadff78de790b56283a0ce023e297081dc8a97fcd081ccf0fb840840120 SHA512 12087ca044e1dc3e922a82136bcbf985912e1a2fb6a48fc0be1f111c6678a9ad15c545d7797b0dac7fc87dde26e14dd9031199b8d3bbb7f6d036e000801510ac WHIRLPOOL f00912ac9481677dc0ae1a8b0359874139df1543bd0f886813e8af80c4957e7fdc719e9ea55dc315e03d171fe50bdb23ab9c77ee75304a3f77cada7f0d187902 diff --git a/www-client/vivaldi/vivaldi-1.9.811.13_p1.ebuild b/www-client/vivaldi/vivaldi-1.9.811.13_p1.ebuild new file mode 100644 index 000000000000..5d07a6a24a74 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.9.811.13_p1.ebuild @@ -0,0 +1,115 @@ +# 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_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 ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="bindist mirror" + +S=${WORKDIR} + +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/${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 + +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +} |