diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-04-03 17:53:09 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-04-03 17:58:00 +0200 |
commit | ada37cf6aa03bbca82bb0c70702cc55beb36d960 (patch) | |
tree | fc83b9c3f6794f11ff0f98502996be764a76401b /www-client | |
parent | www-client/opera-beta: Old (diff) | |
download | gentoo-ada37cf6aa03bbca82bb0c70702cc55beb36d960.tar.gz gentoo-ada37cf6aa03bbca82bb0c70702cc55beb36d960.tar.bz2 gentoo-ada37cf6aa03bbca82bb0c70702cc55beb36d960.zip |
www-client/vivaldi-snapshot: Version 2.5.1504.6_p1
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1504.6_p1.ebuild | 116 |
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 1626219cdd67..79f9aa483d1d 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.5.1503.4_p1-amd64.deb 60477776 BLAKE2B 2092717c7a169037d DIST vivaldi-snapshot-2.5.1503.4_p1-arm64.deb 54269204 BLAKE2B f15443d001c6cf6c4b269b53edf770870fa23ce823da044c3884fbf6643dede3e537ef968d5cb1d79b8141a53cf62e23dec4769b27839abd9d035a59dc75460d SHA512 c29d0f85f5627d12fe684d1d3ba2dd0a6a5680983e695e204204908ed239f17c79b2cc66e398b4f1d67324fa4675b5fe47c5738e23176903bd2034bf0bc35649 DIST vivaldi-snapshot-2.5.1503.4_p1-armhf.deb 53342036 BLAKE2B 59468b2da517f587ebf7c00bc119a4c1e8c229dd07a8106ca8548b8c3c80507c6504216614d95c98cd0b2af1581b1f1c4ddd68535984c02aaa4f85fb88c84f9f SHA512 248bc6f15cc29d288143ac6984eef4b9e3fcbe5697bcfcb1f4a93a6435447fdffb59fa8881e0fe2e6732afc743512cf393297aa92fb752c320fd73fc55d8fcb0 DIST vivaldi-snapshot-2.5.1503.4_p1-i386.deb 58552696 BLAKE2B b85bb60c2488e71486597d49e41018d10ca1e551f57641bb61ba00480cb204ec5027dc5c3a7acdb78e85f4714e946771edc74bc00e54543704725fd99148c88f SHA512 6c0738b923e41e9d126f649fd82af93c2bf2f94989ecd10f50615e1873fc7297a45f45a50df4e22288ffc8ee641e11b792136ab61ee101c2732fc8b85c17b544 +DIST vivaldi-snapshot-2.5.1504.6_p1-amd64.deb 60498032 BLAKE2B f2abb77da8ddfe4a59723039e25fdf3677963bdb0ce5ae286540922fa236ba49bcd4dd8ace594fdf1ac5975b6b35904ba3267c7e40c59df962e9ba24f0185782 SHA512 c6745b41af2263ad88146372f29149869d1e081d29747cbd07bd8264b7f4d1ba5489a742f702ea8089ab74bedcfd0c071467ea66229b57356ec4ccf60c665ce7 +DIST vivaldi-snapshot-2.5.1504.6_p1-arm64.deb 54266256 BLAKE2B d565f5eddeac0dddece97b5567d6fdb6e7206db40b334321f4b3fa0680ca78041046415ea5e4ebb7b2b0f900ba6c8a5d9e9d596d36b840b53cc6ce9fcfa2eb38 SHA512 145451ee2d6e6882d7ecb0e7c7f94dbe57b61e4ddd7f4800e5996803c7c8237aee0b5c7261027c0ec6a971870a3947aa4807999bee73647201fac8cb32b83778 +DIST vivaldi-snapshot-2.5.1504.6_p1-armhf.deb 53345052 BLAKE2B 5c7658494998f05bb582003f26dd8f8c4546f1882cf086ee0559b9f88cba53efb0215933c880d02529d0d4865689ceb4f51068da3bcd4b477b3d51edf010ebdf SHA512 463cde0c91d0bfe0482eb3b4e3ca45203bd4862aa921a4c0bb8140275e6d0fffe755d4a1f30725a015a80925d663cc5e9cb3f0cf731de19e1cdd767f93c8cd7c +DIST vivaldi-snapshot-2.5.1504.6_p1-i386.deb 58557876 BLAKE2B 1f8d82616b111ea69f0179d1ace6a8cb176fbe8a2be9865c0fce5b4d33ed94659bd8eb4cd9c19e9889ada61b49bb85888df502e7a3a48aa9265c7cd05885e6b7 SHA512 1b6da1457e7aa82facef254a7083968bd488a5e9e26f9b4230c334ef3536ca2c2846d5d6d1ff9a950ccaf958284775e04809d3b3d1156ee774eba8f82bb6356a diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1504.6_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1504.6_p1.ebuild new file mode 100644 index 000000000000..61f30aa09661 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1504.6_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +CHROMIUM_LANGS=" + am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi + fil fr fy gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt lv mk ml + mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq sr sv sw ta te th tr uk vi + zh-CN zh-TW +" +inherit chromium-2 multilib unpacker toolchain-funcs xdg-utils + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.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 ~arm64 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + 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+:3 + 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 + + gunzip usr/share/doc/${PF}/changelog.gz || 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 + + eapply_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} |