summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-08-28 16:16:09 +0200
committerJeroen Roovers <jer@gentoo.org>2019-08-28 16:16:36 +0200
commit2c7d946bb6fea2ce5978de7bfcd800fa5aca2a2e (patch)
treeb53815644affd406027a60a21f22aab4c0db58a9 /www-client/vivaldi
parentdev-python/numpy: Revert "Enable pypy{,3}" (diff)
downloadgentoo-2c7d946bb6fea2ce5978de7bfcd800fa5aca2a2e.tar.gz
gentoo-2c7d946bb6fea2ce5978de7bfcd800fa5aca2a2e.tar.bz2
gentoo-2c7d946bb6fea2ce5978de7bfcd800fa5aca2a2e.zip
www-client/vivaldi: Version 2.7.1628.30_p1
Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-2.7.1628.30_p1.ebuild124
2 files changed, 127 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index f63b181a3484..b23bab216836 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,3 +1,6 @@
DIST vivaldi-2.6.1566.40_p1-amd64.deb 61151748 BLAKE2B b87be9d93798c8b94826d83af62f0c18a9b9e31cbcd8499ac2b00b969b92953dec0c4427f4d242180982648592f984b7477be830bf8899e4d3eff704b5949cd4 SHA512 3a5c68b8660a1940f4a9d6a949e112c9c966d4ccad8608e9e84e6ef33c864701b930b9a51ac04e359e0b96213324cfec987c9346a0093b70df722430d338692a
DIST vivaldi-2.6.1566.40_p1-armhf.deb 54411476 BLAKE2B 515320db7da8cb2eeb0fe8c639921b41d0debf7d19c31e70694603aa06516d282e8ce05c75230ba706364af40892f16fd95e92e07619e51c1f33defc24926a28 SHA512 f60b6b6572f8b22c921a8f2fa03171a6e09301ee0a09617dd2addc307466a2e941e77b6f495221ef96b2f72026c50281a20fc074875aeaf1bba10cc8d4463e5c
DIST vivaldi-2.6.1566.40_p1-i386.deb 60685292 BLAKE2B e30cf79718238e4d221749668ca3098b5a6c39b764b34edb7d3cb428d891ffcf949b26f004babb0207388241882cf35adf43dc9d65f21ea6bea380c16edd2bdf SHA512 8a873436af9c0059e6995b6d0905abcd14adbe3643795358ca43812d98989bc3f7a5a0034e86b188b245a90302a078ab2c8b219484a0387fb3e57aa190bbe202
+DIST vivaldi-2.7.1628.30_p1-amd64.deb 61729696 BLAKE2B acf5b3f9405122191655dc90be39ed1beb41d98d0f89596f731402caea0df32b4e806669cdc629bddcf8aeb301fddf62c3dfd88a8890178b3903682846a4a7bd SHA512 66fc19193c45ecec87b7a2e57650d14bdc3760d0334d72e2908c39ad1b0fcf7a3f90f03683680d0a957cd449848e569a3e12f7a28f1bf709d340973bd6aa6607
+DIST vivaldi-2.7.1628.30_p1-armhf.deb 54616352 BLAKE2B 1b11e52d25bfe67e408ec42cea3b6ab6a8bbadabb97734ee42a81473ccb6d15582e731d81560703969333c180a745eac3e810ad5439faf6629e45bab33815622 SHA512 a32571579c97ed5227985c698ac1812b4b079b16bb82e9994ee1519bb8206bc235d0a4e01b165e6e8691ed56adb0f3a2fc4c5bfad15194b248db265d643259ea
+DIST vivaldi-2.7.1628.30_p1-i386.deb 60218100 BLAKE2B e9cf2fa0b9c6dbb38df1807d8462dc7d6012db4dd1c279f963e1ce4954ebd1f36713be7c3d4d0c5896e243dfafd89303a2456919a686d28e5e77e702ec29d57d SHA512 8c4d6074ca35e8181a901cddb4412418b3a3c3981220d08e71ea3783508b649fd3e1f4b9d1c7f4bfd1ec713a04be609336345a5cab13d303eb61dbfb0c872ad1
diff --git a/www-client/vivaldi/vivaldi-2.7.1628.30_p1.ebuild b/www-client/vivaldi/vivaldi-2.7.1628.30_p1.ebuild
new file mode 100644
index 000000000000..69ed6a41d087
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.7.1628.30_p1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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 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_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}