summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-09-14 13:04:24 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-09-14 13:04:24 +0100
commit0798eb1c178a82e99f8ccee2f2cca22339c83ec0 (patch)
treeef8c064da14d5a51a883c096ea77ba1bcfe9893e /www-client
parentnet-wireless/unifi: drop dead 6.3 series (diff)
downloadgentoo-0798eb1c178a82e99f8ccee2f2cca22339c83ec0.tar.gz
gentoo-0798eb1c178a82e99f8ccee2f2cca22339c83ec0.tar.bz2
gentoo-0798eb1c178a82e99f8ccee2f2cca22339c83ec0.zip
www-client/vivaldi-snapshot: Add version 4.2.2406.30
Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/metadata.xml2
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.30.ebuild205
3 files changed, 209 insertions, 1 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 2608b2eca3c2..38c143b729c9 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,6 +1,9 @@
DIST vivaldi-snapshot_4.2.2406.25-1_amd64.deb 85953972 BLAKE2B 04372c526bd698a587b53b10f1c6b743bfa753d37c81fef7f8740f887d70d20e0d0c9a7779818c078784708a08ae8ac83dac8e6457061952ad279850125d328a SHA512 2752aa871a22e8a0fd800661fff3345646df82eff93fbc969dd143942f007e00ad74bda284b08a3407daef9f81db534bb0ea861de60beb8f699e86efeae49c48
DIST vivaldi-snapshot_4.2.2406.25-1_arm64.deb 81324916 BLAKE2B 968f6ea75159baafa92cfdfa7a0d4f01abe4dce5ebf65f017d897983f4192474840875bd77ce052852fea578e11321a1ce8f068d4d64201181147bcd07b8e78f SHA512 fb689f1e265eb3fd6d9c18132cb1c057b6ea09f68a245f631ab3dafd1fc56120f1902178aaf0baab57ceee68afbbcf7f433935492fe7c02bb685925e98c02dd9
DIST vivaldi-snapshot_4.2.2406.25-1_armhf.deb 77330136 BLAKE2B f9ca49a22d8ec7e82e608fc26d50c4eeeca55348c0e16780b608024b814229e374ef0fade34b77678878a888a1ceafde50807a07a9b51cedea6146e20fae81b8 SHA512 5360ca1ba72c0e8db4917416adad65d500ef7c28935b0f9b62371cb4997a22fc3a4264ba8d27d7d7ff8a1d6d0d7ac9f8aa2b7c233eb1677648d90dac1ec01d51
+DIST vivaldi-snapshot_4.2.2406.30-1_amd64.deb 86011392 BLAKE2B 9bf967c559dd7ad96a12f6021b8dd743595977e41e7e2cb1cfebef2bdc9a8fa118c4c75c08b698d60548fe4361a1f4f677e212a664534517d4cbaf82e7bcba95 SHA512 4a4d70c307df28108e492dc1fd49fec93ceea7a462ea897312cdd3063425bb92de6202d8de4e7b8730c5e7a31d32df495cb4f2be1ea7bca7c78975c6d7ffb22a
+DIST vivaldi-snapshot_4.2.2406.30-1_arm64.deb 81309832 BLAKE2B 1f15c8f94da09f30ba32b850979a6c1bd51537d2f19533af5658814378ddabe6d4ec9d3128c596fe1fb601fc9b608d131692facab1c7131a55c093818cd05d02 SHA512 08cab76282342fe258dc32a85ff383a7cdd459d32a6bc735dd2d09703bbaa52e23dda045161f24f460284de9f8120262d8adb3c11387c644b70172437efb1d20
+DIST vivaldi-snapshot_4.2.2406.30-1_armhf.deb 77344128 BLAKE2B 00f52492db3d6699956f09ef250250b30daaaf9f692373746087f4de6de7df45e127dd79f3ef0da4be36fdb3c0c0bdc5f4ea01d2792255b6826a946ca20e3c88 SHA512 1022db56cba286c58d094314133273d31c40c704b38f1e5de276b224b1af13f1772b912bc57d0d503310ebc83da8344496745ffb73bbb0d711736eab7c38baeb
DIST vivaldi-snapshot_4.2.2406.4-1_amd64.deb 85992908 BLAKE2B dd01df5721e0d4cf6063f344fabce785b5fce7444f3a9c4e0366048f3cf3a015f169d6717151bd88c92d3831443e05a9bc9f7a6e2ab95799085e27f64531e9ae SHA512 e38469a24cdf8db2e9ac3d05f9283bee6a4191795759c034139105ee7c962942346adde06dd827838e650cbf44fb04223091e10c7d4aa5cb5b7f5e622be8d041
DIST vivaldi-snapshot_4.2.2406.4-1_arm64.deb 81337660 BLAKE2B 2deed06e3244bd235a7833330b6338ac24637fd723b9e74974f8dc02cf64e39483fcf50f0d8b2e15a67e097fe63603a025ed6bc863b2a815f4cf39620d4d26f0 SHA512 72dab6a77b149f9331dbcffc679e4870775de76d821b762a34abf7c388307cecf47d997d4d04e5f1eafd119c6da4ad7ba2c7a1fcc306986063149ff43fad0a4d
DIST vivaldi-snapshot_4.2.2406.4-1_armhf.deb 77324472 BLAKE2B 297cad1af8a3e66209341fd3c6497f7de731db15433babee390005f95257cfa00d0d7466e5c5c6b7ff83dda9d67bcc4d12daaf8893c2945fd9c66aeef9ab7b0b SHA512 2575103ab4aa165749ce37bd524f40d47f19a4617932f92b95aa8220ac8d724b86361ea24327c5441980fafacbb64a25195be2afbb256b39c7adaf1ae5cb0539
diff --git a/www-client/vivaldi-snapshot/metadata.xml b/www-client/vivaldi-snapshot/metadata.xml
index 1170096145fc..d177249115d3 100644
--- a/www-client/vivaldi-snapshot/metadata.xml
+++ b/www-client/vivaldi-snapshot/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chewi@gentoo.org</email>
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.30.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.30.ebuild
new file mode 100644
index 000000000000..b00e9ee4c495
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.30.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_LANGS="
+ af
+ am
+ ar
+ az
+ 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
+ kab
+ kn
+ ko
+ ku
+ lt
+ lv
+ mk
+ ml
+ mr
+ ms
+ nb
+ nl
+ nn
+ pa
+ pl
+ pt-BR
+ pt-PT
+ ro
+ ru
+ sc
+ sk
+ sl
+ sq
+ sr
+ sr-Latn
+ sv
+ sw
+ ta
+ te
+ th
+ tr
+ uk
+ vi
+ zh-CN
+ zh-TW
+"
+
+inherit chromium-2 desktop unpacker xdg
+
+VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}"
+VIVALDI_HOME="opt/${PN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+
+if [[ ${PV} = *_p* ]]; then
+ DEB_REV="${PV#*_p}"
+else
+ DEB_REV=1
+fi
+
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
+
+RE="\bamd64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" amd64? ( ${VIVALDI_BASE_URI}amd64.deb )"
+RE="\barm\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm? ( ${VIVALDI_BASE_URI}armhf.deb )"
+RE="\barm64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm64? ( ${VIVALDI_BASE_URI}arm64.deb )"
+RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI}i386.deb )"
+
+LICENSE="Vivaldi"
+SLOT="0"
+IUSE="proprietary-codecs widevine"
+RESTRICT="bindist mirror"
+
+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]
+ proprietary-codecs? ( >=media-video/ffmpeg-9999[chromium(-)] )
+ widevine? ( www-plugins/chrome-binary-plugins )
+"
+
+QA_PREBUILT="*"
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_prepare() {
+ # Rename docs directory to our needs.
+ mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die
+
+ # Decompress the docs.
+ gunzip usr/share/doc/${PF}/changelog.gz || die
+
+ # The appdata directory is deprecated.
+ mv usr/share/{appdata,metainfo}/ || die
+
+ # Remove cron job for updating from Debian repos.
+ rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die
+ rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die
+
+ # Remove scripts that will most likely break things.
+ rm -vf ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die
+
+ pushd ${VIVALDI_HOME}/locales > /dev/null || die
+ rm ja-KS.pak || die # No flag for Kansai as not in IETF list.
+ chromium_remove_language_paks
+ popd > /dev/null || die
+
+ if use proprietary-codecs; then
+ rm ${VIVALDI_HOME}/lib/libffmpeg.so || die
+ rmdir ${VIVALDI_HOME}/lib || die
+ fi
+
+ eapply_user
+}
+
+src_install() {
+ mv */ "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+
+ local logo size
+ for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do
+ size=${logo##*_}
+ size=${size%.*}
+ newicon -s "${size}" "${logo}" ${PN}.png
+ done
+
+ if use proprietary-codecs; then
+ dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so \
+ /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2)
+ fi
+
+ if use widevine; then
+ dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \
+ /${VIVALDI_HOME}/WidevineCdm
+ else
+ rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die
+ fi
+
+ [[ ${PN} = vivaldi-snapshot ]] &&
+ dosym ${PN} /${VIVALDI_HOME}/vivaldi
+}