summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-25 14:38:29 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-25 14:39:05 +0200
commit31429b315298ee6f9c1c1be9735e88c6211dc4f5 (patch)
treea921860e13bca8bddbdc629c2ce510a74b33a8aa /www-client/vivaldi-snapshot
parentmedia-libs/x265: migrate to git (diff)
downloadgentoo-31429b315298ee6f9c1c1be9735e88c6211dc4f5.tar.gz
gentoo-31429b315298ee6f9c1c1be9735e88c6211dc4f5.tar.bz2
gentoo-31429b315298ee6f9c1c1be9735e88c6211dc4f5.zip
www-client/vivaldi-snapshot: Version 3.3.2020.3_p1
Package-Manager: Portage-3.0.4, Repoman-3.0.1 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.3.2020.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 cc0f4f8fc1ef..52277faa01e5 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-3.3.2009.3_p1-amd64.deb 72494348 BLAKE2B 932b4f910bab16c64
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
+DIST vivaldi-snapshot-3.3.2020.3_p1-amd64.deb 72493644 BLAKE2B a2373803271f7b081254be1deb4e1d7fab884501fce54b8c41383d95aea7508725fdd12cf081ca1051e5dc17149afaf75a86d3693c75339e20e36f4bed0cda3b SHA512 c3bcac4f4bf98cbb041362082dd239b390459165ab3b565994bcd2d8a162feed26212cd5cfbc7d2d702837de872ef59bd7e903d81fba833e5784b716473e8a13
+DIST vivaldi-snapshot-3.3.2020.3_p1-arm64.deb 65239632 BLAKE2B 71b54b22ef38fc649b892fc112c51419368720709cf7b2c0f80a328b513bea3875633e80a8998be8d4cbe5ba03b26a0d9a65007d3c0e8b757f86c080332f0bc6 SHA512 fdc8e2203888e37fcc9bfe3f0a81080290c4b689cff8c8a269d1633cb1720b852e95bd7b171c05a3e9fca37668a9b6df5707dee53e04c3703aeaa1f56c080520
+DIST vivaldi-snapshot-3.3.2020.3_p1-armhf.deb 64269308 BLAKE2B f01d93649d0b24338e993d0617da694316d46b8d0989aeaadc2fc33a57813cc3aacbb6ec50d772b4bb63c20e161103c7295b06cf34ef6dbf8e7ccad3c6b1e7ce SHA512 4bc8e0004ff1b78c1fb669e4b4c4a409f810a9f33e2ae788522be126fb4d6572141267041d5166a6f807db9da6e722b6fa2745fbcdd80f53612c6f016fc4c6e3
+DIST vivaldi-snapshot-3.3.2020.3_p1-i386.deb 70775604 BLAKE2B d039e8131440ab96e39c16168f52b542196b405cdc8a387c553ab129d073fde18e1926c77ea7ece9a7782eade12562b8509105d8a5a2712ef2e3da9934be646b SHA512 ce3e78a7a6955e15dcd1cad63235584242259f75c35b58d85c9f85e4f2c3b540fda7a201b646c09576c814045a507cf6544dd36cfe62f57e3068efbe1379e30b
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2020.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2020.3_p1.ebuild
new file mode 100644
index 000000000000..db3613b057e7
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2020.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
+}