summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-10-10 07:04:07 +0200
committerJeroen Roovers <jer@gentoo.org>2018-10-10 07:06:56 +0200
commit394e6fd579c903731c1434f78bda94309bf04ec1 (patch)
tree1691aa5b972fc00813020f86eecf0bc09dae78a2 /www-client
parentnet-misc/ipv6calc: x86 stable (bug #668194) (diff)
downloadgentoo-394e6fd579c903731c1434f78bda94309bf04ec1.tar.gz
gentoo-394e6fd579c903731c1434f78bda94309bf04ec1.tar.bz2
gentoo-394e6fd579c903731c1434f78bda94309bf04ec1.zip
www-client/vivaldi-snapshot: Version 2.1.1328.4_p2
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1328.4_p2.ebuild118
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 6bb3919e959b..b2c88616d7c1 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.1.1322.4_p2-amd64.deb 59786836 BLAKE2B b8bff50bdb60c2127
DIST vivaldi-snapshot-2.1.1322.4_p2-arm64.deb 51899344 BLAKE2B ea2583529002760eb79c76110605f2b5600fa244583f6df06a4447b38fb4fc62c4b5fbd4ab9c08c7795a66a48f5c1585b67c540e653ef2adfc2aa8200031f43d SHA512 ee1578fbb3f22dbadafde60b3cc415bd0b2250bcfc61250f57c5c0158ba55a9cdedb44087d6c1995c923d05f765d049d7f77db3d559d6b05e35a3a5e65d02c2c
DIST vivaldi-snapshot-2.1.1322.4_p2-armhf.deb 52667198 BLAKE2B 5cac3b2da91026ceab5b2cdac5a002ea80fba7dc4b0588443687a04f7bcccf35e83d87de77a50c357acd95a580e50977ca20ced0cad47ce4a02d3dfc8a81b4dd SHA512 75a3fd46eb2a5c3128d8e46eac12cd432da203ff658171725e0f2b833b5fe91bb4caf4f029fb9d4fc1607ab97052135826b7d61bac0d401da1da98a48ce6a579
DIST vivaldi-snapshot-2.1.1322.4_p2-i386.deb 58598378 BLAKE2B 7f7b205303a8d8eace01c9f94326af2ee6b92cc37c993cc2c18ccbf70e2a27ca16dbdd8f35de400811c86264f1c6374fa7886ef47b4e405edec38e2b05550d85 SHA512 46d14eee44bad24660e9489bcdfc88aa53ee63fb7cf2b81d7f16d23a0c0e26777c0af9059a311444229cf17e1208b2f32bb301c0a07e14434615b600ddacad3c
+DIST vivaldi-snapshot-2.1.1328.4_p2-amd64.deb 59792998 BLAKE2B da33109395c87a76a98fae6785900e562543c0bd450af170a88868e8bdb7f3dcf1d72af901d98fcc1ae900f83faefc73c4a17e279e6031e163743e1106bc4c86 SHA512 568ad5e902063a0df5fcd956f736787c76a2e674d48d651dba0d79f2d564b604820277a08c39d4f57c34fd40e1b1363536764a57a9d67ebd138b2e4caf67e3da
+DIST vivaldi-snapshot-2.1.1328.4_p2-arm64.deb 51920646 BLAKE2B 90d01dcecd8d3d876e85bf8e144e78a0e84da27c4b143ec7d0f8758acc7b5a9d760895538811380275430e5344d5fc205a66812eae0ec80d6052ecbe088206f1 SHA512 67fcfcec5b73ddb1957fd00e84bb6206f32d25f5507f58d5907a1221cf5649f3a55f7ff0749d250d8ed8a8eb44105f051c0281773bd9605f1584fdf0585de48b
+DIST vivaldi-snapshot-2.1.1328.4_p2-armhf.deb 52678238 BLAKE2B 82c94e3723cb687ea92391a706c1b1819f2b46dc60b373d4e6d70869c50307b2fbd49b8400b505f2da92181fdf3ed968c7adc3d05341cdc167832474bc77d4fa SHA512 2bc4c19e8fadd5180d38f53ada40b0d0b98c243a3373570ae26d915170c8c56a389e326a5c0485f4014684f7fbbe30b0383e672f7617e95a1b1e34a65d536050
+DIST vivaldi-snapshot-2.1.1328.4_p2-i386.deb 58611190 BLAKE2B 74491a7ffd3ad4957e30d9277b893a92b3f2b04562721a78d0bf6590d809b4f8f600dec30939b7a73171ef586983db6478d8f5f0a933703b23d9dd5e6de34ed1 SHA512 fe7d37d4f014cde812c66f7023430d0214da9dbb96d544a7b24ce8208fe6c485dc0c8f37643594da94e4db785de19f50c0a89de9f6b3544dd042b988494766e6
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1328.4_p2.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1328.4_p2.ebuild
new file mode 100644
index 000000000000..91b5d4fe6abf
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1328.4_p2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+ am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+ hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 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
+}