diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-03-16 09:39:02 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-03-16 11:14:23 +0100 |
commit | fa9e997740c8088c8ea14923040a22953a69606a (patch) | |
tree | 264e5802660cdcaafaa2c5bd2b343648b4e31aef | |
parent | www-client/opera-beta: Version 52.0.2871.20. (diff) | |
download | gentoo-fa9e997740c8088c8ea14923040a22953a69606a.tar.gz gentoo-fa9e997740c8088c8ea14923040a22953a69606a.tar.bz2 gentoo-fa9e997740c8088c8ea14923040a22953a69606a.zip |
www-client/vivaldi-snapshot: Version 1.15.1125.3_p1.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1125.3_p1.ebuild | 119 |
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 8396246d6a21..4e802e151da9 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1104.3_p1-i386.deb 53092768 BLAKE2B 1675a34bcdd1ab5c4 DIST vivaldi-snapshot-1.15.1111.3_p1-amd64.deb 53551928 BLAKE2B aab84cc405c2d79b9aae8008b4a7fe1bcb0016edfeb4ea69aca2e418e9923e347f77f891c86e5f6f009d5723506015560d779279570aec19ead8fd38d76558f2 SHA512 c439687c0f49fe8cbc412ef6a68de2996fea7dbb68c49ef71cb9593c00a7517ceab6484226556df232942e608f92c76475f282a92cbc2aca6e03a54e59af425c DIST vivaldi-snapshot-1.15.1111.3_p1-armhf.deb 47359170 BLAKE2B 191c96c73bb81b1770bf4cb537cadd551f7d4ba25b2c51e0a49e6e6f579ecc1408eb52482523e2178570ee296f7e8c661bc502b65f578614924fd26139279777 SHA512 ddbfdddafa2a62feaed7d1550a4d9794bb5e1f411219cc08e1508b1843c602da28cb97c4550bd97cf61444eaac7edc43db26c5a7f9ccca2824e277a9fb25e905 DIST vivaldi-snapshot-1.15.1111.3_p1-i386.deb 53107268 BLAKE2B 30917a72703010d4709375d12399fa465172c87572ce01b160f86bf533f8d5cae6375524a34f6ca7e6996853cc213ac0448da1056a43f07cc58bdfc8861db707 SHA512 c07621fd73a3b785700083f060ea2183c14607b2afa13351f10414c215300ea716b29b90b676b6fa809b56ea0430d70f3f571a7a788a353de6d15ddb8f1b8b49 +DIST vivaldi-snapshot-1.15.1125.3_p1-amd64.deb 53845610 BLAKE2B 01433366fdc99d634f4006ae1ab9360c2ca9b83dfba5198290c425ffc9e1d4946fca996669ada36a44e4bb6100b895a448fd30319952fb8b8ee3894b905af814 SHA512 46b7a6e69b68d5116bd07a7c4820860b5a03efb545adedd575f44615a1c5c740350cb6dde11d10e9133fc1930b43fd17428de7b70668351935893e78630ecf86 +DIST vivaldi-snapshot-1.15.1125.3_p1-armhf.deb 47676456 BLAKE2B 0ab3d4d629f2512eeb43b143f5e901c2c6e9099457efc99fc75786c3c6449475185801fe30d69bed6cd5de76b66240d276a6d13de109e177b7f481ab138d1e2d SHA512 73b94b924b95fef079c3ea1ae88fd10fc30ca1fea537c56f25fac15c83a67aa4a1ae68d1007b7b1e236869db52e7445121965728e83a0ccfb5bf881720a9b94d +DIST vivaldi-snapshot-1.15.1125.3_p1-i386.deb 53499074 BLAKE2B f56fa05afd67e8fc07366dec84a1eaec6149eea2eb88fa7b0c324587d4b4cf5fc601427d0659a90dde4e4609903645d2e939fc4ab0bf748f58b844097e1f048b SHA512 57bbf40b27a05a84dad3f4c34847e936b5076093445ba2c5df0f1d84e710e029a8433d372b2557ebf5d9b1169ccdcd4b0d4d2f063d533b9dc6a08e68c158f9c3 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1125.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1125.3_p1.ebuild new file mode 100644 index 000000000000..ee9ad44cb619 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1125.3_p1.ebuild @@ -0,0 +1,119 @@ +# 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_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 ) + 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/${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.14.1072.3_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-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 +} |