summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-04-10 14:24:20 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-04-10 14:24:20 +0100
commit1c0c190db6cb53accf7a8aa27df06c3d329df416 (patch)
treefd66a2ecab20afe51b182bd112dc18b8b35aca81 /www-client
parentnet-analyzer/telegraf: Version bump (v1.18.1) (diff)
downloadgentoo-1c0c190db6cb53accf7a8aa27df06c3d329df416.tar.gz
gentoo-1c0c190db6cb53accf7a8aa27df06c3d329df416.tar.bz2
gentoo-1c0c190db6cb53accf7a8aa27df06c3d329df416.zip
www-client/vivaldi-snapshot: Add version 3.8.2254.3
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2254.3.ebuild206
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 98a413cdee07..5f17b94909e7 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.8.2238.3-1_amd64.deb 79031388 BLAKE2B 145b9b17509fc9c96f
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
+DIST vivaldi-snapshot_3.8.2254.3-1_amd64.deb 81752328 BLAKE2B 6d46b7f4cce84b9a40711cb71504dfed8a200927b821cdc9744f4e666747ee47b50e4cac60695a3238beccbced8700f8be09cf4b9c359bb7f7132cb301de2168 SHA512 6135c5a59e316df3e70ca46c64b0640bb825ff01f3a769798d67878d69e2ef4415511dfb0b282851493e1f120b4fddf8fcbfb8fe318105dddef4f6f304dbc755
+DIST vivaldi-snapshot_3.8.2254.3-1_arm64.deb 73386592 BLAKE2B 173407bcac8faffe6760d3a0286d0a81b85f6c13950a55a6d79fa19106e5842e510bf17f2aeb3e9625dcfcd183afb8404856c7d394851bbd864f4d7b88cfa81d SHA512 6d9aab60da26a5543b186085b2d610fc3f5461f489318d1e77936e13ea0d640b66ac3f18b137505271ca743113f5db2986b7c5ca4f5845823fff73204a15727e
+DIST vivaldi-snapshot_3.8.2254.3-1_armhf.deb 71963792 BLAKE2B 6778294e7eaf8380c1f3f10405c9df4a4d619fd5d57e901ebecb25d35c57f41eb7853658b712b35760dc1deffb134292f798135f62f15b0e4dc3a6caded65649 SHA512 747ed64a88ca2d0a8711ae9f97445183c0b333358bf886528bbb8159a17c088caa0eeb39dc5c6391f0b37347e98fc253d4e3e1ba949c6ea6dff0277103410259
+DIST vivaldi-snapshot_3.8.2254.3-1_i386.deb 78856764 BLAKE2B a5df0675bb7626600b63c6df4b1c2c20336cb98179b329dc564a23ceb90b1e8ab5944c1babc75586c967e23f2b824f0dde7bc2a523b6beec1c64962259d88584 SHA512 740cceb6fe383e303c89a5b4885bf40c12a3b5162c6c212b70a1f3bdbdcf422ffa2bb862472b92862a76d612b2ba66cea7b76991f9846c81e6ebd15aeb585553
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2254.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2254.3.ebuild
new file mode 100644
index 000000000000..232d99b73e99
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2254.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
+}