diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-09-20 19:32:40 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-09-20 19:32:40 +0200 |
commit | b0a3c82b089244e9bfd9e413e4e132d106fe7ab4 (patch) | |
tree | a7eb74e58e83207387f651f004341f936daf994e /www-client | |
parent | 0779086ebdc3c213d519179feea0f951081316fa (diff) | |
download | gentoo-b0a3c82b089244e9bfd9e413e4e132d106fe7ab4.tar.gz gentoo-b0a3c82b089244e9bfd9e413e4e132d106fe7ab4.tar.xz |
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.12.955.36_p1.ebuild | 114 |
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index b8e089d55ca..e3e48111572 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,2 +1,4 @@ DIST vivaldi-1.11.917.43_p1-amd64.deb 50311704 SHA256 d23028c3c1eab1defe2f78137567a72b23760484817b83f51ec9590597112d58 SHA512 d35935b875f03616e33bf7a480d2ef073fbf90be6f56d2814db3f90c9df747b172f2d965e1365201a7115c5503c4340dfbaad51765c588caa1c9dba17c365d6e WHIRLPOOL ace8f20470c58dbda9286d3a0226555d223e1e1f25a58b2e9e15f58cec5ab246551794649845ca87d02e5bbba33a2606cdc90cec5cf4c67f33f167c41440fce8 DIST vivaldi-1.11.917.43_p1-i386.deb 51207232 SHA256 3dbf78c550c1e9633fe87128ef6a57ac7f718c550eff1efc28481588b969e436 SHA512 4c7b8a727a2b0ef2f6a5c59618d935b870e7d27f7a1058282841262f089f0acac80325af85e9ec89b6a9bc5aff3320ca2df61c7f3da51a8cf50fa1cdb20ee61e WHIRLPOOL ac703546d5ea8ceb4538f047e396f2f621372b10e86cbee07995c10ad8e8bcf5c4ff4396d003bb694a77a25309e2ad54cb8c6bf4ed98a477692e7cc71cba5172 +DIST vivaldi-1.12.955.36_p1-amd64.deb 50500430 SHA256 12775223bfd916d8792dfbfa4d5cd5985def263ab6eb9e1ce5de6fec17d9063a SHA512 5344b94fcdd0c30bd0c8ee6862b0e2c4e7cc71f0ff9a221c14d0cb35b40b79053a3d9b4c9c6059b4f7ded26890e7dee25c7c23b8e5869b1b1290bcc45dc1f7eb WHIRLPOOL 0ce6fcb2f99ade1f15cd605f5f642ad17e56f4336e1a1662243ebb20579a6d9d745728c4a74f72cde86a3469434398baf4d34bdf2d2ea5dd216a7119e2575ff7 +DIST vivaldi-1.12.955.36_p1-i386.deb 51560038 SHA256 5f5e378f9911eb61e805a0da3d612c968fdb7ac21470d32e768a54739265de4d SHA512 8b056c1032195348860271553c7e5818cf456c61bd81b9bbb8cab85182232d994898e65660f04d8d6a983f503c4b4dbf55b7478387ac11126ae680e6ba41dca7 WHIRLPOOL 27752dcc1bbfcbdc2085117ef0ed44e715b64e3a095bde42dd5feecf551f4c665fcc99cbdb7e22be48f8b56e762beebefec665bb8fabc2a492c15e91222d2b45 diff --git a/www-client/vivaldi/vivaldi-1.12.955.36_p1.ebuild b/www-client/vivaldi/vivaldi-1.12.955.36_p1.ebuild new file mode 100644 index 00000000000..31012c00e4f --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.12.955.36_p1.ebuild @@ -0,0 +1,114 @@ +# 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" + +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 + + epatch "${FILESDIR}"/${PN}-1.11.917.43_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +} |