summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-04-20 10:00:13 +0200
committerJeroen Roovers <jer@gentoo.org>2020-04-20 10:00:55 +0200
commit7dbfc43d9e263a863cd2603cf061b28884a9e788 (patch)
treeb3c0ffef94fa85929d958c9e8ed4958adf5feeff /www-client/vivaldi-snapshot
parentnet-analyzer/sniffit: Version 0.5 (diff)
downloadgentoo-7dbfc43d9e263a863cd2603cf061b28884a9e788.tar.gz
gentoo-7dbfc43d9e263a863cd2603cf061b28884a9e788.tar.bz2
gentoo-7dbfc43d9e263a863cd2603cf061b28884a9e788.zip
www-client/vivaldi-snapshot: Version 3.0.1874.22_p1
Package-Manager: Portage-2.3.99, Repoman-2.3.22 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.0.1874.22_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 285d475ea73e..ce67e829ab14 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-3.0.1874.15_p1-amd64.deb 68811744 BLAKE2B 5ce89c39ddde74db
DIST vivaldi-snapshot-3.0.1874.15_p1-arm64.deb 61893508 BLAKE2B 00316e9614bdb449c2adaad5bf3c09c388f839593f479cdbade002d311811427cde70954ef96164d208fa49ef5b5a717e742c29b049fd7e7dd746b51a3418d1f SHA512 790f9332439123c55ca10fbadb018b19afa1532c9bcc4a16755ddbbc889d10f085b27a36687c2ba73567705430ee61f1e5a1cb25a5da93d331edc6159a1fe6de
DIST vivaldi-snapshot-3.0.1874.15_p1-armhf.deb 61233460 BLAKE2B 0088381292e82482071cd670deca2362356363a456788b917135ba7f294207591212cb4135d2509a8b9ff8446372e099384545016e7b07bcd518d419a2fc2147 SHA512 6969edcc657849b5c940681128bc4bb62c44ce97a897246809362fa18076652f57c6c7e39dca74980111b2b207b8497fecacd3dd850303e923668cff437d1712
DIST vivaldi-snapshot-3.0.1874.15_p1-i386.deb 67555904 BLAKE2B 24774eadb2895defff3be2138312b0429a421f6355bebecf3c770a8f936d33beffb98836c1f54bfe67dfb491725eec69e5f9040f1ffc75d0a16ee89b424ce61b SHA512 974e4e3dfd45cf2a8dc031c2f89b5ab60b16ec9e073d7caa3eab78d745f0640e31be45f6578db52101eb5e8a0d54eebd3b44e0a8be229f38aa55fe3cb89442b1
+DIST vivaldi-snapshot-3.0.1874.22_p1-amd64.deb 68848344 BLAKE2B efdd6e25da3c8e935afc3e5df77eca843e4ce287757b8765d2ee7e33a7d33c38a2526a5fa4ea97273f9f1f7a474f24412bd64034feaf81103b6a612c63b2bb8d SHA512 9ee868de99ee0ac3ebb049ffac572ee7e31cce9e714597a4bb5eb6eec0395914699de5be3885b00541ec16ffc828c4b9a2de541cea3849a92c1caeb534b7115f
+DIST vivaldi-snapshot-3.0.1874.22_p1-arm64.deb 61884672 BLAKE2B 5223575ece512270b9def8b11eac6a04e20025691e04cf1c62d3526cc08658afc1ff9bde8d7cd6a411fd53d7fa91207c6135004e5c2f3c450764167d446b7839 SHA512 8bc1cb87b947bd870e4a5fd776e1d9509819228312744992c4eca4fa10c4ee227e81db9c789aaf600df1940198d177b5712c426ff3adc37ed4e14f6efda9aef5
+DIST vivaldi-snapshot-3.0.1874.22_p1-armhf.deb 61240324 BLAKE2B c8c6d1ad9a261811877dba0edd4493218bf8f4e3753665299f782a3b9b2b67429ce0d53a3551eebc2a40149ffebffbb0bbaaa179ab01124a98b77311f600cefc SHA512 877e7ba08b0c772925fa13a5a65845cb9b8cc24e2779713dfde2e3bb2a7b4d2d532a72db20757e1438169372005b01b3694d8e2a0763214e77f9c1f19bc8e37c
+DIST vivaldi-snapshot-3.0.1874.22_p1-i386.deb 67552812 BLAKE2B ae5efd07b953e6b1a0321aa3ad1db5cda81a3513421ee1b05e06c07073c6ee412ce8a846337f51e897290efe241dab1ac6a511516083c74c9270d164e6076310 SHA512 ca69f7807b7d3f47a038dee3b93f3853b4b3683834a53caa7700149232a8734ff6e2dfe5ac070c7bdd931b288cb2595e3efdc9ac3ba0e448a455cba2ac1aa644
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.22_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.22_p1.ebuild
new file mode 100644
index 000000000000..db3613b057e7
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.22_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
+}