summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-02-09 23:00:38 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-02-09 23:00:38 +0000
commitebe8d89e0713b52af431aa68c5a8a7a7f2c76b9f (patch)
tree4481cc8f0c5820d9635a9ccbc85283e72801f886 /www-client/vivaldi-snapshot
parentsys-devel/reflex: fix parallel build (diff)
downloadgentoo-ebe8d89e0713b52af431aa68c5a8a7a7f2c76b9f.tar.gz
gentoo-ebe8d89e0713b52af431aa68c5a8a7a7f2c76b9f.tar.bz2
gentoo-ebe8d89e0713b52af431aa68c5a8a7a7f2c76b9f.zip
www-client/vivaldi-snapshot: Add version 5.7.2921.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.7.2921.29.ebuild216
2 files changed, 219 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 16a7f185d15f..fc0b03a3d55e 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,6 +1,9 @@
DIST vivaldi-snapshot_5.7.2914.3-1_amd64.deb 102131172 BLAKE2B feb804d29a5eab26966fc3a078fed338ec4644284765d1f721e868fc78548ea5b5a23a1343abe0df75d83710bea3f0ab108325f5e8f03005fb72fea1f0ba3435 SHA512 e73ead082f7d670106b842adba22d09f4c4ec5ce97489d8f29e6e2ad5cfc4479d71e25b89c7d2eb64dc93f0ef3163d07eb9d6f2436543097c637f8546e02c89d
DIST vivaldi-snapshot_5.7.2914.3-1_arm64.deb 91508920 BLAKE2B 223d4b0ddf5550cb115f59d79bb75aea54dcb8d5668c54078a8e746c3ffd4c84c2542126f15831d0cc5c3c51be5d4df70986ff478670f2114c56a05647501823 SHA512 a1a3f31813714d97f8f20edbc98b9f972ce55bb2d267d2d86f1151bc6e5c4e88dd80617e62482a46768df2c89bbab2ec19d522eda8210a43baf29771b2e7b8de
DIST vivaldi-snapshot_5.7.2914.3-1_armhf.deb 91554044 BLAKE2B 5a862f403d280520e9c30f565371cc61ad3674bb4fbfecea5e6670afc59272de64f612ddb6371853fcc5d6b57ebaf481fc480c459e530f84c42fdc99722b9511 SHA512 4fa35f33beef93f77e360d766b3d1beeaa7e7ca295de04cba4d8e6cce153273dc13bdb247430f33886ab1831c40a2eb1eded3896eb4bd5c26cfc65bb81377ead
+DIST vivaldi-snapshot_5.7.2921.29-1_amd64.deb 101593184 BLAKE2B 71dbd61e40f2ff6cf9fd7c40ef67914e0d54568cbb07fa46220b55bb5a20dca5cb7b5f4aa691e887d5ac0eab2e505125d489215fcaf367a2afd6e24b22df6f89 SHA512 0f9769961251f72c76d083cc6705393b9b7402e6617a3222201741dc38e4c9645ffcb15e8abf58a7aa728db1baeb1a4a4c5d89b2aed421ba23f9f336026385ae
+DIST vivaldi-snapshot_5.7.2921.29-1_arm64.deb 91113632 BLAKE2B 80309ddd4ff7c5ae4e8f7e429995a9d10332ebcc864dec91caa4cedf9f4ee4117fe6cd832722f3ae93d07bddf188bcbd1d5951263de10ce1501689bb10239383 SHA512 ff5e833186ebaa5032ad5f77fccac13b2846ce998d780486da08bc644894585579ab0f44ff0520352fac194444788de399fcd04bf5725e60c78c67c11794bbc1
+DIST vivaldi-snapshot_5.7.2921.29-1_armhf.deb 90777880 BLAKE2B 8631e31e44256a97a53333196364d06f0bbafc7f8416503d77d72b6e2a2eff1e2b6a0c11e438212efad50e596c0e9dfb93f613edec642eb0e411983b30b9f45b SHA512 731b6b836834983b59da4ebff9fdba7acbdaca88c434dcc06ff723002cdc2e354e44ebdc592481c65fd2beb5b7f726f04463f3221e07c382cdbcbb70a49b8e85
DIST vivaldi-snapshot_5.7.2921.3-1_amd64.deb 101565204 BLAKE2B 83cf1884d8ca4d4dd85a98e504f2a31bd6dcad9eaa10a1f5243602fd481a5798e4814f8ed727bf85cce7b78b1c5f71e4b7906a10810880d0efd50280b5f0514c SHA512 63c4f48df434f96db4ee2394966dea159ae7ea249e68e611e33f49633deeda306a72b85131102e3f23d49f0f7e23c1a2ca55ee0db02f0b97350ae0edccbf0d94
DIST vivaldi-snapshot_5.7.2921.3-1_arm64.deb 91095772 BLAKE2B 47a8ff9027edcbe7060460f8397531da8197515e831d60e3b67f0887d3ad0f18b4f3578f40e8685428694180ebf35450e9b2d4f925649c176d2d7a324c1cd527 SHA512 fba9f3879e53d44277072c4d7fed86900873b751da23e297fb8acee434b46f3d3085b131a1a7c5558ba54b5c06e3c89ce79fca76a4dea4bf82834473aaa4600b
DIST vivaldi-snapshot_5.7.2921.3-1_armhf.deb 90772492 BLAKE2B f5c264f87dd03b3653533dcbb2994c787318442e17d0182e3d9154a7e379bd11528a32800415e0a734b37ad83b560fca44072c984fa260628886908a79bb7bae SHA512 07a5995d463a9eb57fb9c4b4343e9d08360ab6121f8372e0e91fcec8c2bb3b086b50c323faa82f0a4e5f1f1ba98d91b8729fd2c7ec5675c68c5e4090965b96fd
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.7.2921.29.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.7.2921.29.ebuild
new file mode 100644
index 000000000000..9c296c0f9dbd
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.7.2921.29.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="106"
+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="gtk proprietary-codecs qt5 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]
+ gtk? ( gui-libs/gtk:4 x11-libs/gtk+:3 )
+ proprietary-codecs? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
+ 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
+
+ if ! use qt5; then
+ rm ${VIVALDI_HOME}/libqt5_shim.so || 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
+}