summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-24 10:44:08 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-24 10:48:10 +0200
commit10506faeef909dc4cbd1a9a037aa800e2cf7f2a5 (patch)
tree4adc1cc753f65f404beb4bd53874070cf20364a9 /www-client
parentapp-editors/e3: Drop strip restriction. (diff)
downloadgentoo-10506faeef909dc4cbd1a9a037aa800e2cf7f2a5.tar.gz
gentoo-10506faeef909dc4cbd1a9a037aa800e2cf7f2a5.tar.bz2
gentoo-10506faeef909dc4cbd1a9a037aa800e2cf7f2a5.zip
www-client/vivaldi: Version 3.1.1929.45_p1
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-3.1.1929.45_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 7c1d0acf0743..ae7c6c980fb1 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-3.1.1929.40_p1-amd64.deb 71036780 BLAKE2B b1f7f921bfa0983ac3f5d841e
DIST vivaldi-3.1.1929.40_p1-arm64.deb 63485296 BLAKE2B cf9f6ea2c7a0094d5bc0d5bbfc0ab79f963cc225ae86215997c67990eaf7435262711f75a4ad2d1ed4fc90638f29699ce0d6aa08a77cfbb7f6266288ff871792 SHA512 6ea9a33279dbd1349ff1e4681f872d954d8c9e3a5b0e98121e9bde0bd5c2ed6fabbfcc1e8cf77fa090264f2b5033fc5adedf8c01c4bf32756de008b12a288f1d
DIST vivaldi-3.1.1929.40_p1-armhf.deb 62935604 BLAKE2B 094181c43b86f35f1e897b2a4da10b2f294a87a1a73dffde54344b8ec0645b88a2272d6990ac14f8a3f36a0e6c375823f735ce8de5b01fb9f7de9dfaba5517af SHA512 be5f04d3ff3028b282a4e3c2c91dd7d41ac4f81fe3fc9601dc1528864de94828697f214f1e83781715699ecb992e28f92e2483218874a50d09980edcd7b73bfb
DIST vivaldi-3.1.1929.40_p1-i386.deb 68708216 BLAKE2B 0bcdd6796a2a6be4490501583bb91c164d76fa1105091a8ca1db0575b49d2d9a946849896a4f5f8a567dd047b7b635dcb38f4bb417cae811ad0d6457954163ca SHA512 c190a64fcf17b24aac81ab4470540a9cad15da4af9eb16d33828e73ed4c5dfce46de26fb72bf1f13d52bc5437a298d859bba4d4cdc4c5d9e5cc2fb3d90ce37ff
+DIST vivaldi-3.1.1929.45_p1-amd64.deb 71017500 BLAKE2B 8bb5ef135a2194e968c0d86a89aff026a606bf3520846f42169267a639b608322d2b3e0c3053bca0280316e7b03b477e579ba84b923e42c5b4f5ba3895217c41 SHA512 add7f3987758e2edeb9b49c342cc075fcf6444dcd27320b5db15abff1b68b60b619460d19165fb08705c7f19d69df8a200346d44360af326da0f17bd7ee0a020
+DIST vivaldi-3.1.1929.45_p1-arm64.deb 63499340 BLAKE2B 1e33c0b380ee48cb0562ca7867e05979d1bda9dcc3db64c2cdacbd6b8b9e6955e26c5b40e94ad6a9e00a6553fcf74919a4cb95d361677c313209d5ed0dbed543 SHA512 c4ef4f360604cf79aef85016d94fab3c49dd1f8bb7ac20ee6b9c79c8545d4b771918aeb51adeed1f94b4b66a6323d84ea6901c613825a70029dc2f0f501d544e
+DIST vivaldi-3.1.1929.45_p1-armhf.deb 62950080 BLAKE2B e4ffd51f6858a70fdad7669be95ffeca8dc4e9313cb824d8274af9b33a72c21b465a2926f2946f465021de3ce4aa25259cefb45f16314e7dd3c843d9f6c3b5c4 SHA512 7c077f4c3a66921461ee28dbdec80412474b5a0799f6b3bc400a0522a06840f4328c9658e7ab01dd4d29e7a7c8ff1bda0c543447ed56c8b0109be7848295f005
+DIST vivaldi-3.1.1929.45_p1-i386.deb 69392664 BLAKE2B acc2f38031cc7179341bf082814c8505f39d35e9769960197a4f30fe0c29477b63ce59245c105ffa04717849218f103924585987f95bec9b8bd39ae6eab817fb SHA512 fcd73da5809e199337ef12aa02fb0a139e184f189b835304617bfd6be77ae5cde4b28ddf3232b3351f5f28a5da93d2d694c4d2cab22371c8f7be9e724f54db80
diff --git a/www-client/vivaldi/vivaldi-3.1.1929.45_p1.ebuild b/www-client/vivaldi/vivaldi-3.1.1929.45_p1.ebuild
new file mode 100644
index 000000000000..a156328cef54
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.1.1929.45_p1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+ af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu
+ fa fi fil fr fy gd 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 )
+ 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+: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} \
+ || 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() {
+ rm -r usr/share/appdata || die
+ 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
+}