www-client/vivaldi-snapshot: Version 2.5.1525.36_p1
authorJeroen Roovers <jer@gentoo.org>
Mon, 6 May 2019 16:48:37 +0000 (18:48 +0200)
committerJeroen Roovers <jer@gentoo.org>
Mon, 6 May 2019 16:50:38 +0000 (18:50 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
www-client/vivaldi-snapshot/Manifest
www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.36_p1.ebuild [new file with mode: 0644]

index 87fa2a3c2c7a10f4e5eb798753407c731d2e46ec..8462493a0fdf239608c894d124653527c02d70db 100644 (file)
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.5.1525.34_p1-amd64.deb 60892880 BLAKE2B d28cdaec003228f1
 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.36_p1-amd64.deb 60883460 BLAKE2B f4b53402007f4e04d0394cf4513f190c5549c76093990b3c27584973f02b60a269364da9f5f85ffbc30daadb4cb3991d60cba5130e85b2f35ad718d1bc10ea15 SHA512 551403af2847e19b76f2cdf51d22e1421e59235e68f3950b9517de1b3a50fb375d318bbcb9c5436a99e10ff7947754c8b78c8b995bb0d86a2430eb0c98a76a89
+DIST vivaldi-snapshot-2.5.1525.36_p1-arm64.deb 54968120 BLAKE2B d193b2e6e68190b435e8acc0d667655cd3b96c8c244b4529347dff2cf8243d23b27b4bcef42a080c1cfc24db9b9e66c6d3b6161cd567a8d58bd0547121b4bcce SHA512 15781064f35ed30cc16c3b9398afa73fa9e4ca7d81fba26c14e021d6d207f4fe0a1786b0117ae18f2c04e8d5ca2d6cf0211dbab32e529f2eb882d8b1fd3976ac
+DIST vivaldi-snapshot-2.5.1525.36_p1-armhf.deb 54075184 BLAKE2B a7b8dafc489f11ec66b3e9702ed5f272e2be5a0d8b543a816d2ba938cf432d30ef50f215aa34cd046371ba1f444ec836a976eb34630b6756b2057e694bc33fe4 SHA512 7c294a29c664a4e36d7ac1828a5eee25e28b31db6c48b2b05a353f5a3b055757e903caa661b3cb882ae10962abb54cb85c8a926c74476b3d83fdb5cf251a3bca
+DIST vivaldi-snapshot-2.5.1525.36_p1-i386.deb 59716040 BLAKE2B ffbb6c74a4f52e607e6f1b1ca8d0f3801204be80db09135c23feb103333135d2e87b939f00eded73b47f996a882d7dc56df2e01effc9a93775808e4dd7245732 SHA512 21dc50f3cea1cf2a150546203ab97743b425f10a9df172eb90960140c76b3df6b7811fa033e07e27c7cbf3ec4cbfce8f56431aa49e3b80c68ef713962b6f8383
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.36_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.36_p1.ebuild
new file mode 100644 (file)
index 0000000..76ff637
--- /dev/null
@@ -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
+}