summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-03-25 09:24:04 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-03-25 09:24:04 +0000
commitf7efce1c136fae25576ee801ae4b20a8faeae1c9 (patch)
treebc4c6d01029ef31f770a0e5ecc43b8c63b339f26 /www-client
parentwww-client/vivaldi-snapshot: Drop old 3.7.2218.32 (diff)
downloadgentoo-f7efce1c136fae25576ee801ae4b20a8faeae1c9.tar.gz
gentoo-f7efce1c136fae25576ee801ae4b20a8faeae1c9.tar.bz2
gentoo-f7efce1c136fae25576ee801ae4b20a8faeae1c9.zip
www-client/vivaldi: Add version 3.7.2218.49
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-3.7.2218.49.ebuild206
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 6299eb1376ab..b12e93dfdee5 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-stable_3.7.2218.45-1_amd64.deb 78983248 BLAKE2B 0208087a99cecca72b9
DIST vivaldi-stable_3.7.2218.45-1_arm64.deb 71064292 BLAKE2B 85737bbb82dc9b971996cabef7dcca334c3155616a2b881436376aadd141b1898b6438e984f4cc53bbe1f7496ef46ac14d17242314a817e9e0a49ce61301863f SHA512 b7211a09bf8c1e944540af4c7df256fd6402fd3a45604f02f71a343a63278b7a4ef3f05db62420089ec7f563d152270b40678e56a71ebee9b5c58fb092775dea
DIST vivaldi-stable_3.7.2218.45-1_armhf.deb 69883684 BLAKE2B 2edfa3bbabf646be447a3a9265a102bb0ddfaeed7562072c7a2a59e6b860c7d094a23cc4b6c8c07d69e96746244e0e8a4c2a0a42f806831f7defdc5149420de1 SHA512 b976eea6834070556a33d6c7e88a28dc42939798c86a2513f418583b31fc7af579f7f63e0b41bd3da2ecef3d1d9113f8e91e06f5c250b8e651af7b97d5574f16
DIST vivaldi-stable_3.7.2218.45-1_i386.deb 76007516 BLAKE2B 6399b6f65e704c87ef643d540481922e3f2bcee81ab3ab897fe170bc25abacefd0bc922f86eb95bacfa053cb2e37284662a1d1d7e09be08792f8b7ca81fc297f SHA512 ab3ce6d4e7ced30c7261743d42f8b538b5feee1468a7dd551e25d11a5f7d35e777663c74e9e86290db682fa41fff1363d71eb73e4431c9b46604f7140b026e4a
+DIST vivaldi-stable_3.7.2218.49-1_amd64.deb 79010508 BLAKE2B 157349e26b52c9e55d0fadeafa48ae9638c4f479eff76dade936991459180c57eaaa1cd951d6f5be6c3c8ff605ba9538ee04ed5b67ab6c1e49675a7adcf70bff SHA512 ca31d0c3336f55dcdec7b6855df5169fe5ac910eacaeb3e6b3ba7c27d7565d5b38411d39d104f1f66edfffebcb6973e22ae76c414920187a1b7619975699b5e5
+DIST vivaldi-stable_3.7.2218.49-1_arm64.deb 71057264 BLAKE2B ca375153a48dda8d119cd1f747c651de914b6665c287a742cf333b090b7d4ca6439b1354e0ffd49a4e2d187bba73f0155280d9c90eac7e6c7aead9336c12e081 SHA512 4a701cfdbf326e7dd16cfc78d303077409fc30cc0fb8ae3cf7963808fbf20fa03b45ae10653c9d3fa46a899e916e343a9f64e8249642864a124e0ebb30f03ac4
+DIST vivaldi-stable_3.7.2218.49-1_armhf.deb 69904972 BLAKE2B 3fe7e29db324993b2afdebd8d8cb8a6c1cac77a8715d46abae9a7b0c191fef0cebe0b7f90647c21bdbed29e8827b1e6f4afdfb3754cbf1bf57f9c238d668c25f SHA512 56be8c105630613f446793c02fa61e1c933118ac268f0568e96ba8cb6082c776f8aa481a246d5d7dc689330e89abd8ebd93b74fa393f54dd5cdac490ac35da16
+DIST vivaldi-stable_3.7.2218.49-1_i386.deb 76032348 BLAKE2B db236d2757355ad45f9304df4f3e053ce619b51df45ae966588cea59530561fe50d7733d3a835766b5540a57c4d2b3f6eef556ced6f35b0d93bacddf043877b1 SHA512 ed36281acca5b8fdf92ac49bebea92307ab5fec6b3b828fdfd9a90f0307d0b5e039b282588df897bebb101f12dc021604b01fc6de40c8cb47f88336b4b7f4373
diff --git a/www-client/vivaldi/vivaldi-3.7.2218.49.ebuild b/www-client/vivaldi/vivaldi-3.7.2218.49.ebuild
new file mode 100644
index 000000000000..232d99b73e99
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.7.2218.49.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
+}