summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-03-25 09:22:25 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-03-25 09:22:25 +0000
commit69749e90652d02de3b070ab813b375fbcd85f3a3 (patch)
tree2675785e8ca0ecf8a9c72f8237a8d01a7304deb4 /www-client/vivaldi-snapshot
parentsys-kernel/vanilla-sources: Linux version bump 5.10.26 (diff)
downloadgentoo-69749e90652d02de3b070ab813b375fbcd85f3a3.tar.gz
gentoo-69749e90652d02de3b070ab813b375fbcd85f3a3.tar.bz2
gentoo-69749e90652d02de3b070ab813b375fbcd85f3a3.zip
www-client/vivaldi-snapshot: Add version 3.8.2238.3
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2238.3.ebuild206
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 17911ee28496..ce90ff201236 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.7.2218.42-1_amd64.deb 78357072 BLAKE2B f6406b570ba7f009e
DIST vivaldi-snapshot_3.7.2218.42-1_arm64.deb 71058668 BLAKE2B 4d82c740e228bb1595616bc90cddc726f974be5eea28c978fac8cad0fad11da6ddd057a985411d6474315976d51fea659c242f1067cb4dc39f3cca9afc59a517 SHA512 2d97e0ec1022031b686ef250bfdd2cb1f2cf993c7b3b14b9924ff9d44d0f5d61ef8b0d7a2afb5444367addc527d70ce1e6312ab0af3b4e752bfca28510af28d3
DIST vivaldi-snapshot_3.7.2218.42-1_armhf.deb 69882472 BLAKE2B 97b8ad6a63e6e16579ee62c3c514d385feac8f163c0c8e68f5b69ad256a8ca5a61bd37b4b12f597e61538006f30456d90a750fa4619024ae71ad049b499fd9c1 SHA512 54d7bb8f32fae324788e9f659aa81ce1533da72e8676db83379a020ba456942275e0ccf3bf8558be58dc6fa9b17265d74fb264380c02437ad14b070cbbb31e5b
DIST vivaldi-snapshot_3.7.2218.42-1_i386.deb 76060508 BLAKE2B 7b402c88bf56a42c1b13ccf05ef204cb00c518348a7e39b5eb433c6faf670efc36bd6a40d4418d099ffd38c538193c825b63dba316b52149d8c66fc3633a7258 SHA512 4328ada6e414ed719fd50d2937d61e466ea4b9488b9d9a8a3450a25f737b85afb982d0e727b820ba2fa62c392b764017a0dbc4da5e49eff5e7978d29964b873f
+DIST vivaldi-snapshot_3.8.2238.3-1_amd64.deb 79031388 BLAKE2B 145b9b17509fc9c96ffb94dca369cb2d7a9280cbf3919cb925e1f889e371ec3b405f310cd2945f78561c7738c00e756c4d55a07a99a784d2693ae00ca40c0312 SHA512 a0398d4275fd8992aea68a2bcf26e2992df3e11a8f347178797eea5655a00d7f6bac669499138b3f60bc268d6e0ef268bb192420d35558068645c90ccd5adc04
+DIST vivaldi-snapshot_3.8.2238.3-1_arm64.deb 71080608 BLAKE2B 06700f48c5b2b77a3f9961eae36733b25492b133cfdb2634e0a33c111e46783f22236fc9aa395e501dc735fcbbb74ca71aa93119e7541e702663a955c10949b3 SHA512 83bc8802755500ff0c67cd7d7f6528a26a6e61f86902b749656f79db8ae4ae06285ed0cb27acc95f11927ac2c499e9ca3c24fc77098dc9a14722fa627f04af49
+DIST vivaldi-snapshot_3.8.2238.3-1_armhf.deb 69906156 BLAKE2B 69e68fc3d9d6240249feb15a1aac890f15e1a937fd4ef4fd099f92220476340240e349ef1122027218d0378c709b2563f05619191fa1f00e9dfc5c2aa2c43c28 SHA512 0e16a8a1e4812621f7096ad6fc9704b807617d5a883ec210ac5ffb7415a250429874eafa962cd9bf4db082e7040654a7edbf824d060ed89182398e09eb2bcc65
+DIST vivaldi-snapshot_3.8.2238.3-1_i386.deb 76058884 BLAKE2B 2f89a4ac022d48cfaa4af5c494a587b023c6ccc621c33ca2511906b9f875307e407835289586fe4de595b05132525ca63bb5955e99710fa9234735a3b938f590 SHA512 cd7f8600588bd16fa1f29968a95c569d335c34b0fc928cf639806ae248fd0d466b014f7838bba899b348ef6cb20493a2f85567f37119e906f148ce73495eaecd
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2238.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2238.3.ebuild
new file mode 100644
index 000000000000..232d99b73e99
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2238.3.ebuild
@@ -0,0 +1,206 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb )
+ arm? ( ${VIVALDI_BASE_URI}armhf.deb )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
+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:0/56.58.58[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 ${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
+}