summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-11-16 17:00:31 +0100
committerJeroen Roovers <jer@gentoo.org>2017-11-16 17:01:30 +0100
commitddbc8db92819ffc890bd11c568bb76def2448fda (patch)
treebd4439d4fc4de13e3791dd5c71eb6f201a51ac13 /www-client/vivaldi-snapshot
parentsys-libs/libomp: Remove unused LIBOMPTARGET_LIBDIR_SUFFIX (diff)
downloadgentoo-ddbc8db92819ffc890bd11c568bb76def2448fda.tar.gz
gentoo-ddbc8db92819ffc890bd11c568bb76def2448fda.tar.bz2
gentoo-ddbc8db92819ffc890bd11c568bb76def2448fda.zip
www-client/vivaldi-snapshot: Version bump.
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest2
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.19_p1.ebuild118
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 89c82a12d66e..a05507640cab 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.13.1008.14_p1-amd64.deb 50249748 SHA256 1bbc27fbeba82bad
DIST vivaldi-snapshot-1.13.1008.14_p1-i386.deb 51126596 SHA256 5b345b62164bbfd32ada5f31196b80c8e298dbb6db0e28c25678acaf275c2b9e SHA512 5ae034ab377953946411c559eae7fc5b447ce6a4c77f78b336d119926c1daf06b56ce80c4c33817fec3d6dd0e98998b9c15337af3cc78b455c4d83b595851446 WHIRLPOOL 69da0286f53f4b8034d6bcd51e60e3a62357b42f01e914717d9429330dc0a7c25f5399ea633086981866cc7ebeb8a8f2ee75ac82e083f1cf74144bafaec77761
DIST vivaldi-snapshot-1.13.1008.18_p1-amd64.deb 50251046 SHA256 20ff871e34e4bb48b56c04fd577092df65cce68bcfbeb4059de746518c5e0445 SHA512 7b3bb28878086621094706ce7ccfe1e2cd8a785752123919d339246b8eb947c932b749f7e6f340fd72f7b237d078d456ea2a05576c7b9a1e70cbccb6f3822088 WHIRLPOOL b8bc4f0b0136570ca42da4124de0a978943efb3ed38c17223f1ecf56a13982044e54f056018ae35cebefb8f2a88aa68c96fd29fe1a037cfb1ad9aa21d00cc732
DIST vivaldi-snapshot-1.13.1008.18_p1-i386.deb 51131694 SHA256 e1785d134ce454ed5c62c24f915c96f9e983f710390d4bc08495f645e899d410 SHA512 a8fabf9b52a5788463427abfebd235251508a46fda7b4a7d54a60e34068f24bf00e47d9dfc2bf1631b2a40c0de2f8055a5ea5bc65c8308762d29b559e2db1190 WHIRLPOOL 4e70930d4821009e79d616193312925aa2ee5d662b98ab68ae918a697d11002ca682581dcea86465238eb500bb2345899be5266bcafaacaf6b179413415c0f4c
+DIST vivaldi-snapshot-1.13.1008.19_p1-amd64.deb 50245124 SHA256 048808dc36a4ac80fd0a4efcec33948329d1ec9d6409b846c62a050be213360a SHA512 cc70250fa6ae3a945a3ed363f82f125c062abcc690438969ea190410a7b3547d1852f04a5090849e9c64c140a1cf557c05aa90cd0ca78c016b4af46a572011fc WHIRLPOOL 7eb31899873c328b8654f9e1985785715373104654398ed8f19b7d0466b154878d58a543c844316ae644a3d7c50629e7cf9821bef6b1cfa6a3ca120fb9f9ef34
+DIST vivaldi-snapshot-1.13.1008.19_p1-i386.deb 51134116 SHA256 8cc9330a4d711f3f6ac240c8715943adab10f8ab5ab130cf75d8bb09d00f07a2 SHA512 e7a70b998792160e7d8fc00967634422b124d70bbdffedb10c572f9b28469a172df963c9ef7c9671f436092813ed7b6094849b93ce45b03be6a9412fb358d831 WHIRLPOOL 52872cd176e35789af201f1d01489fccd40cdc409ed0ced8e023759ce8809d26eb4cfae2ec66a20a91dbebb734f97f6f09eda729233a709ae0bde0940c8eabbf
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.19_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.19_p1.ebuild
new file mode 100644
index 000000000000..fff39bc27059
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.19_p1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2017 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 )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist mirror"
+
+DEPEND="
+ virtual/libiconv
+"
+RDEPEND="
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ >=dev-libs/openssl-1.0.1:0
+ gnome-base/gconf:2
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ net-misc/curl
+ 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.13.997.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
+}