summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-12-06 08:49:09 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-12-06 08:51:16 +0000
commit2b264f791b22e0ee716915b412e910e62bca1eaa (patch)
treeab1efc5abe1d921431a6e6c081ccc94d354182d2 /www-client/vivaldi-snapshot
parentdev-java/jakartaee-migration: bump to 1.0.6, dropped 1.0.5 because of a regre... (diff)
downloadgentoo-2b264f791b22e0ee716915b412e910e62bca1eaa.tar.gz
gentoo-2b264f791b22e0ee716915b412e910e62bca1eaa.tar.bz2
gentoo-2b264f791b22e0ee716915b412e910e62bca1eaa.zip
www-client/vivaldi-snapshot: Add version 5.6.2867.29
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.29.ebuild207
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index ed55e92f5f02..b6d3fc0373c2 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot_5.6.2865.3-1_armhf.deb 90168840 BLAKE2B 0c18d86cd28b18bae9
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
+DIST vivaldi-snapshot_5.6.2867.29-1_amd64.deb 101318868 BLAKE2B 497f737007aa6f1eed519ddba6467da4987f28bfdec0319ca1c924c905269208353e9836b4ce0a6e3a0ca8776b28d367bb0e6df150230d53771d8eb5504710be SHA512 85fdeb29c5143e4d86c9a6d2725bb567647251550a89179ff3d911f6ba538ae0b3a81fa6198e30f19787b5fb52bed2e524e587ab32ca67223094e750c5a034e6
+DIST vivaldi-snapshot_5.6.2867.29-1_arm64.deb 90932908 BLAKE2B bd81ef65b633269fbb97fd740af4df90d7a356cb199c0d06b25e8aededc9b33791c2cb68cd356b76e40ad77cdcd62963c751a94307411fc804fac2e0fa22d6e4 SHA512 e39947441af79188b15e97353963b49cf1da7fc87afc24b0f183cc4f695be8a08bdbe576156eb474a912f6ae79558922385a0765e043e2a5c7ff1f6c931a1dfb
+DIST vivaldi-snapshot_5.6.2867.29-1_armhf.deb 91071132 BLAKE2B daf29e86d578d63634c6e062fe39f39869a690d9a39400b52527ed70fb70ada083894a78a50eeae4d9f057ff1457a70dd2dbf856fb982bfefcfa86c92ba349f1 SHA512 79d833b9a85f4a7e748d80f28e99c3e342b29c5979aed55c2a5b851e9376908e3d0c2292b9949699a7a1fe2c8ac90086e1e6ba7da82140630ef63c188b12a444
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.29.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.29.ebuild
new file mode 100644
index 000000000000..82e87d9746ea
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.6.2867.29.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
+}