summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-02-15 16:42:27 +0100
committerJeroen Roovers <jer@gentoo.org>2019-02-15 16:58:54 +0100
commit22e3d2e8b1634b6214f9f76da0f6265f7cb5283a (patch)
treefc2db277555b4a693c82334afaf6fa06f69309f9 /www-client
parentmedia-sound/zynaddsubfx: x86 stable (bug #677594) (diff)
downloadgentoo-22e3d2e8b1634b6214f9f76da0f6265f7cb5283a.tar.gz
gentoo-22e3d2e8b1634b6214f9f76da0f6265f7cb5283a.tar.bz2
gentoo-22e3d2e8b1634b6214f9f76da0f6265f7cb5283a.zip
www-client/vivaldi: Version 2.3.1440.48_p1
Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-2.3.1440.48_p1.ebuild128
2 files changed, 131 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 3cc1d7c0389..8d47d3bb6e0 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-2.3.1440.41_p1-i386.deb 56936650 BLAKE2B 0c544ef013a69ab0c6808c007f
DIST vivaldi-2.3.1440.45_p1-amd64.deb 58670286 BLAKE2B 06f5630a604b5bb8ee0c8140306bbe28a837019d5749afb36858c3b269f426e3347bdf0b6f4f71eb543b5d158f8295a5096aeb3bc731343a504915e0cd63df40 SHA512 9fabdfaafbe5342a17758bf3f7057056777e776d0d773d42d1deda3f68536fb40908fdbf4f87d0f940997c8fe76015bd9024d9a429421cff2e0df912b45db297
DIST vivaldi-2.3.1440.45_p1-armhf.deb 51547954 BLAKE2B 09e3ea6295a7664fd06f7f4eb3c60dd81e0c54db2eeba93780cd765e131fe1cf44f5a7686e77d91f0d3a8eac0e5b498e1cc5b32a64fdd323afa0bfdfb166bbfa SHA512 f2e913ba874b9380309c847b45632aec0f88f8f32f3f9bcc029f4fb6dcd461cee7dacb40a33b0be41feec93f9ab2541aa2ccc7bdd8cd8845bb0c9685157264a9
DIST vivaldi-2.3.1440.45_p1-i386.deb 56918618 BLAKE2B eed8fb9f8667898c4c7e8254e4cf1e4abeb1df97c2c122df2e0cb08f24b18da417aa8efcfd3cdce6a192f607a94566ca0919b4a8de7b8220f0748681cda2653b SHA512 6acba48cb33c8077e74d25975aec91665f0b419e912673cb2abde12828336713c285f24e96345b4932765bcd4369b8e058c1218019a21cf5023a391f5599858e
+DIST vivaldi-2.3.1440.48_p1-amd64.deb 58675074 BLAKE2B b033024d649df0f37446b969897a3fea0dad7b155ffcdc8581c6bc70de18ee31f6eef8095fab0f36bba62261407d913ae7e1de6256a4df771915c8f6e698ce00 SHA512 5b45fda5934c9f3374d5893ce7949a0424a4625db0c399803706441e6a53e936f6ddf949e931ca93a27dc97e9cba9f04e6ac1f1f5a8e03705c2dfac42665e20d
+DIST vivaldi-2.3.1440.48_p1-armhf.deb 51548314 BLAKE2B 83261994e87b49071181566c47cf341cc39c5608c5857ecb696efbc5a5225c5a4ea82586a7cc5ddd410569d758074f508536ba6194d0eaac7539db5883652654 SHA512 62fe6b215d29009ea575b80f390c456171fe17ce76cfef8761514d4a38d8dc57e42188199c50477aa2b65fd1c10a4698ae83c11c97b0af37ae83b235e1fcccf3
+DIST vivaldi-2.3.1440.48_p1-i386.deb 56930706 BLAKE2B 5daaa17e9e5ee8d62e375e7732f7c5b68e76d13c14b59032822ac7b4f5666fade58b873ae24a33fc0c385aea19aec541968cc7d3171910427731d2fa54e953e1 SHA512 a969f8237a339ff1fbfd63f39f4c7efaf2c6fbc5fb312ea4ed4a4ab6225e8858570d0d8f4b63179255bb25bcdc0843be2173d097a1942e400aa3bc05b182cb24
diff --git a/www-client/vivaldi/vivaldi-2.3.1440.48_p1.ebuild b/www-client/vivaldi/vivaldi-2.3.1440.48_p1.ebuild
new file mode 100644
index 00000000000..d3152b11c32
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.3.1440.48_p1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+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 gnome2-utils multilib unpacker toolchain-funcs xdg-utils
+
+#VIVALDI_BRANCH="snapshot"
+
+VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}"
+VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}"
+VIVALDI_HOME="opt/${VIVALDI_BIN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die
+ mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die
+
+ sed -i \
+ -e "s|${VIVALDI_BIN}|${PN}|g" \
+ usr/share/applications/${VIVALDI_PN}.desktop \
+ usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die
+
+ mv usr/share/doc/${VIVALDI_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/${VIVALDI_BIN} \
+ ${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
+
+ eapply_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-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
+}