commit:     e558ce48d3bbc0f9ccef0532704c972c110d88e8
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 12 16:11:39 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Oct 12 16:30:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e558ce48

www-client/vivaldi-snapshot: Version 2.1.1332.4_p1

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

 www-client/vivaldi-snapshot/Manifest               |   4 +
 .../vivaldi-snapshot-2.1.1332.4_p1.ebuild          | 118 +++++++++++++++++++++
 2 files changed, 122 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest 
b/www-client/vivaldi-snapshot/Manifest
index 1a71e505643..c7986cced0c 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.1.1328.4_p2-amd64.deb 59792998 BLAKE2B 
da33109395c87a76a
 DIST vivaldi-snapshot-2.1.1328.4_p2-arm64.deb 51920646 BLAKE2B 
90d01dcecd8d3d876e85bf8e144e78a0e84da27c4b143ec7d0f8758acc7b5a9d760895538811380275430e5344d5fc205a66812eae0ec80d6052ecbe088206f1
 SHA512 
67fcfcec5b73ddb1957fd00e84bb6206f32d25f5507f58d5907a1221cf5649f3a55f7ff0749d250d8ed8a8eb44105f051c0281773bd9605f1584fdf0585de48b
 DIST vivaldi-snapshot-2.1.1328.4_p2-armhf.deb 52678238 BLAKE2B 
82c94e3723cb687ea92391a706c1b1819f2b46dc60b373d4e6d70869c50307b2fbd49b8400b505f2da92181fdf3ed968c7adc3d05341cdc167832474bc77d4fa
 SHA512 
2bc4c19e8fadd5180d38f53ada40b0d0b98c243a3373570ae26d915170c8c56a389e326a5c0485f4014684f7fbbe30b0383e672f7617e95a1b1e34a65d536050
 DIST vivaldi-snapshot-2.1.1328.4_p2-i386.deb 58611190 BLAKE2B 
74491a7ffd3ad4957e30d9277b893a92b3f2b04562721a78d0bf6590d809b4f8f600dec30939b7a73171ef586983db6478d8f5f0a933703b23d9dd5e6de34ed1
 SHA512 
fe7d37d4f014cde812c66f7023430d0214da9dbb96d544a7b24ce8208fe6c485dc0c8f37643594da94e4db785de19f50c0a89de9f6b3544dd042b988494766e6
+DIST vivaldi-snapshot-2.1.1332.4_p1-amd64.deb 58107088 BLAKE2B 
111424cb9de5aaab2281f390cdd4405a2913bc1fe82cb9ac6e5af971c19ce5b39fa1bfebaa094b6146f7fe8fc22fd6013cbe1cbd001bb527fcc9a1d3076e339f
 SHA512 
90e83702871a2ed9af3a00cde90a192b450defe01cdc0e14c6478cf0897724927055ec7d6855b437788d85fff1d891142a174cc35784bfbb5d6eb97e2f1f3ab0
+DIST vivaldi-snapshot-2.1.1332.4_p1-arm64.deb 50357660 BLAKE2B 
47af324087647fa288a265f5e386771895ee78bd905512624255108984190f20396724000ffea3d1917b1df3ebfe5aa996bf9e2f8a22387413aa7a5a2715315a
 SHA512 
06038c1f87a5704ccdd208bf892ca3608d5b096d5d7ffe0f7a56637098c477c73013f49b6584b3567cce00a9eca25e52c88c561e6e65ba930cd046ad94e93727
+DIST vivaldi-snapshot-2.1.1332.4_p1-armhf.deb 51256222 BLAKE2B 
65a39ad25415e4937e8698446f7a97bcc7cce2bb425df7ea88dac42715e1575beeef9b570fc987b1b5419b3146c0510a6df0ad5bff9167fe07cd683f53b20808
 SHA512 
f3c036a73ec3f3a71219b9dab740348467b275c9fc3a0f5c45b44d4e8ee4e7ac9e64084dd7be2283518126e1477688b46a1d6bb3b94e357c689cc74e9b9afa07
+DIST vivaldi-snapshot-2.1.1332.4_p1-i386.deb 56904124 BLAKE2B 
10fec817ec87946b07b2b1cc2b15f4008a1f4a58d1798a518709abe3fcaf51d2067d542524a738871916698e557693739c76c835b44f46ce2aae1da8001fe0da
 SHA512 
3279913022fdcd55d60ac0ad3ec4697f5f0b21f6b7c73c0887fc8ec61daf9970214b310654263ba752c2f18951f341a9cc0f39aeb32864b634e3fd794ceab766

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1332.4_p1.ebuild 
b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1332.4_p1.ebuild
new file mode 100644
index 00000000000..91b5d4fe6ab
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1332.4_p1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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 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+: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
+
+       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
+
+       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
+}

Reply via email to