commit:     35f3bb36c3c9eaee39f101ae8b6ff29d8f05bf00
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri May  3 11:47:55 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri May  3 12:03:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f3bb36

www-client/vivaldi-snapshot: Version 2.5.1525.34_p1

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 www-client/vivaldi-snapshot/Manifest               |   4 +
 .../vivaldi-snapshot-2.5.1525.34_p1.ebuild         | 116 +++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest 
b/www-client/vivaldi-snapshot/Manifest
index 1f0e9c7c673..b627e9d1b16 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,6 +2,10 @@ DIST vivaldi-snapshot-2.5.1525.30_p1-amd64.deb 60899748 
BLAKE2B e88c9cdd4bebbecf
 DIST vivaldi-snapshot-2.5.1525.30_p1-arm64.deb 54961128 BLAKE2B 
3709d785837cc3e3dae04f00cbb0828f46ce241579c0ccc6c0249e197690b8f731879675ddaa3a11af81aa46e9381e138734f51cc0e5ae1bc8430e1f020a87b6
 SHA512 
9723dfa4e64505422acf3b8c48db3bee2e5d935f96f92e3f592160c270f3860a24085bcd8c874145477f8bb960ee21fa216655fd932a2797621866a275c4732c
 DIST vivaldi-snapshot-2.5.1525.30_p1-armhf.deb 54077984 BLAKE2B 
3a73be14c2e14258e87455283ac446c8ee3fb92328fceca232f5265510eddf2c917fd9f2b06b3aaafabb701a184a4b086ab648c27c4f728ee83a94dcf1178e3d
 SHA512 
e72d37cc330b36c8adb8697cad7cbf4f1efdfff788f03f372db26708b0fc505d5a3405c0b16e12567a6af7e4fb1b7ca77e9f68c2f96d29d13a892b006f57c869
 DIST vivaldi-snapshot-2.5.1525.30_p1-i386.deb 59714368 BLAKE2B 
71568d1e0a682e6f0eac8bac479d0545029dbc1df58d7ece41f5c8677ef9adc46ce43121e62f934d3dc483747435c93d7adfe6fa52a30aca00d8d94b7f9a1d03
 SHA512 
a1e540b0a383996f544af65c9ad38d93a702810a3ca6fb1cdb74ad3771d312d64f75b75ea913c17a9f43ef4f65c40132698c9f4560aa1153daf4a38edff07377
+DIST vivaldi-snapshot-2.5.1525.34_p1-amd64.deb 60892880 BLAKE2B 
d28cdaec003228f1cae200ee17a2b5842fde8051e439ef407e3acbfd09acf9189a08d4db83ce7218c11d13ad085b7773fa099d8f2fb308f825e04f70360cbe86
 SHA512 
d1dcf36754927161c5994a739a1862e77611fecaf1469fa3d7e4203295543e42aa1b1d0c4adffad4e26589f5532264de3c6e2b2819c19dfddafcd3cc5d2eff3f
+DIST vivaldi-snapshot-2.5.1525.34_p1-arm64.deb 54963764 BLAKE2B 
90db5403e9f48ac5ac0762b1c03797a46bec0e38278b49d30c5f00abdab2be0543b260823366adbc3d70283187e0b9d7cf37cb7d7fd557aef34770add4fa5ded
 SHA512 
42bd2435cf0162dad2256df85e7fe3782e675f66934a34658db8994c627d857f037d70f210198695868571b5e56159ff516cdaca257fc2f55172393ab06e4646
+DIST vivaldi-snapshot-2.5.1525.34_p1-armhf.deb 54102516 BLAKE2B 
d4d3b8d8989805e69882bb1e682943996108d3e6a7d5d6fc6dd6067ee5d42a4e91259e11f0221a36e8b5d6034b360bf723a4ccee55ad8de2ef8008fa647f2179
 SHA512 
0e37251f010acd374b2e51dd5ddc44c6791ab18e8bc90e924002ebd18ecb0c075b241e99d357b9fe33f5a57caff9ac2fa79a431c1133e32faa3a00bbf15f8b4d
+DIST vivaldi-snapshot-2.5.1525.34_p1-i386.deb 59719540 BLAKE2B 
ae683a1e77c53807b804957501e05b46b12af21870c0d0edf0285c0222757f10f6f79286cc710b0a269faae60f728b111d5d6a302828f6472d24ba747efa7fd5
 SHA512 
3b79882cf035f3a583357d6b646830f001e047beb4626ba2ded4d93f5617b2beb5a4160defab1cca1a8c9311573f0582a460c868cdc122ffe08fec553e1c6e6f
 DIST vivaldi-snapshot-2.5.1525.4_p1-amd64.deb 60880012 BLAKE2B 
5d99ea36931a2558ca5a3bb9b325d819e54c1f77e269772f0fa030fb4df1ea517c16e7d9c4388402f59570a8a41ad5a5a036d59046f7f0010522ef2bd29519db
 SHA512 
403670efb317a477a0220cec9d23e8c6c171ce8e203c23f562253a556f778a97295b4a1174c53ae3ab8ef25e82e9b1e549880b220f155bdd35d6207fcba4184d
 DIST vivaldi-snapshot-2.5.1525.4_p1-arm64.deb 54946944 BLAKE2B 
9af3e6c59cd04cc68a02e94c9292c129edd2647abd07e8365af4b4367803188c7b212dfcd9a787c1188915e67614bde87d52b6f868df6b130019e5668f36feb8
 SHA512 
820c37189f89c6100b1b8e44611eda32c567e6f401ccb79dee4e10752df8a0999ce1606302f4701502055ce8f7926e82508f4c03b6063744d7d8e7dfd751b6f2
 DIST vivaldi-snapshot-2.5.1525.4_p1-armhf.deb 54084044 BLAKE2B 
69bb8fa89431b51fea31aeb421e50c774500738cf429413f8f49c4ab33e3539fd5a3e5e0ed80adf473a9be4651b663d95f9ede702e977c63126545e93fb04b08
 SHA512 
96b8de594e0c9f9223a8f3fbebd221bfa7247c09522faa24a3ebafdda761be4f4c08a29ba501ca812def38438b9384da209be2fcaa28fab967d94dfca06d5a5f

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.34_p1.ebuild 
b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.34_p1.ebuild
new file mode 100644
index 00000000000..76ff637ebaa
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.34_p1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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
+}

Reply via email to