summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-01-18 16:12:06 +0100
committerJeroen Roovers <jer@gentoo.org>2019-01-18 16:12:40 +0100
commitb917be2eff5e0abe7995bed6ecae5116a5704d10 (patch)
tree0b5bda53586f9b8fae9d4e879fbffd59c701b391
parentsys-cluster/kube-proxy: Version bump to 1.12.5 (diff)
downloadgentoo-b917be2eff5e0abe7995bed6ecae5116a5704d10.tar.gz
gentoo-b917be2eff5e0abe7995bed6ecae5116a5704d10.tar.bz2
gentoo-b917be2eff5e0abe7995bed6ecae5116a5704d10.zip
www-client/vivaldi-snapshot: Version 2.3.1430.4_p1
Package-Manager: Portage-2.3.56, Repoman-2.3.12 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-2.3.1430.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 898d7d26e91f..ec4c0f987220 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.3.1420.4_p1-amd64.deb 59807180 BLAKE2B ae908e23686a6c949
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
+DIST vivaldi-snapshot-2.3.1430.4_p1-amd64.deb 60070842 BLAKE2B 3e8916863074ba212d3ff3675d2ee107ab537509cecbebb99319f37929ae9bb1053377bb3369e409f0fd6044431a4e029d62dc7de938edc77889185572dd0b23 SHA512 7ea0728954dba05bb69e6a73bceada063e7a4b78fce02ae11bf4f7870a66d27a6f6749cb945a4706ef70bc03e5063fd5e5aabf0933953d37c241eb864a030e4a
+DIST vivaldi-snapshot-2.3.1430.4_p1-arm64.deb 55566018 BLAKE2B ea2ac73e8750b7d8da4a51e528f64e766db78d01fdabbe7b4099b08ab0ff4b34f6712eece6a65666348b3cd7ffa463ec83ce2bab68e548b9afd58be100d7caf8 SHA512 22e3596cf883fadb6a2e54ce4f14f91c41c0f979c4598730345241b759570f2a4951c786a34f256141265e0ae46e19b56b64cc2d20db68fbb8bdc6691c30c716
+DIST vivaldi-snapshot-2.3.1430.4_p1-armhf.deb 52620910 BLAKE2B d13e4deedd9b65b4837ad934a57a0981e0cc6e47a2243a423ab23e7802b3fe4c7ce9bbcc91936c3c9a6685194a6c9bcebd2f80a13ef0f8fab8eb742d1021b0ad SHA512 703ac9587c0d1f0c273ced6211072f8e53fbe6cb6747cef8a4171d6ce2f683859dead80eb20bd0ef140fe5b41d697762f244282ffddf5678793bd6869f5de053
+DIST vivaldi-snapshot-2.3.1430.4_p1-i386.deb 58168494 BLAKE2B 78774db95227fa1e2da19c647ed2d65319a74036ac7ed05f4d51c4518003cfa74b9dd356c6d91b5da3bb77eb055a593a94fe8e74ed8285ed6988ab33dd0dfb5e SHA512 f155cfbd3825b70387d45696cd8a10d8d37345bd2a3ed59751e3e8529369028c64abd80dda59e8d9517b53422569680143053fbb95cb3aebe3bd7f748b627f5a
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1430.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1430.4_p1.ebuild
new file mode 100644
index 000000000000..91bde2d57460
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1430.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+: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} \
+ ${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
+}