summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-11-28 23:48:15 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-11-28 23:48:32 +0000
commitfcc1a526dc3930e59d961bd75d178553517d5aff (patch)
tree6c8b3286260c788002f0f1e2479e57085f186122 /www-client
parentnet-misc/minidlna: Keyword 1.3.2-r1 for ~arm64 (diff)
downloadgentoo-fcc1a526dc3930e59d961bd75d178553517d5aff.tar.gz
gentoo-fcc1a526dc3930e59d961bd75d178553517d5aff.tar.bz2
gentoo-fcc1a526dc3930e59d961bd75d178553517d5aff.zip
www-client/vivaldi-snapshot: Add version 5.6.2865.3
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.2865.3.ebuild207
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 956562f02ad5..e10304f686b6 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot_5.6.2839.3-1_armhf.deb 90294052 BLAKE2B 5c3d0b42c1a7c24540
DIST vivaldi-snapshot_5.6.2861.3-1_amd64.deb 101214436 BLAKE2B b4b67d7124490bf7775bf14386505c02c7a090f81df57071a07c45da1e45488fe871733fe976824ef728012d390d3c00bb71022d3fa9892f59da507682ed1f09 SHA512 c8a352f4e74adf52c94be8bb2461bfcaef56d0c63f8f6119790862b4036ac0f1270af612046e808421e84aec6863b2722b455531b873b7d4addf95804ccb3d43
DIST vivaldi-snapshot_5.6.2861.3-1_arm64.deb 90873664 BLAKE2B 190b2892e77e7d09d4b15b228e2dabe2cda35fdbbb91b681e0aa6b981816bee7d0866c248500e5d6b0ab8ec01bba83922cc5b1ace6c51cbe4df863f2be275fa2 SHA512 34b03df5c48e1d9448ce348e30e8d864c6c21b17fd13d12b537ef1ed5faf15d4c5e02325ae3a509803387ef7da06eca6034fe9867ee98b13fad7e4640953b047
DIST vivaldi-snapshot_5.6.2861.3-1_armhf.deb 90991428 BLAKE2B 75d00e28532dddb5b2fff1c7d8b7f43ec0fe3804e695b27505796bba071c56f3d379f121f9936f683a15792e58cf59c3e22a119340eb8e27fcf4d8ebb1aaf742 SHA512 0fb10bce051a4808f793a5ff4c26e1803f77d93deaf9dc6f3386583e18be5b4069cdcd8e6e615e76b08a682871b0da81e004065636e8067801df1da46a485af5
+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
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2865.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2865.3.ebuild
new file mode 100644
index 000000000000..82e87d9746ea
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2865.3.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
+}