summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-03-12 09:07:20 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-03-12 09:12:11 +0000
commit79cb44d179a047791c3a6d839f7bc64d94491171 (patch)
tree94613ab5622eed049f5e34760b115c0aa0eb16b3 /www-client
parentprofiles/base: un-use.mask efl[avif] (diff)
downloadgentoo-79cb44d179a047791c3a6d839f7bc64d94491171.tar.gz
gentoo-79cb44d179a047791c3a6d839f7bc64d94491171.tar.bz2
gentoo-79cb44d179a047791c3a6d839f7bc64d94491171.zip
www-client/vivaldi-snapshot: Add version 3.7.2218.25
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-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.25.ebuild203
2 files changed, 207 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 2f28ab2410f6..1062f4d8a606 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,6 +6,10 @@ DIST vivaldi-snapshot_3.7.2218.21-1_amd64.deb 78724156 BLAKE2B eeb11f2eb7e5c6232
DIST vivaldi-snapshot_3.7.2218.21-1_arm64.deb 70803824 BLAKE2B 3ce81f9357088471bf1c2ea944b002dc4a9b55ccedbda4e59e973f8adbadd48f13b685b6450b223f6304d5401ed5b4d75542e4e0ef2f584d5ca338cb4b6545c6 SHA512 33dd8a2012bb3576ccef734c7105a8c3e749a0a793d12d1fb4a973b85c1f9e3f16073de83defea0008e3d27129f74da3f2f1087bcbd3509f3c4d79e2aa26a361
DIST vivaldi-snapshot_3.7.2218.21-1_armhf.deb 69637784 BLAKE2B 7c908d00745561408663585db30ca8696413834694c439c58c204c0a5e4359ffaf7d9c2295bb64be23850059deabc00aaca20ca81f0ffb7491cea1c8e1895b5f SHA512 baac2832c4b8fffac111b94c3312dc9a82e5404ca02804862065fab66ab4aaa11e08435cc663dbaaac4dc56276825aeaa1b46a0b7c5d63dd384c3e56063b484b
DIST vivaldi-snapshot_3.7.2218.21-1_i386.deb 75750952 BLAKE2B acca5066a510c218f40c8b40d47347a0f4afd56958e36f3e7530a0fb93cc356dbafb8198fc5326bb86f77d86e76a3f5c5131f2505b42a1045d75fc0f61877f69 SHA512 e2e7f8e9196fb03abd8beedf37ccb0942ed21615ea6ba48e695867903411b5becd65bad66cdc22c38ea276b2a1266c3a03c18a755e659d651db52cec8b794675
+DIST vivaldi-snapshot_3.7.2218.25-1_amd64.deb 78709784 BLAKE2B 9b014340c5cac95b0fe3e05b7aa070ea0ee642d9d7604d83c1cec1c95cde3f8c03d6f4c961d035c6674f118cc29fe380e6939d3b80619c404cab115985f655ca SHA512 e41a098169af40b0d75f9bbfdd405f86e3cb842e49cc5cfa3ba9579573633bf1a7e451b58492f82e162f55850148edaa5287f6d60645140f506fa9e074806fa6
+DIST vivaldi-snapshot_3.7.2218.25-1_arm64.deb 70823924 BLAKE2B 1b14ae98af1efef91b3b2df574d8195bbba1882c72930780b8b499af22eed6a6e08d21b6a294eeefea2c60c081e5f6285a7b90a3d5974d2e0bdfd8c5e07a131e SHA512 069a987094f4a58e679dffb183bfad0088d57ee1875feca6c7235cdebadd35bbd790e1189dce3163fa5380826adb230d5270f778429bd2f216a6ed81a24e9084
+DIST vivaldi-snapshot_3.7.2218.25-1_armhf.deb 69655016 BLAKE2B 104d1646799c24da61add66492c575b47f848df8c686cc95f5074523c668880c8c8ec2fb18407da843a33f0db68e81d69129e0a3820b297c96441b58a2ef835d SHA512 3f64fb39e650a11f9850b6e0a7ef66536e57b9c5a2f62ad8acfd11d4280d128d42aaf3991446e4a1dff20de84b81d45e417c6ce45e993f98462643d73a7a2207
+DIST vivaldi-snapshot_3.7.2218.25-1_i386.deb 75771152 BLAKE2B ff7d64d892409c29de8bd2bf79561dbb2091bfa436ac4a1d1bfbc479a61c107a5c6eaec85ffbc490389528f2211129159a993e90f342911f38a6f6d0e21c7ab8 SHA512 1f50ad5b3b8123e233c8f05dfec2aaac636c7d902411a241307bea3ce75f99027a2ce2b311ebcdc799cc2cd8cfc4287ac9e7b6fdc85896f7b3ea4d6b5351e913
DIST vivaldi-snapshot_3.7.2218.3-1_amd64.deb 78724140 BLAKE2B 8f939c2723a7ae2e580cf9285c13d7434b62805fef26c494aceb4307aed1f51f4b6bc77203423ca464baf6b10029fb486afe805cfacb5bef35199db33106ee12 SHA512 6c4e6d16877441d3b5dc2945592cdd48f45217ca52fefb88d681296658ded86b670ae3e14b4d1b929e89e13e3b408df8aa12d2ceea8f3689d2383af21c87bd13
DIST vivaldi-snapshot_3.7.2218.3-1_arm64.deb 70800716 BLAKE2B 579d53a12c6eefa8c69fda681876f9216a78cc960db6a9043065a698b0e26d0a2a7cf9ee52fc2cdfa0b19599f17aa9cfcab3ac94921899f771389a276f501713 SHA512 f0b59a3a96d463c78185aef41597b013b5c2c95583c51f0023d1af994bb643811318a606fdc2600df7e001740487dc942aceae4e8613103210277c2f38e0a7c7
DIST vivaldi-snapshot_3.7.2218.3-1_armhf.deb 69635832 BLAKE2B 4b8ed5c5b7a454dc4def3c4c6ac7971b125c85bc6a6f8d0cbc2ac5b10df36623adf099f0fb54fb0cbe29859d582f62dc47eb247971b82ebc89ce229439332b35 SHA512 cb59e237239e70f3c317e27f76da7d087291d825b472041548dc0303f384fa4fbd2ccae7138377090207ad8ccce82706f123cb95d718a79b4a8c55a02a9d4566
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.25.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.25.ebuild
new file mode 100644
index 000000000000..beede0dd59ab
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.25.ebuild
@@ -0,0 +1,203 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHROMIUM_LANGS="
+ af
+ am
+ ar
+ 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
+ pl
+ pt-BR
+ pt-PT
+ ro
+ ru
+ sc
+ sk
+ sl
+ sq
+ sr
+ 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
+}