summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-19 14:47:15 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-19 15:06:42 +0200
commitf7b61e88bd52d662b4467911e0c47c06bbc5085c (patch)
tree0b7f7a5b99c3d211a7952e72b09cb3a96f2975b0 /www-client
parentnet-misc/kafka-bin: Drop old (diff)
downloadgentoo-f7b61e88bd52d662b4467911e0c47c06bbc5085c.tar.gz
gentoo-f7b61e88bd52d662b4467911e0c47c06bbc5085c.tar.bz2
gentoo-f7b61e88bd52d662b4467911e0c47c06bbc5085c.zip
www-client/vivaldi: Version 3.1.1929.40_p1
Package-Manager: Portage-2.3.101, 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.40_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 1b89fc51f71d..9e67b0030f16 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-3.1.1929.34_p1-amd64.deb 70991636 BLAKE2B 5452174dc7b63762a67840008
DIST vivaldi-3.1.1929.34_p1-arm64.deb 63497152 BLAKE2B 6c075a3c6d12e784834d26b385a9e80760b8350caf7466a5982d2435308ff82433d1824e714720a9015b13f6767bb4a0952d4e1705bad6905b30313e898ca0c0 SHA512 7b8d3c5f373d05e70fbfe29750f6a7c684450beead9ef54b33758f8847f4bb3f736f323becdbf90fc24917caefb9087f6ece1b1ef7c013fc0480f1224eb05269
DIST vivaldi-3.1.1929.34_p1-armhf.deb 62920496 BLAKE2B 45cdb93d10338054b55385c27ff0547e8047ac9d24fbd4dddd72e94f7d8ffc23a111e8fd632f87d13acc79a7c6598d3683735b067c7fcc8cbf6ef32beca296a3 SHA512 4c218e95b13886c96b6489095f406ee18f51fe45b4e092c8fcf15737707fcabbccfbbb1fb59c724eecd93e1e20e98be9dbed3761db44f5afd641b3d8babc37e9
DIST vivaldi-3.1.1929.34_p1-i386.deb 69389876 BLAKE2B 1b378650a72c8c6bfc088ec22d5d654fae0251a7415932e16bd29e588680132e8d75dc34fe98a5edf45339f4ae7465e6196185d8314b0e8df9303c15652ab2b8 SHA512 12e1cd1539ba13cdebc49ce962c8e4dacf9695dbfb9791191771b3f98e1518b3750ab0164df2405b3601611a0986b70cdaea8b0aaa09b4b7545bcfbdd5fde8a1
+DIST vivaldi-3.1.1929.40_p1-amd64.deb 71036780 BLAKE2B b1f7f921bfa0983ac3f5d841ed005d6f0897a7cc2aa273816648964724111d0d646b3137644246e2efe5f0cf9068799c98ef2474a9702f9b8651b2d4e2ac7274 SHA512 3a2193f21f97df386943e4fd0b249c2fa53495261aef45081c4d837ade21c85ae4e4131d8fac2b09eadc4747f3fcafaf72924c03ecc848896c054c8c7235758e
+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
diff --git a/www-client/vivaldi/vivaldi-3.1.1929.40_p1.ebuild b/www-client/vivaldi/vivaldi-3.1.1929.40_p1.ebuild
new file mode 100644
index 000000000000..a156328cef54
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.1.1929.40_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
+}