summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-03-13 08:27:40 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-03-13 08:53:30 +0000
commit185c1f6497000e4bdbe819ac9b3fee3148250f41 (patch)
tree66f36f9bf5948ec1b56a1ab87778aa33b7f3dfba /www-client
parentdev-ruby/hashicorp-checkpoint: Delete old version (diff)
downloadgentoo-185c1f6497000e4bdbe819ac9b3fee3148250f41.tar.gz
gentoo-185c1f6497000e4bdbe819ac9b3fee3148250f41.tar.bz2
gentoo-185c1f6497000e4bdbe819ac9b3fee3148250f41.zip
www-client/vivaldi-snapshot: Add version 3.7.2218.29
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.29.ebuild203
2 files changed, 207 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index dbb2351f4269..ce0dde346ef2 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,6 +6,10 @@ DIST vivaldi-snapshot_3.7.2218.25-1_amd64.deb 78709784 BLAKE2B 9b014340c5cac95b0
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.29-1_amd64.deb 78735348 BLAKE2B eb3b21856be0dcfc1ad01de269f600f93e8095cb2da996bfa37d35823a72aae9ba46b3e5033f45886388c48afd1e1b3537afebf52a2e5d2ebb232df2fd8a5566 SHA512 7a17aa722d53322faedf350069663de1c986b999f898adf4cbad97fe8aab01eacd23f24886e1b834b222d142dd1aa90bc8ec5f673a30e954a9346807de9e77c4
+DIST vivaldi-snapshot_3.7.2218.29-1_arm64.deb 70812268 BLAKE2B f44684fa5f5b3a9119b65be6c8699802d0b7f89029aa6ea03303ea792778122fe7990f47a5d88c8ffdd451524ef64b80088177c1e0b4efba038d51a476e7ba81 SHA512 09d219d3af8e1b88363e3aa62cea43f0486af7d72033e84ee684f0f85bb43710d6815fa870cf8148923781a3d51b6fc8c99f395eafdf0ac9654043f73a02f26a
+DIST vivaldi-snapshot_3.7.2218.29-1_armhf.deb 69650632 BLAKE2B 1ceb86bb5cabd2e3d34edb6cc81c5c60806fbc68fbf9d29320475b725ec0311907b6e0666887436c0a0588c8db5c61f9ef3cd7c484a982215a0eed7aa30b4040 SHA512 19b6908611cdaa0455d758284f8804d764f5ecc48b5332001e9a80253fca21465764f3742937a857b6aea559e755a5090b9d466135f8ee0994afd0f39c2d4199
+DIST vivaldi-snapshot_3.7.2218.29-1_i386.deb 75769804 BLAKE2B fe57189c01492f707f484bf835cbb64f25fd7f4242b3143f3516c38a0f09223935e8dd12d63f8b10f7cc78a191da5181e3da67e002b12e2ea8cb89188e6601ca SHA512 ee0b55e187b0464e03af3cbef3e1fce4749a87726abcb89786ef000d6fc093cbfe8983f328cfed09d562ae235cf6439bf8c8a1482f97c61f966d7c1f368302c1
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.29.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.29.ebuild
new file mode 100644
index 000000000000..beede0dd59ab
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.7.2218.29.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
+}