summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-10-29 16:33:45 +0100
committerJeroen Roovers <jer@gentoo.org>2018-10-29 16:36:18 +0100
commitd305805036aac0fc7376b4254db95bcd9b68ebfe (patch)
tree811903c2eba089ad22bfe7791dfd4ad896256a85 /www-client
parentwww-client/opera-developer: Old (diff)
downloadgentoo-d305805036aac0fc7376b4254db95bcd9b68ebfe.tar.gz
gentoo-d305805036aac0fc7376b4254db95bcd9b68ebfe.tar.bz2
gentoo-d305805036aac0fc7376b4254db95bcd9b68ebfe.zip
www-client/vivaldi-snapshot: Version 2.2.1350.4_p1
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.2.1350.4_p1.ebuild118
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 73339de2f3e..57dc39b8a61 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.1.1337.35_p1-amd64.deb 58509442 BLAKE2B 93280316a3687718
DIST vivaldi-snapshot-2.1.1337.35_p1-arm64.deb 50313988 BLAKE2B 75540fc7581f38bb3ef5ee891983e2068c8d339a00483c41f535d5eff057893954c10677c6b633531c8048fa537351905aca2ea4b8872b5d87412c801d537cef SHA512 2aa3bb701c1cde9770fe26a95c7bf235054cb4b6b95f2280b9d6891d4c210f5a2f937472978437135db73714268000e7af2900383632dd7ed954e00f68c2c1a0
DIST vivaldi-snapshot-2.1.1337.35_p1-armhf.deb 51222764 BLAKE2B 0d56cb8af5d0a67616570e275ce3db2034c50df7a4017c8a86c235aa06e7a9c850714d229cc44a69f65a85d33d9c0b938bd47100e68b4e0918b87a5bf3ebebdd SHA512 d9f9ce745172c9f31187186d524141a025bff46f7704085a679a9c9914ad07102f70d4e138fd1fc21918c4b4aa5eccdb501856b89bfe2539ec5f31df5c2f6c82
DIST vivaldi-snapshot-2.1.1337.35_p1-i386.deb 57392562 BLAKE2B 3cf6b09b18a52e6cb17666ea34e565b065371c59af9a8130f3053bef31695f754d08765bf11f857ac5350ab3815f79b6819706008be1741981a03a38ab53f6e0 SHA512 236eef97e70e644a00ab39e22af7603873b3452bff07d93161079e8ab899b616f6194e64526e97f3e63e09b8132ac973a1ce5785f3086f7f83d01ab6ec20e715
+DIST vivaldi-snapshot-2.2.1350.4_p1-amd64.deb 58468342 BLAKE2B a27bb0aaa22cfaa81eed88b19860ac6d94362a503929304af9c3e6a9aa9784b9d0b3fa0ace34cce34ae668cd0991ff346ea75573da4fd444d10b958640c556bd SHA512 fe4579f6b3ae0ec989d06f2878bfbbfdaa6ae682d2ce31de41ca025010c879fe63cf8635723436f0309569cbdac0e7ca033e31a1294630c20da960d9a8916808
+DIST vivaldi-snapshot-2.2.1350.4_p1-arm64.deb 50278814 BLAKE2B 27be904f2563cbcfb85d21982cf76c14406a4ef07a4cba37014ca9c8045e3f2e67105d1891cc0642cbf0fd350ac50420e38517fe8aeed0042ddc0ce96ca41744 SHA512 d846f46a9482a60ba65ea900ba34a71afd95915501c04069e174bfc83e4e0f6ea3753b9755b18825ddb0a9ffd3d953d1292f66b9be0b9a3bb8090381c48f9192
+DIST vivaldi-snapshot-2.2.1350.4_p1-armhf.deb 51212312 BLAKE2B 26a382946d36f93a0485205d04aa17d66a3de91a717ed261a0de0a12b066eb74f4b04fba8773edc27d8d8b65f1ababbe95b7d891f0bda31f7eb1c882a53cdd75 SHA512 e86fdcc8e4b72e26294dd709226e1eccf45820646a6c7b17496d92aef142919b209b82d3135a2fbc22bbd0218bf703c63c46f68e32a50d5ec1ef09b317821b04
+DIST vivaldi-snapshot-2.2.1350.4_p1-i386.deb 57355788 BLAKE2B a6ca6cbc6b7366c1f0782d803f925c3971315f81a82cd14d383fc8443bb386eabc612eeed77392b67636199afd8cc0fb446b1b97dcdefb90c162e9e650dba5fd SHA512 b0890a7b951a6c95c3c4575e407571cdadcabcb99e116619288875c1eff83e7c5010e1cbd3e27dd29e07b3aface3b8b4f9de41534e6d12460b2c9f700ceacd77
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1350.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1350.4_p1.ebuild
new file mode 100644
index 00000000000..91b5d4fe6ab
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1350.4_p1.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
+}