summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-06-06 21:42:12 +0100
committerJames Le Cuirot <chewi@gentoo.org>2022-06-06 21:43:49 +0100
commitc286b57cd02fad3f70d672db62d0ec801534da52 (patch)
tree41a88ae52f6ddd918c15b7752799ef8a8f232738 /www-client/vivaldi
parentwww-client/vivaldi-snapshot: Drop old 5.3.2679.16-r1 (diff)
downloadgentoo-c286b57cd02fad3f70d672db62d0ec801534da52.tar.gz
gentoo-c286b57cd02fad3f70d672db62d0ec801534da52.tar.bz2
gentoo-c286b57cd02fad3f70d672db62d0ec801534da52.zip
www-client/vivaldi: Add version 5.3.2679.38
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest3
-rw-r--r--www-client/vivaldi/vivaldi-5.3.2679.38.ebuild205
2 files changed, 208 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 36909687f6fe..b8c7bde0c227 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,3 +1,6 @@
DIST vivaldi-stable_5.2.2623.48-1_amd64.deb 87799980 BLAKE2B bd6a128a4e2ed558436b516e8f9fb4ed31ff64ded5704084a21817d674cc8bf575f9f69c7be47cba72ed3e34cfb5b59de7321a1893e15865c190c2cc6c205fb1 SHA512 c69a6b4c46099969d6804a8cf6e692410cb4b04a28e1b28d23b300ce66bc603eac7e03b98eade1b7b227f9f4ae5f6111c37bd6576ccd35e32a738906dc38529e
DIST vivaldi-stable_5.2.2623.48-1_arm64.deb 83044644 BLAKE2B b1b3162e328a458219b38daf8defbd63f099c1ee1c878a36374fc9a8f7402692995faa782a5a128d08bedc86b07705ca76f4fb67ea95a346e041ac80ef449eb1 SHA512 aa73afddb6b1562a7337d95ee00df3a031b75c14ead977034fa267b6c54b26b7a36449faa4cfb78ed7911d87fc019eb42c1d074c01dc67f148b1d4229323de33
DIST vivaldi-stable_5.2.2623.48-1_armhf.deb 78932488 BLAKE2B ddd4350733714fec96c232b7cb99f9ae9a8ea295d4ad90810ee46a4f0e881478bdb8ccae09ef9701e757e20919151c48fea68bf194d39b0563fce99c0db92355 SHA512 b42f0dc66d78feacc22be5b4ed15fefd407a991001210d61deeb3dca51c622a4a54fbfb2ca036268a8b212f132f62c79e5179baf6fa1427ee75b1eadccf5c04c
+DIST vivaldi-stable_5.3.2679.38-1_amd64.deb 89866284 BLAKE2B a9d565fad87467ad5c79f2ab2ff24db50d4d7e37996c0ec4d70ee9395d81c408274ae761c38f64d449bf2712bfc1e83d35627dc12ce228db07ae11e859c01751 SHA512 a89d7c87872fe3f4e155ecf9e6a494b26a7be60fb11a6d22c96662c51d256b8cb1091e0caccc18756e00ca84db32e17319e63a493a574c3ab6ed86067ead088d
+DIST vivaldi-stable_5.3.2679.38-1_arm64.deb 81620276 BLAKE2B 11767e25455b0e8f55e6280cb30350491fcb30bbf701686e2942b53e4233e9b987462bec438c9b771421379ee18ce8929bdfe7c11a2c1f4dd2b08e2ed8ae7632 SHA512 86e8e75c1543f5d26db0bc1f413235d84d0b3092bee0ae4255b78f44038fac7e16c628c776ad8b776c63128df9b8f8437d09cb68a3a175c2d9379f891167fd9b
+DIST vivaldi-stable_5.3.2679.38-1_armhf.deb 81282548 BLAKE2B 6e26a5e0e740c1249829fe5cbdbb9d9aadae85b23a903ec8056cfc368680392478c30cca1aa2ce575949792005bedb45fc2a3911479308e684565430217a8521 SHA512 a8ea554f89879178eba9693befa17a98493fac5f2a8010e043a611db613d2fe4fe7c0cf515fe2bc62903b025ec559004a60d1027c65b65acbdc58446da650f7b
diff --git a/www-client/vivaldi/vivaldi-5.3.2679.38.ebuild b/www-client/vivaldi/vivaldi-5.3.2679.38.ebuild
new file mode 100644
index 000000000000..376e4e12adcc
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-5.3.2679.38.ebuild
@@ -0,0 +1,205 @@
+# 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
+ 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-atk:2
+ app-accessibility/at-spi2-core:2
+ 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
+}