summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-14 13:07:41 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-14 13:07:58 +0200
commit6ce99a45a80bcf1330c0029faecbe966711e45ff (patch)
treed36aba5ca071dd90eae726e42d5481dc71bc5330
parentprofiles: mask dev-tex/crosstex for removal (diff)
downloadgentoo-6ce99a45a80bcf1330c0029faecbe966711e45ff.tar.gz
gentoo-6ce99a45a80bcf1330c0029faecbe966711e45ff.tar.bz2
gentoo-6ce99a45a80bcf1330c0029faecbe966711e45ff.zip
www-client/vivaldi-snapshot: Version 3.3.2009.3_p1
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2009.3_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index e942e19c1a6..cc0f4f8fc1e 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-3.3.2001.3_p1-amd64.deb 71962452 BLAKE2B 74d636f5d5549d971
DIST vivaldi-snapshot-3.3.2001.3_p1-arm64.deb 64231616 BLAKE2B 39fb5fd842b8e5c0ea73f469cadc6131aca650075947e2b42022a88cf097486fbb15c39795a46e41ce0b5194c1db896ac24cecd4a391bd3a0f65fb1a86ebcabf SHA512 3c11134ff1ca9f9c1f934f10de592ad17835c48a77af30d70c24d59b53cd062c81efb7fd18cfc9b1ff7e067d6a1792909383e6f5d1f24be21a4abed74df6b2c2
DIST vivaldi-snapshot-3.3.2001.3_p1-armhf.deb 63742308 BLAKE2B 8d152dd3c179055a01ae5d918913957371a6d08d8ab250d22768ebc6627873c74655a4fab0165517df3e452b7b02d1e6e44385817e57473644886e1a445b0660 SHA512 a7dab4002bc4f46dde263e08339a06ba516a45f36eb32722c8f77964496d123f6a72a5aedf9fb4aa6b08d01f7002bfd44f519df33e730012660f11148d8feb68
DIST vivaldi-snapshot-3.3.2001.3_p1-i386.deb 70252588 BLAKE2B 10a29b4160b6be5021aa3dc8b3a36d765430a16fcf1f6fa689649099babe63bb73bdc22bb47b31e9e924b1041d338b432be54abab473f95a62cc4a2d0b3ed1cd SHA512 e414efd78ca4028c21d1d6c230b6433ffd0ec8501c6e422fdd7ed3a9dbcc1fbc4e28921fa77d10612eaaf92a18de8043dc25e0cb5dcac387782bc3e3b928ad95
+DIST vivaldi-snapshot-3.3.2009.3_p1-amd64.deb 72494348 BLAKE2B 932b4f910bab16c643c7b90d0f52515c11ce67598c9bc4475a67efd2c44520716689ecbc5b51c34e598115e50721913ffe9b8927acb5e53db3bbfa67989700f1 SHA512 61ea657e1ac38c3a2baa3fb8bf71734d46558a49881941367a2867a69600ecc960eea6cedec5b4c5935ad1d577eb36e828a72d9303ad122630f1307b19bd766a
+DIST vivaldi-snapshot-3.3.2009.3_p1-arm64.deb 64823756 BLAKE2B b526092c420f0c1f619889249cac6bef60e0800e66bd90732ec7761244a6b998438ba0d45cc39240c132df9e163cf5a54290d264bbff67355f16ff152a514eaa SHA512 f30eb8f920e33c613bfcb5059df5ac9e99964c211a6455328c4000e8e589042019635a8932e7cc3c6190a1dffef905243dc75aae102e83ec9f5c4489712e5ca9
+DIST vivaldi-snapshot-3.3.2009.3_p1-armhf.deb 64277012 BLAKE2B 44233db3675fde9ae2e6d4b5917cbe8eb6d2f06775e87503583cd536a6d02eeae0b8a584d33594189e27bcd9f60803d8268dd01ff0674afb75d307a1e4e8ff87 SHA512 f53a4f0750ae382c45f5eb972b125c2d5071400ce6bc64156e450a9b125d2580c8c9c059cf43bb3106ef44bdac2e4bed986bf1b3874d969880c02341377b25a4
+DIST vivaldi-snapshot-3.3.2009.3_p1-i386.deb 70782452 BLAKE2B 066131cc9bf487a97b168c919a8ba824bb15ce791cfb0f8c0a084f10e5bf4abfd7639e1b37c715c5505c8cd48705d81d601f41b69446746da76b7532263060f7 SHA512 0128bfbe99450220ab0fd53c46bee8f77f085d43fb17ed6e0ef7310b53346f3cea2ad1ec0da431c8a48d299c8fabca11ee3ad17f9bf86e1fe6ee1349f6e29951
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2009.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2009.3_p1.ebuild
new file mode 100644
index 00000000000..db3613b057e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2009.3_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
+}