summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-01-08 16:52:14 +0100
committerJeroen Roovers <jer@gentoo.org>2019-01-08 16:54:35 +0100
commit4a86c262c0cbc314f3703a19aa50ea470edd42f7 (patch)
tree740f261596f125edf99f1e84a8caca80abe56545 /www-client/vivaldi-snapshot
parentx11-misc/xpad: Old (diff)
downloadgentoo-4a86c262c0cbc314f3703a19aa50ea470edd42f7.tar.gz
gentoo-4a86c262c0cbc314f3703a19aa50ea470edd42f7.tar.bz2
gentoo-4a86c262c0cbc314f3703a19aa50ea470edd42f7.zip
www-client/vivaldi-snapshot: Version 2.3.1420.4_p1
Package-Manager: Portage-2.3.53, Repoman-2.3.12 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-2.3.1420.4_p1.ebuild119
2 files changed, 123 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 5b8f9e06a2d0..606e2039a2fb 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.3.1401.7_p1-amd64.deb 59257968 BLAKE2B 68b88dbb6429a2ac3
DIST vivaldi-snapshot-2.3.1401.7_p1-arm64.deb 51056662 BLAKE2B 7f0482296794f47a4ae313d584cddc5e354ce924be5b5003f6c6675030174b6748289e64ae15565065195ec5d40c92ef6ba7e605bf265e52a795df529ccfc4d3 SHA512 9003455db6f53a49ce22dbd2333a1cc63f4a0bf6f5f905ebf701c90d1a082b9ec9a88d3deb96895c90d2a4c859b1c7e80bf8a3b832e49a1b511f5381e606fc95
DIST vivaldi-snapshot-2.3.1401.7_p1-armhf.deb 51876552 BLAKE2B dfbd0f5dbfeada178b139852db99f92b990e65de80e2a1b87ace3bc512604e53d35cb8d433fd8feeff5af92c0b7e137491aa1a7fc191b777c0097339514c1784 SHA512 cd1b451f32b9a7ecb1bb9d95b1a6fa42ba8f041ee76799e69d6a1d2751ff76cacc6a2bee57fb5027dab5ccea0f4e3096f4a04c1f0edf4d7038aa7b91ff9e0094
DIST vivaldi-snapshot-2.3.1401.7_p1-i386.deb 58125218 BLAKE2B 329cf66570385f844570d21f32bbbdf81cd650fdc23a17034ee9fa054a7086b91d86ffb9354b669cf58c39d19248a4f1cefe5caa6ff54a1c7a0e6c4b919d5035 SHA512 247621ccd9aa26d48c5df8660c9b5f0398646e9182b5a2f12668493246284a428e35b3efc5ab47e06b5d7e446d45868b929c45334b0cb09a3923693abbc78e04
+DIST vivaldi-snapshot-2.3.1420.4_p1-amd64.deb 59807180 BLAKE2B ae908e23686a6c949e3313a48fbe5dd24508118724f9ec5f7e7ddedf03cc410b7f726d55e716e575303d7b1c01ca6d20c7aeceeaf01edaf05d2c8969b2db9826 SHA512 61709fccab0ca8f94d41ab91e092e5a27417d50482bced77c2e7cd18148851590c514d886db185dd185eb0d7111702f8abd959ffbc832f2c694d39c18424910e
+DIST vivaldi-snapshot-2.3.1420.4_p1-arm64.deb 54573736 BLAKE2B 6020c6941acb0a21f090d03bb8357897addc39872a83d27fc375baddeb29602939bb7ea28fb67a32fc0aff166341db5dea7a31f946f102a5f6d8035f7ec56f44 SHA512 3f42a13396d68cb129e3f55c55e0e89942fc664c920859a2072ecbf0fb4aef142cdd7664f28024ca3c4872797b4ff028a3fb6f9f9820a7f89e769ae94c5084ec
+DIST vivaldi-snapshot-2.3.1420.4_p1-armhf.deb 52310938 BLAKE2B 807b2f08dbf26cd6a608dbf99fded16fd7bcad64302895378d41caf026a16d562a03e133e7fe782d1aa087f9e38a14dbfa81facd6d3154d828c7e7b19054c895 SHA512 66a909ceafeb70990ff3c84369de6b2f84bb809d1a3eeeb2202b5fd8313707075c0f526913b72d794f63e6086c4891294e2f14cb45d83bf00e0fc2da63421348
+DIST vivaldi-snapshot-2.3.1420.4_p1-i386.deb 58078194 BLAKE2B 141bac99163e8f4e1819eb4be51d44c268820c2599ea6b00db0d13aed1d12c20e10d312f27bf5c837006c3bd701e7cbe521123c8d91222ac60dc746fb4d15b89 SHA512 ba48e4ad9cb0c3d6448f4c155bcf9f3172fb932949d5299cdf55a582769886d34f32de22c7993249b22d5076ddae82bed5a18d3a55213c9fda6062964793e2d3
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1420.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1420.4_p1.ebuild
new file mode 100644
index 000000000000..16416d587361
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1420.4_p1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+ am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi
+ fil fr fy 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 eutils gnome2-utils 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+:2
+ 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} \
+ ${VIVALDI_HOME}/libwidevinecdm.so \
+ || 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
+
+ epatch_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}