summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-03-20 16:51:09 +0100
committerJeroen Roovers <jer@gentoo.org>2018-03-20 16:51:09 +0100
commitb19a8d421dfea6e5eebd22c9d2786de1d8890e60 (patch)
tree753cfb0809c744d65d6eae4783a7112305fb8348 /www-client/vivaldi-snapshot
parentwww-client/opera-developer: Version 53.0.2900.0. (diff)
downloadgentoo-b19a8d421dfea6e5eebd22c9d2786de1d8890e60.tar.gz
gentoo-b19a8d421dfea6e5eebd22c9d2786de1d8890e60.tar.bz2
gentoo-b19a8d421dfea6e5eebd22c9d2786de1d8890e60.zip
www-client/vivaldi-snapshot: Version 1.15.1130.3_p1.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1130.3_p1.ebuild119
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index ad3d1146de6a..83e282154cd4 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1111.3_p1-i386.deb 53107268 BLAKE2B 30917a72703010d47
DIST vivaldi-snapshot-1.15.1125.3_p1-amd64.deb 53845610 BLAKE2B 01433366fdc99d634f4006ae1ab9360c2ca9b83dfba5198290c425ffc9e1d4946fca996669ada36a44e4bb6100b895a448fd30319952fb8b8ee3894b905af814 SHA512 46b7a6e69b68d5116bd07a7c4820860b5a03efb545adedd575f44615a1c5c740350cb6dde11d10e9133fc1930b43fd17428de7b70668351935893e78630ecf86
DIST vivaldi-snapshot-1.15.1125.3_p1-armhf.deb 47676456 BLAKE2B 0ab3d4d629f2512eeb43b143f5e901c2c6e9099457efc99fc75786c3c6449475185801fe30d69bed6cd5de76b66240d276a6d13de109e177b7f481ab138d1e2d SHA512 73b94b924b95fef079c3ea1ae88fd10fc30ca1fea537c56f25fac15c83a67aa4a1ae68d1007b7b1e236869db52e7445121965728e83a0ccfb5bf881720a9b94d
DIST vivaldi-snapshot-1.15.1125.3_p1-i386.deb 53499074 BLAKE2B f56fa05afd67e8fc07366dec84a1eaec6149eea2eb88fa7b0c324587d4b4cf5fc601427d0659a90dde4e4609903645d2e939fc4ab0bf748f58b844097e1f048b SHA512 57bbf40b27a05a84dad3f4c34847e936b5076093445ba2c5df0f1d84e710e029a8433d372b2557ebf5d9b1169ccdcd4b0d4d2f063d533b9dc6a08e68c158f9c3
+DIST vivaldi-snapshot-1.15.1130.3_p1-amd64.deb 53855214 BLAKE2B daf5d14cba22f2d54ff06b20662a6fec182b427326420ebebbeb79c4301a267877de48722846e24259920b6e624d036513ab4bd5f09e4aab652191ca1db0d575 SHA512 81a267833865f21ab28eed135006a051a362eddcef11e629dbc9479a266d29f795a37bba2b65e736ce6630e32b75df10ef1cc77874151abd5f44c9a266338042
+DIST vivaldi-snapshot-1.15.1130.3_p1-armhf.deb 47677596 BLAKE2B a40a964d93b9bce66ae8d971eb4bc344b76a355e45485a4f8562b407af1c57722241ba6f5140307c912f697332b706ca88516ad2182dbb5c36d988573a6b63a9 SHA512 aa35679da8f204929fb9851345e6b2a4a336574cb52892982bd93e3049253e3cb72f795201a7637420fa4916d35408b1baa011c256a93e49e501cc3a2babfd7a
+DIST vivaldi-snapshot-1.15.1130.3_p1-i386.deb 53515052 BLAKE2B 758ac8abc2652d884fd4d15eee8529ef54255d636587dfbb40ecac24509e589002e9a0515d35ae8294d02c33391916499b3765714881712a7e4485840fcea716 SHA512 278563829d3c24cf1c4085604e480bf70c8f09789f0f68ae6b3bc4ffeef867fc6db45164d240d963c405c77fa6314d7a63150e582d3b7c70f9a1ea14abe1cf04
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1130.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1130.3_p1.ebuild
new file mode 100644
index 000000000000..ee9ad44cb619
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1130.3_p1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 new browser for our friends"
+HOMEPAGE="http://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.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 ~x86"
+RESTRICT="bindist mirror"
+
+DEPEND="
+ virtual/libiconv
+"
+RDEPEND="
+ >=dev-libs/openssl-1.0.1:0
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ gnome-base/gconf:2
+ 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
+
+ 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 "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch
+
+ 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
+}