www-client/vivaldi-snapshot: Version 3.0.1874.11_p1
authorJeroen Roovers <jer@gentoo.org>
Sat, 18 Apr 2020 05:53:58 +0000 (07:53 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sat, 18 Apr 2020 06:00:14 +0000 (08:00 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
www-client/vivaldi-snapshot/Manifest
www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.11_p1.ebuild [new file with mode: 0644]

index 04cfa11e9d6509e2953e6a2fc023f55ff98d4ebe..c8512fc258a8f8427f38e513cb28db60ee363758 100644 (file)
@@ -1,3 +1,7 @@
+DIST vivaldi-snapshot-3.0.1874.11_p1-amd64.deb 68809928 BLAKE2B 9f85f014c81bb984f7deaaaf3fa5401d1c5210991f47d19fbc4e069a445482f8f9514bddcb9642c4f4c89e3d67fb7bab3bbf9a7169980952b22602cfdb477f29 SHA512 74011d3379e1f349e64d0140022a3ea6c69071fd1f36fc5a122be6dab4d5747150d05d872039408fc694eee3f0b39493a0745a5daa62c37e0622a1750d6a1bac
+DIST vivaldi-snapshot-3.0.1874.11_p1-arm64.deb 61888988 BLAKE2B 18cfb5f3d1cd0f0f8ee075838780abe42398cfb09d845c67dbd0b92f6d6478b4e43efd4c1d8e2d10257ef7d50926125f5381f31fb470edeb3eb748c6f286f996 SHA512 0343c2d2a456a8f6837469ad34cafd5d4cd155bb7f9325c6ae1ed6a820d6d614b90542a7c9e4d9b9b73e9878cf72925f7c1393fcc83c59d2567b16d38cb9e1ee
+DIST vivaldi-snapshot-3.0.1874.11_p1-armhf.deb 61227332 BLAKE2B d23c2549316373dabad0595199c0bd39c3d6f79a16e09c58a8061748df0d00aa4c9972a2415d64c3b4fa899ea4aae5665cc3adb585d0f1d6059eb2455c1172a9 SHA512 0665c3e3672ccc8945d30d93429a398550b41911ad13ceab0f20cdc0007de40c47ee27dabadb8acbd3c514bc718762adc42a292bd0dafba3e5f2ca281a52315b
+DIST vivaldi-snapshot-3.0.1874.11_p1-i386.deb 67562668 BLAKE2B d72dfd1de9c910f449a158004164a94c332cce80d5c29ccdd959936c360789e881e87e75c1801b0fef3c181d3408f2838207a5a2c460aa2c2b07de7f3017af66 SHA512 e4c20d029aa295ba846249c3abc0df97fe2639a0e418c534a1d5cac22173c3073dc87284b1b17bf138c230ce3d4b00e84fa656f44312268ed7ac58958a31fd3d
 DIST vivaldi-snapshot-3.0.1874.5_p1-amd64.deb 68674000 BLAKE2B 6ac24c404f10ae7369ad7a6049dc1c88c08e7febef23358ce1a2642e3b2450d1e8f026202e70f7d5252bc03c2b2b2f79fb716dbe94803fff24c468d82c754935 SHA512 19b8c2664b03587a70d07383797f95373392723efba9699636ab989393a1b706a9d3c54e25dff5dfa9c8a559755b3eb56e6acb4232a68768f26ec73df4536b0e
 DIST vivaldi-snapshot-3.0.1874.5_p1-arm64.deb 61689396 BLAKE2B 3d504d916c8d2830ef7b584312f2ccdb178c440418f96f9ae3bcde2d174da5abe1b6376aa252275b400dbde2cbae695a0a7a6234f3682d56cb787424500c77b6 SHA512 715891f48924ee9ce2697e08929a382d195bbe5deec7ab96f739f70dfa171ba634e1a4169cabb92981ea294595ea21ebed3bb1113dd71cb12803089deab11ffa
 DIST vivaldi-snapshot-3.0.1874.5_p1-armhf.deb 61050016 BLAKE2B 465926e910958018acc259f71305d25c0a7a2995b819736b7c225ab29ff2ec9b90685e398bcd148574198f4b8ffd80e162d3c1524f9d7872fde7c3beafde35e8 SHA512 84ae1f1cc0c5125f05b1199d06f12fd74af6a5c9cfdc9611bca8c8cba26a2e455133631bdfa31e516613df0ebd85db236e641addc23d3835038e6b5c0464a560
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.11_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.11_p1.ebuild
new file mode 100644 (file)
index 0000000..db3613b
--- /dev/null
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+       af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu
+       fa fi fil fr fy gd 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} \
+               || 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() {
+       rm -r usr/share/appdata || die
+       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
+}