From a519cf56a0e5e456006d39c06f68de5e11c2f7e9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Oct 2023 12:00:01 +0100 Subject: gentoo auto-resync : 07:10:2023 - 12:00:01 --- www-client/vivaldi/Manifest | 4 + www-client/vivaldi/vivaldi-6.2.3105.58.ebuild | 223 ++++++++++++++++++++++++++ 2 files changed, 227 insertions(+) create mode 100644 www-client/vivaldi/vivaldi-6.2.3105.58.ebuild (limited to 'www-client/vivaldi') diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index fb45149509e8..4347502a6a93 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,5 +1,9 @@ DIST vivaldi-stable_6.2.3105.54-1_amd64.deb 99972904 BLAKE2B 5a92cdb1a9100a3e6cf7f59fda15525b33e30cb68757541c05439981eccbd83671fdba0cb8e293f518e6eea3a809b386032f77c633d20eb60a7fe15855e74f78 SHA512 434b76738fbf6be48361f41af0161214c4b226711042195dc78b84cb3d30d268563eeb50696a28056e1a7e656464ac52001fe46c40c66f5ceb38102db11453ab DIST vivaldi-stable_6.2.3105.54-1_arm64.deb 95022664 BLAKE2B ac955be8853a1d4b64e6b18044e798f1599adf17ebfd684c0a5eb369a1321a3f462543e8064fbb3b3c0bc55a9922bcdcc30cbd2f643153965141d02683c399e2 SHA512 f13d4ba877b04b3c15b154535364b49ecffbe23c49d6284411a0803e25bc94eb3a41ba7e9ec8392ac143b25760fbf28a76a20df2541cfbb96d635bc11857e25b DIST vivaldi-stable_6.2.3105.54-1_armhf.deb 95581688 BLAKE2B 78bf04b737acb89d9892ccac2380f9931bdfc7dd043d73e22e1c888ee92e79b401c67ce79fa2308cec63fde3b433e009a0c9ad9ff99c19a8e4f4ed92467bedec SHA512 fafe4c98689dbfad608b2fa1b93535ae780ca4104e5955f1128cf6f210c4fe30878ca62bfbf7f5ff730a301690b02f8bd25dbf17097c2bd49b62fd42626ebdc1 +DIST vivaldi-stable_6.2.3105.58-1_amd64.deb 99957612 BLAKE2B 4d8a320b89ff5b7d27f9e1534226f6cd8f9b5da7513936a440b1d3460bd9b354e3464f9ad23c6454573e5836e0c2ea37632b20aef37de7514e0f4d3c3f8bcdde SHA512 e5aba41eb038651faf2fdaea049af8fcac787970feaaf7645baacdb57ed8b16da85ee1da64f30150afe2a287afcf1a03dd934f0ed94fa5b6a3fefd4afa6e8899 +DIST vivaldi-stable_6.2.3105.58-1_arm64.deb 95032760 BLAKE2B 69785735d2e2cc588172d2604d42c2759274d4648284b4b64d7dde7f51946fb456ec3bba2161fa2d4734c6bb8c71b8aa1b4444593a0d371bc12d6b8e41431d38 SHA512 7c579902433d1f83ef94c35e88e2e8dd0888a15c661a634bf7236a5988aff333131b662cf5cc0dd068683ee8cae48c0b56fa7bd33346cf4b9cc48c58d13f4ac5 +DIST vivaldi-stable_6.2.3105.58-1_armhf.deb 95611036 BLAKE2B d2fdb40abec586f2a2d33fbb923e6485bda2b7ec712364f73b111118774864bb06d963ff687c9c04c1bf40a799fe2fe11726d05b4c4da0bff4450c23bb835964 SHA512 d60f60d6edb0a1d7d909bbb4b320b2b1b5786ed46f315fd3c207dcb71e80a5603c89b60eb8ce1ab1a9ade72b98deb9a177a8e8029570d0fa0cbe1249daae88b6 EBUILD vivaldi-6.2.3105.54.ebuild 3713 BLAKE2B 860aab4b4425391da79762c6527d5049645e25b6dd5dcf3e42fa42629370f098f3358446d1fd92aeffd43e07474c183ad470c16860481f458b0e314c772f7e66 SHA512 39f3b107e984e215587b98ba892cd42285b365f3a6cebc673bf1cb75db37e81fbfa2057c727905d7a5916b90f8b1c0ee34f23e4f38d760454c56f582991c003f +EBUILD vivaldi-6.2.3105.58.ebuild 3714 BLAKE2B f571a3f3e0a78a9291108b5d94f4a9810f33ea134456dec72febe688462bc0d9c271fa985a549561b57e3a57cee45672de491d6628fde34630b35b12104f136b SHA512 97ea4dce45a9fda139cdfc13542bb8aa71150a3c4fd4a97ad153c39bf1205439ff6ac3298ef7a8ff21c54f3860856395af864f2a70b8dad0e7961042d146c6de MISC metadata.xml 485 BLAKE2B 2be960ebfbbc2eefeb14ad0e387c02d90fd29adf4dcc77db0413f3c89087cbffac1ce538279d33c9b901cb67ad437c981d230b8f0bed1e98ad60ad049865e716 SHA512 62feb46aa9afe538c9ccaf687ba199779a5ce9231530296db7dcf38149ad2097d0418a7a43dfc9fb4fcdf679cb1a9b66ac550bea2b8927bafaec8fefa9b0d8c8 diff --git a/www-client/vivaldi/vivaldi-6.2.3105.58.ebuild b/www-client/vivaldi/vivaldi-6.2.3105.58.ebuild new file mode 100644 index 000000000000..9d522c106aff --- /dev/null +++ b/www-client/vivaldi/vivaldi-6.2.3105.58.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="114" +CHROMIUM_LANGS=" + af + am + ar + az + be + bg + bn + ca + ca-valencia + 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 linux-info 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}_" + +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.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="*" +CONFIG_CHECK="~CPU_FREQ" +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 + + if ! false; then # use qt6; then (TODO) + rm ${VIVALDI_HOME}/libqt6_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 +} -- cgit v1.2.3