summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-12-06 00:00:28 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-12-06 00:00:28 +0000
commit1cd444df477814b351591d11e0bf02ff805e862d (patch)
treee031d8c720182e2908f97312c22ae478b1663905 /www-client
parentwww-client/vivaldi: Drop old 5.5.2805.44 (diff)
downloadgentoo-1cd444df477814b351591d11e0bf02ff805e862d.tar.gz
gentoo-1cd444df477814b351591d11e0bf02ff805e862d.tar.bz2
gentoo-1cd444df477814b351591d11e0bf02ff805e862d.zip
www-client/vivaldi-snapshot: Add version 5.6.2867.22
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.22.ebuild207
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 108464399897..b6b7547ed0eb 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot_5.6.2861.3-1_armhf.deb 90991428 BLAKE2B 75d00e28532dddb5b2
DIST vivaldi-snapshot_5.6.2865.3-1_amd64.deb 101232472 BLAKE2B 7c23dda06e4f799c6adfd599fde56a86dc9dd13b8a54884bf63d363f624642e1282379add8c5116abb90c510895909e51b1c815e3c6de887dcc32d9c7a66c357 SHA512 0a5bfb3abae0e23b337b6d146922ab40d2c790f1e6877420c43edf8fb132d26d5a351e08cf22bc46be91db79cf3c53a644febe5ec3ebdf5f417abf2021c51d97
DIST vivaldi-snapshot_5.6.2865.3-1_arm64.deb 90873684 BLAKE2B e2d6a8db2accd5c322f643b78c329f1db5c586f02401fc365cdc8898856a48245f92a41f82e95def4f4c7959418d2ea806b92514078420ce2bcf29b9ac8eb305 SHA512 e0fce932c50b8a91efbc9b1417375eec1dbbe8acbf97e80c1fb297e6ef5d9491175abd31f9749c1df2700ee5ec958c2f7f65ebde4f4710dcb15d78d6633e43ec
DIST vivaldi-snapshot_5.6.2865.3-1_armhf.deb 90168840 BLAKE2B 0c18d86cd28b18bae909004b3367b38a8b7a5749b8492d8a60b18cc518f45248b9ccdc5f101991e289c8caeb0bc3d60e2d586b48d33818df49cae707fce65445 SHA512 759f6a7333a5e0285a68340c4b7d67897f9e83ac1d7051965e5516bf776c5e5410852e062a8097c936362b45fa803aa3c55383db3b62cc59c6ae27a5345c75d5
+DIST vivaldi-snapshot_5.6.2867.22-1_amd64.deb 101273840 BLAKE2B 9c23116d2fd76131718191e8e589ddf9593705bd2d18dab0e3d92e6058e2d38fbdd44fbbd5e76baf692adf9941cb30a08406c82e6e5eda8f265fa0c6872bd55c SHA512 1c4b689e33522ce7b1f7718b5ac4fba7c2dd4282cbb01d48c8efcfd40f400d85ff1f67f7609bec32be8780b5e7b0b16ea0b410ae03962d4323e2e7ae62467930
+DIST vivaldi-snapshot_5.6.2867.22-1_arm64.deb 90938988 BLAKE2B 4b04f9e60f2e0ec74f1b800b05bef0d9291fa0a2d96a4e7f58e337c3be2e44d31d49ce866eeb8866e795ad2ed94ea75990d82ff3a10c136d627fd01327083295 SHA512 f1c3110f82f5a2967c14425bc95e292534f76eb5e0f454f43b6074873f7bb903db5644e6e5595d089ac836d11c5e22d1f93da2ebfa2cb6edc33a0fcb52c38f2e
+DIST vivaldi-snapshot_5.6.2867.22-1_armhf.deb 91068076 BLAKE2B a918c874860f433dc7ea35f62320463b0c43de4c19ff7e559abfa99bd8ff3930f7e825f43cf3b9448928cfe0f95579582035c8d4a58905b0b3458dfa862aea5c SHA512 c7595754e2d33024f0d03d03f48d7d2ba14014ea72446ae71f5670933b387a0dcda1aa6ead50fa686aeb6a9bb8c01f4e0bab12f50776718042db43371ad5e8ed
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.22.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.22.ebuild
new file mode 100644
index 000000000000..82e87d9746ea
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.22.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+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
+ ur
+ 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
+
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
+
+RE="\bamd64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" amd64? ( ${VIVALDI_BASE_URI}amd64.deb )"
+RE="\barm\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm? ( ${VIVALDI_BASE_URI}armhf.deb )"
+RE="\barm64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm64? ( ${VIVALDI_BASE_URI}arm64.deb )"
+RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI}i386.deb )"
+
+LICENSE="Vivaldi"
+SLOT="0"
+IUSE="proprietary-codecs widevine"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa[gbm(+)]
+ net-print/cups
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon
+ x11-libs/libXrandr
+ x11-libs/pango[X]
+ || ( gui-libs/gtk:4 x11-libs/gtk+:3 )
+ proprietary-codecs? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
+ 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 -vf ${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/${VIVALDI_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.${CHROMIUM_VERSION} \
+ /${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
+
+ case ${PN} in
+ vivaldi) dosym ${VIVALDI_PN} /usr/bin/${PN} ;;
+ vivaldi-snapshot) dosym ${PN} /${VIVALDI_HOME}/vivaldi ;;
+ esac
+}