* [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi-snapshot/
@ 2022-04-26 21:17 99% James Le Cuirot
0 siblings, 0 replies; 1+ results
From: James Le Cuirot @ 2022-04-26 21:17 UTC (permalink / raw
To: gentoo-commits
commit: 828c8f89dc5630eb747a1659bdcf444b4f063321
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 21:14:06 2022 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 21:14:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=828c8f89
www-client/vivaldi-snapshot: Add version 5.3.2652.3
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
www-client/vivaldi-snapshot/Manifest | 3 +
.../vivaldi-snapshot-5.3.2652.3.ebuild | 204 +++++++++++++++++++++
2 files changed, 207 insertions(+)
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 1d4fd55dd393..5f0bface2cdf 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot_5.3.2636.3-1_armhf.deb 78950908 BLAKE2B 3b5dd3cfd31c726b30
DIST vivaldi-snapshot_5.3.2643.3-1_amd64.deb 87822808 BLAKE2B 6d4b5241556c56384d29b7e955ec4a80af2f97f3bdf45153eb4582c24cd0c30f164dc5cc77f0e2b09d389125bdbf3d3eac1f3f1c17756ec41a11c999140ff1f0 SHA512 23f3b1b19f671e0cf6eecdff39ae28c3f85e4841fd5c98d88d91c1b9ab0c65c5a4d570fdbff81e66d04ad6f651d7c9f42223843baf2e25406422eb6945b32d45
DIST vivaldi-snapshot_5.3.2643.3-1_arm64.deb 83028888 BLAKE2B 3846e53ad67717d0745a07f897fb22304bff0fd031782d9594a43fbfc42242843bc6054c21a6b3a65282a38e4dd62ac8f29a18ed890a73139cccf4337fcdc6f3 SHA512 53d67e06984ee5c332147af2d4dcba8c76c931dcd2eb807f3b1270d246ed66ea51dae16d2faccad058fafd06a13c114cf58c89a2c3123e564ca5a3b31ce545fd
DIST vivaldi-snapshot_5.3.2643.3-1_armhf.deb 78922984 BLAKE2B a159305edea693f27b98ff5fe53481b2e2a3578a05fe9d75c3b6927d8757a6fe3ab1980e4b74a2d202d4b20e5a149d2752107c88b4e8ba7efdac04c64612de68 SHA512 89a9b37422f97aaa5ee75da3894de6fa21d83dd6080b000c0c91e5bf9c497bfc26995f40a80eceeba0a781f2e9892982f59967b678b5c0397347a57dd1ba1dce
+DIST vivaldi-snapshot_5.3.2652.3-1_amd64.deb 87820896 BLAKE2B b68aa42c5cd5f455700cf1a0cf1dd89a14f7200e8b82a71478664ab1bce0d3b1d5ec30c357a184a12cb87d846f2b4af603fb0dd9271bed2cef7878ea67b9a6ed SHA512 703ff49275e0aeb6c82d3f0f4f33f1b353e9f23fb99f2cbb44d9357cbf376b82a898659dc67dd32e660b1947653632ccf51e67b5dc8d213ab1721da32d8a9c7a
+DIST vivaldi-snapshot_5.3.2652.3-1_arm64.deb 83028328 BLAKE2B 3224cee79e0454bdf605a4b81a6190fb0feabdfcb2c07b2724897eb85dda9c5a6ccce15244e70628233146c1bbe04270c4d9c163ffa74dfd741f1fc3b0bd3b43 SHA512 6da23ec18ef70b89aa86ae778fbaf26250a63e4eae72384610253196a961a2db22b7c4adf1f544f968948d7306282fb11f58bc863afce6c9ddce43696316617c
+DIST vivaldi-snapshot_5.3.2652.3-1_armhf.deb 78930880 BLAKE2B f498cf0e8f62e01e4da675f70d26147f9c599659b407bebf12d6465a9785f69202bab7d191fc257066c2fe2a7b05aeb4897b4fabc59ef0df32078ece96234d96 SHA512 392005e3c8ce651c94ec0b3c79b108c787784583756c364dc9255b4fd11ec6b0b6d0e480b49ab891edbab642dcaadf018e1a212e4c8a3b0ca4a93b4da55ef62b
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2652.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2652.3.ebuild
new file mode 100644
index 000000000000..d6cfbbe0cedf
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2652.3.ebuild
@@ -0,0 +1,204 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="100"
+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]
+ 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
+}
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-04-26 21:17 99% [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi-snapshot/ James Le Cuirot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox