summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-30 09:53:59 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-30 09:54:30 +0200
commit6d62cd4aedfec31bb3b142d7c02daf99c21b39f8 (patch)
treebf619faf3717fd86f8c9da4fa5bcce267be7a68c /www-client/vivaldi-snapshot
parentnet-libs/nodejs: Version 14.7.0 (diff)
downloadgentoo-6d62cd4aedfec31bb3b142d7c02daf99c21b39f8.tar.gz
gentoo-6d62cd4aedfec31bb3b142d7c02daf99c21b39f8.tar.bz2
gentoo-6d62cd4aedfec31bb3b142d7c02daf99c21b39f8.zip
www-client/vivaldi-snapshot: Version 3.2.1967.38_p1
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1967.38_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 60deff131aa4..cb4d07235a79 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -14,3 +14,7 @@ DIST vivaldi-snapshot-3.2.1967.30_p1-amd64.deb 71938984 BLAKE2B 6d3173705f830e2e
DIST vivaldi-snapshot-3.2.1967.30_p1-arm64.deb 63587012 BLAKE2B a39bf778a7fd27207dae2f87091c1fa268a45d63c49e9a4781c9f0e6d6082bdd567f583babeed9bb6e8d98dfa6cca761bd9af231d9f32be6bc443919e8fc02e9 SHA512 cb2b2e45c76992ecb9a57770326e838197c620aa75cc2c992500cb2597ea5487fd6826e33921e12b6e0d08664a3d129021ae17654b6dc4c5b9c659519af0271d
DIST vivaldi-snapshot-3.2.1967.30_p1-armhf.deb 63684944 BLAKE2B eec34c52c5eddecc1b0ecea6d6ecb47292e54e21fcabef09b1a8af932780a7646720f33e2deb335da9a3d478caf693b6d7840ac44361ebd84e40eb5c1104b7d5 SHA512 44be49e42a559561b5bb0c67fd6625fed820abd0eb478ce9628760f3cc9cbc606e4afacece70e36d6ebe16271f1cba19baacf094309d5329dbc3eb6d5381437f
DIST vivaldi-snapshot-3.2.1967.30_p1-i386.deb 70214676 BLAKE2B e9272c196959327a35c797f36f501cfa850e4a236fb08f8b41ac8f2d4dcf187579a3f2ef1bba77c0cee5416dadf42d6149d5e58a427cb7de7542e27aed01d924 SHA512 b7b7048bb5c3fbe96fc629bbcb48f67150feb4db126001954f6ecd3a29f94ef4e7cb3756cec1dda14ba5b240f31611843d703410ff371cb508217142258b68b7
+DIST vivaldi-snapshot-3.2.1967.38_p1-amd64.deb 71916700 BLAKE2B c29f79976f396679b5fc84898800538d76e9cc63fb80e56c67605ff0ad5aa3e311b8926a4f5f3c275ae8d336a0307f6786e7e1007a2fc83434563934540ce6cd SHA512 bd7f3252866e0c60353360f696a8fd1c029205768a57713965dc3b0ba8e8dd16352a05e25ba2abb9f6663353901e9114271449f89e1e02420966717ecebeb968
+DIST vivaldi-snapshot-3.2.1967.38_p1-arm64.deb 64180484 BLAKE2B 6524de9521cede23f29c7f6bc775d665910ae9cf8fa4a91244edfdbb6b3ffb28768230956537cd6dafb8685f5f3591ea02714623591e468ebd0baf063c15855a SHA512 ec339278da008e9a991b7a8258aea9b294cb6c3a6cd516a4824caed072227534c9e87235a2537cfbe3fabd0f7a4707fe1ac88861cb6782a0a477b8c1435051bf
+DIST vivaldi-snapshot-3.2.1967.38_p1-armhf.deb 63694208 BLAKE2B cdaa3463ea0f7b12e02cfb9117c40d034146af6334b7ee911f70f941d84b3a790b6635cfe966e5aac0520fea83b38e514f89bc1a910232965697813f0eb032f6 SHA512 2b4e7c9836550f025475e95c86816ede861c0f5a8461c3f7a15cec01cf992dba97f9eb6744ebac42bcaf00871e6011a87617f6adbf98f21a22a9c5f8d82a7c7b
+DIST vivaldi-snapshot-3.2.1967.38_p1-i386.deb 70215624 BLAKE2B 21deebd151901d6ccd0a7183bc10576379c0ed1cb610d381713052cd78c8d1c136cd72c02e75eb42b174aeb7acd9640abe3a8f2fbbceada948ae1ca69ee24684 SHA512 c0fccac614d5ab1ca42706ffeb1957d071aea879f359a6091139792c391f4c26ab93f3749d95d4abf03c04bebadf5e191c52d29668f01e5587e5077edbc582da
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1967.38_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1967.38_p1.ebuild
new file mode 100644
index 000000000000..db3613b057e7
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1967.38_p1.ebuild
@@ -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
+}