summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-04-24 10:17:30 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-04-24 10:40:37 +0100
commit89144d12636ce9f9947ccbfc99ccbb7831ceb9d6 (patch)
tree792f902590a7b8cf61ebac686b0aa8d666ac029b /www-client/vivaldi-snapshot
parentmedia-video/cheese: set VALA_MAX_API_VERSION to 0.50 (diff)
downloadgentoo-89144d12636ce9f9947ccbfc99ccbb7831ceb9d6.tar.gz
gentoo-89144d12636ce9f9947ccbfc99ccbb7831ceb9d6.tar.bz2
gentoo-89144d12636ce9f9947ccbfc99ccbb7831ceb9d6.zip
www-client/vivaldi-snapshot: Add version 3.8.2259.21
Package-Manager: Portage-3.0.18, 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.2259.21.ebuild206
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index a59ba47eb489..10d5168e21bc 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,6 +2,10 @@ DIST vivaldi-snapshot_3.8.2259.16-1_amd64.deb 82378492 BLAKE2B 1abfbe5703e5c3f24
DIST vivaldi-snapshot_3.8.2259.16-1_arm64.deb 74007352 BLAKE2B 05afc39faff0b195cea99402ebd262a05474e1ebaec8383c08200ac47ad5123d05d592da594d323d85b39882a3b1faae123a277699d903238fad6fa290975c5e SHA512 31bc98c02b1f5c0c8f8b4fbe18a0023fbda03c328777fab8c90372ae7daed8a8065a3388d36d7fcd2672c3d87704ea1dcdc5ae35674960d3257b0c61ebca8622
DIST vivaldi-snapshot_3.8.2259.16-1_armhf.deb 72569996 BLAKE2B 8fedbf940a93e1bb2607f28ab750ae6f0ca376d2bcf420da79fd3821f40bb6293bf3dc76f3b58ffddaddc4cebcc50c6c44b92106c35075c52554ab721de97e88 SHA512 30c1a9f4e93aad1694378c239b9cd90df8e14b78734b0e7b066197bca19de7251ec9042e30fe24c2d142fd4182d59e914f6f1376217519c57eed1956183e39a4
DIST vivaldi-snapshot_3.8.2259.16-1_i386.deb 79496052 BLAKE2B 5742f558c73e1e0fdf990d44ef127d60813743a5cdd696f1353dd4bbaa6f86874730a91b293c2a14360d810e86350c06b55d7998e5a50e1758dac13b3bc03945 SHA512 bb528a6435bb3fd996d6c55573a5b13379e2e25f61368310534a73b5f444220f9055c548c4955e1b61e4385f2726449dc8b527d82fe15c465557217aa511d10f
+DIST vivaldi-snapshot_3.8.2259.21-1_amd64.deb 82394888 BLAKE2B 1ea53010856cb8132f5fb824123f914e801128c8df70fc12dc9c6c5a41268fc7f957b4ba206e440e5d50ff70df40dc2c7a86a49b65072b08b73225fad89300dc SHA512 b83c26823976094a28ff899aaf1bbd87c5390eae936307d662470bc108cd41e87e585f5e1b31d3d40a316df829e72c487163239b9b3d92a0115608828386f7c7
+DIST vivaldi-snapshot_3.8.2259.21-1_arm64.deb 73991336 BLAKE2B 87b870be7ab0f243fca561b6549e67cf4347dd3de1327e48eadff68a8c78f1494946621202e4b1446fb8eb17b1c460ef26c73755acacfffba90f93880d101dc1 SHA512 0633d462b2661605ecd565ba2836fe31507888f5866c39248fce21565454a5b3530cd2c386218f10784af7e7ff8ba2927fea49b51a0d32ae9691a8cd391bb989
+DIST vivaldi-snapshot_3.8.2259.21-1_armhf.deb 72569568 BLAKE2B ce6a6717664155627178bf993dcb7010750cf8a34062fd967c5822b327b10ae3cb4c553da389961968b9779ad2aa0343d4a8d064f2fff55985721b9bce572089 SHA512 9905cb5cc40c31aaf015c5aa068f0c5092826dc2eb2ea4ad499f09114d7f5b9c42092d513ce5bae552ce6864333ba0c34248c97d271f843e9f1108c7aa040575
+DIST vivaldi-snapshot_3.8.2259.21-1_i386.deb 79489808 BLAKE2B fa27f8a9476ac6bb4aa9ee3a0556b77d7f79ac446be180c7851e3d020a683f1cacacef0fdf9d8bd71e297f9f8428026f4da251998c5d45e27cc2722b9ff2a4c5 SHA512 636b08c892ef0057a7500b672d1362eb20f6b31b1b8e6c376f78cfd213ece801282160a219d8ec619b306b2236e94cc80166d52f2cd47665c26547819c8e746f
DIST vivaldi-snapshot_3.8.2259.3-1_amd64.deb 81768316 BLAKE2B f833b674f0675fbb493d53c3d3bf11676710950529adf34b12bc2b04918f1f5d15c49c79204e54eb839075d1bb322d5c1f6ac30a674b37e6a18dca79f7fd1445 SHA512 4894c3700e15fe5c422795805a95d9aa185fff8813905f3dac0a09bf7e7b5f9d177eefa09b6653c7b66cbe39ed6b4b21a0766b2221505318012ca17b986751f0
DIST vivaldi-snapshot_3.8.2259.3-1_arm64.deb 73387384 BLAKE2B 4e82aae00994e9dd7d15fc68fd71329585e96a2b96d83f1682113c9a3c3f83ef1ac67b326e1fbfebc8c3870afc9d0ae178d4b414b2cb4fa95eec475dce62a0a4 SHA512 93a4bd5407ecb56aa0999ed9604a64e5279fc3a80f7734c8d57face88dbc5fb8f45d11118b5a32ebe71623ba89361dac8b370cc7423628aa62230ae1b8520674
DIST vivaldi-snapshot_3.8.2259.3-1_armhf.deb 71951400 BLAKE2B a82757b418d2419a0950e3ee3086a809875c3e3d0c0da2465f4a5a9fa43bef88723184c46ca0ca868a543468fbec7eaa2b7edab64616bb7487a49a3a73dc7533 SHA512 a4a72b699520a6bfe3f9b785e142b05cc64fc034e9c6d6a676d71053c01735866afeccbe6364f3d9a882bfac7c9dde9db6e72a48e20268be9476013df41b4e3b
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2259.21.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2259.21.ebuild
new file mode 100644
index 000000000000..232d99b73e99
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.8.2259.21.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
+}