summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-10 10:46:08 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-10 10:46:45 +0200
commit9cdc24583285f8b33f941e08964b41a93213707f (patch)
tree7d0cec6589ba3dcc82014d7e7728c19e7b71682c /www-client
parentwww-client/vivaldi-snapshot: Version 3.1.1929.28_p1 (diff)
downloadgentoo-9cdc24583285f8b33f941e08964b41a93213707f.tar.gz
gentoo-9cdc24583285f8b33f941e08964b41a93213707f.tar.bz2
gentoo-9cdc24583285f8b33f941e08964b41a93213707f.zip
www-client/vivaldi: Version 3.1.1929.29_p1
Package-Manager: Portage-2.3.100, Repoman-2.3.22 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.29_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 56c48f7beef0..f77857af35ca 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-3.1.1929.25_p1-amd64.deb 71016460 BLAKE2B c4d35cefd2b5da142eca25ff0
DIST vivaldi-3.1.1929.25_p1-arm64.deb 63488420 BLAKE2B a8d6191b6fff8aa4a3e16eb7dad3cd514ce22139061407894b07413bbc2cb757b945203681c930e2917746f2f005514da1807b0582a66df2906739d2794851c4 SHA512 762984a6a8c9a3a449d9934da59dd17790aa04dba4aa51df69b6c8dc2c38a17fd77201b3c7450152b47eba7b8d61b15fa21c4b788f6923d4da394e276e04f003
DIST vivaldi-3.1.1929.25_p1-armhf.deb 62921072 BLAKE2B 1957de8090683d15b4abc83580f3ae65cc18ffc00fc5523d1143647e9b2460adc359384649dc23831a4b5e265a04a197278dcf5899e1b68802eff81fcd2e23d9 SHA512 f7ac233057a863868d0a49264824d19f45ea4b90e31b69c376b2cc5b8b6aa11339beb87d70a59084a79600bea5bb5ada7dfe440a208f13a5f62789a8809362bd
DIST vivaldi-3.1.1929.25_p1-i386.deb 69403692 BLAKE2B 7caa5f9970bfca82c4bff3e0b5598ff0f6db43c63a83e77f7b1f9e6222480aa915209928bde6d4907fcd1e528262452765cc18e868df2ba61e5c10cda27f2f89 SHA512 9a49c8aad430c4043e32b4dc2d1f2e47064d205ea09b19be694e6a535b06a06b27cc5610fe0f6a744dfe2ac55c4871b213ca5042b31869523b6a993df4e096ef
+DIST vivaldi-3.1.1929.29_p1-amd64.deb 71000744 BLAKE2B 76b9c62a66f327506e2503f9153850904f98a81660b80249b3b1e75cbcd539b5b5ca67430e921c37430459064386d267d8809cc156214850ee5dc009fe933a37 SHA512 aa1e16d887fc3b88aa6d91f9b0b9ca6bcc33b1f1cfc50ff3eb7a1ae20fbaa59aa6a14b3cf6e4624f9c00f090083123fbbe4b508c3dd1f4ef802b5eb9afd5976c
+DIST vivaldi-3.1.1929.29_p1-arm64.deb 63494200 BLAKE2B 60ba0dfef503e0021536f81478cb6101ca917b6bd3071f11e826bcd9161fa966c6cc6ded8107825a23e46d9e61d3548e106ffd824321f2a31d841fa99cc0973f SHA512 5598d7b4bd275fe2065438c93aef4df5f78fe7911e401cbde78b3fbab98ec48e7661fc5170dacc5e786cccd81f0956f80de6c54356638fb13f9e3d68a91f06a5
+DIST vivaldi-3.1.1929.29_p1-armhf.deb 62939860 BLAKE2B 883453821fa34884cad9873614d3978cfccc44e3eec3782084f2b624b72bb9df11e363546af379dc1b96326a9abff48f6d74cd5b0a1d671224b5565b1a324b07 SHA512 ef5bf3d5c04e39c2d8169a0fb106dfe22558e04c370d817bd5c29fc036ffc22f77cef1b5d05d28d4ee42b930a1c70581fcacd7b897653a399ffed61f89eb9f3d
+DIST vivaldi-3.1.1929.29_p1-i386.deb 69409064 BLAKE2B aa56a323a37d25f1ce0b381eae08c4f1f4c281d952e5820e6cfb7c488d26adad2653e3610588342e6182b899be34fc9dd5ce133a5319b54204b1c5d70f48cf06 SHA512 4e33abc01163e07c11127644efd4f6f328729d89588ce3827974680dacd80ffbed2a5bb3fa15847ce7549e459bd11bfc794f1afe11371725295a81b659d74553
diff --git a/www-client/vivaldi/vivaldi-3.1.1929.29_p1.ebuild b/www-client/vivaldi/vivaldi-3.1.1929.29_p1.ebuild
new file mode 100644
index 000000000000..a156328cef54
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.1.1929.29_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
+}