From 0fde6d7108b1ee9fc6ad186eff4978faa255db20 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 31 Aug 2023 10:10:44 +0100 Subject: gentoo auto-resync : 31:08:2023 - 10:10:44 --- www-client/vivaldi-snapshot/Manifest | 8 +- .../vivaldi-snapshot-6.2.3105.25.ebuild | 222 --------------------- .../vivaldi-snapshot-6.3.3119.4.ebuild | 222 +++++++++++++++++++++ 3 files changed, 226 insertions(+), 226 deletions(-) delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-6.2.3105.25.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3119.4.ebuild (limited to 'www-client/vivaldi-snapshot') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 8e4369a77ba5..894c732974db 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,9 +1,9 @@ -DIST vivaldi-snapshot_6.2.3105.25-1_amd64.deb 99906356 BLAKE2B 0fff726a556e17951c3052ffe7afc3ebbcb4542c0d7f04df31f7f2442bd8c3940406af9e1db1437381522bff1197ef2a99b0693d818cb69478ae1a1ec53be6d3 SHA512 1f7769bea071a750d8caa5bc17001ec278b2daf40df531eef79783a7f71c61de66a1e944d70278821b1e03ea0ec3e294b6466e35616dc6d05577281be306b846 -DIST vivaldi-snapshot_6.2.3105.25-1_arm64.deb 95011684 BLAKE2B 2c305d8f1373223b2f47912256171764c82fea7d3a72c2c655dd38b968ff72c4c1de8fc142358c87f16ebaa8395991dfc76d13a314cd28b3377e16967c72c8bd SHA512 aafdc227def4f6054d255dfd93180c66f31dcf845ae28c655ce76e3962e77b81cac6f4165b0309bc3bc59bbf486c7edb190cfcadd8094420456986810e2516bf -DIST vivaldi-snapshot_6.2.3105.25-1_armhf.deb 95572536 BLAKE2B 81341ede2f472dddd6b01d64f61b95cdef50ad09dea1a99dcde9a3cca8bf324256cd673b2deea9ace9a4fd4ccd0db6cb8ab873e6b306e6742138b77bedc989ff SHA512 99e661d1c9c11f4a70be3dee403eb06e3949294e752759622443898d9da53f80053bd9434af60e83a81a8adc7dbb58e2c68b6acbe51d47c77e6bf3972b2e07da DIST vivaldi-snapshot_6.2.3105.31-1_amd64.deb 99916112 BLAKE2B 5655dc3cb9291997ec0498f771785b83282a1538a708abbeb56bd568c16d45bbea6fadd511e992b2191186b3b3ef7168c83da22d264bd104e9b905eef276ad1c SHA512 432766bce0930704d5b41b6500fb17621eb9106a1e191f46c5b12810cb8c0530052570af6ff9455ef96821402d5c14480cafd03a80a5b1fac092c3af8c4db85d DIST vivaldi-snapshot_6.2.3105.31-1_arm64.deb 95020436 BLAKE2B 2f205cb6511cf8a2a63236056676ac7a2f7e5f0c9710eeae2de9d4c91901bf5c4325398359907eb04fde24661c3f775e015f6f471506ac3924aa7f7f8e5a7c5f SHA512 6da60ed21772b9984fb471d3bf1c5c88dc302f686c0ba4ae7e38447ea4211dc3cf654a57792081cc822ec7ea743adaf99c90970d921f3d2baf91ee3b67fef582 DIST vivaldi-snapshot_6.2.3105.31-1_armhf.deb 95572736 BLAKE2B 6ce908d157d8f30f56f9f6c00f12f35b85c70ae86a24d2e51f9e65c3a639a81d9d4b7387a6b889c50b4e50d55074623bf7cd88b134a0bb5bfc5450914201c9c4 SHA512 485395598a583089b38968be0704ebc1690f7a3a31a016645ca01f9935172e173c5a814cbaf5fa989a05a6b93a32899403a5238db81a298a3dd57cbaf3cff7a0 -EBUILD vivaldi-snapshot-6.2.3105.25.ebuild 3964 BLAKE2B 1573c1205a59dc58ee870944e43ae354b57737d62dc4029fd59167d4d1102cc888173c1d06837cd529ce83490e3916ce6a01b2b36b0a6731d513ca2262ef0fe3 SHA512 b5e877e01d3c4a74b6767d36b5e264bdb8d1d9f16d245b9262cb192ba2e879f2d16eb5ba6abac166b83c89ba51991af0fab383cffd98422cfed4e281d167269c +DIST vivaldi-snapshot_6.3.3119.4-1_amd64.deb 102060464 BLAKE2B 34c071a343afdd384a18715f22449b56a384b31028b2f9cbe5a221cbea29b748f3c2b6bab246917ca6758a1fdac91548bb8b964ac3107644eafd1297b68ce878 SHA512 84978f707798d6a5fe64d0fa01613a68394b1c50223fdba46472be3f81955a0bc9c5f2e3f325298a5c2d3f1e0211dfb00bc17a758dd3395320aae3e3518713e3 +DIST vivaldi-snapshot_6.3.3119.4-1_arm64.deb 97136008 BLAKE2B 594b5485d6b51a891e938f94dac7ea308a01742aa0a9380be22256c5ddb3b0ed2329afc42987a127af260574d4a66ec2f8eedd0765dbb53814ee31d75fc161e3 SHA512 ea8738c93e0e0fbe62e54e5a2a00194b8ad96c6d7a5cb8526f3b477f5dc4c4015398189597f4f134fc735d946071b253aa4fe349b10633989466b70932ae5dc4 +DIST vivaldi-snapshot_6.3.3119.4-1_armhf.deb 97728312 BLAKE2B aa5855c93c95c0ce2de4f4703c17ed4c2b87f26e47bc5788b048914d83b37c3cad7719679b8d97fcd164cd48bf1b7f9b69a78439d0e668e5eb758e4f1be2cf09 SHA512 e5161d47fb4447a7a15b2c9c760ed3639dd88efd4abdd17e1bfc8926d755462b65c368c02f865df44cfee7ea8bfa7e306440eae1779634bfdbd086dc76d1e2d0 EBUILD vivaldi-snapshot-6.2.3105.31.ebuild 3964 BLAKE2B 1573c1205a59dc58ee870944e43ae354b57737d62dc4029fd59167d4d1102cc888173c1d06837cd529ce83490e3916ce6a01b2b36b0a6731d513ca2262ef0fe3 SHA512 b5e877e01d3c4a74b6767d36b5e264bdb8d1d9f16d245b9262cb192ba2e879f2d16eb5ba6abac166b83c89ba51991af0fab383cffd98422cfed4e281d167269c +EBUILD vivaldi-snapshot-6.3.3119.4.ebuild 3964 BLAKE2B 1573c1205a59dc58ee870944e43ae354b57737d62dc4029fd59167d4d1102cc888173c1d06837cd529ce83490e3916ce6a01b2b36b0a6731d513ca2262ef0fe3 SHA512 b5e877e01d3c4a74b6767d36b5e264bdb8d1d9f16d245b9262cb192ba2e879f2d16eb5ba6abac166b83c89ba51991af0fab383cffd98422cfed4e281d167269c MISC metadata.xml 485 BLAKE2B 2be960ebfbbc2eefeb14ad0e387c02d90fd29adf4dcc77db0413f3c89087cbffac1ce538279d33c9b901cb67ad437c981d230b8f0bed1e98ad60ad049865e716 SHA512 62feb46aa9afe538c9ccaf687ba199779a5ce9231530296db7dcf38149ad2097d0418a7a43dfc9fb4fcdf679cb1a9b66ac550bea2b8927bafaec8fefa9b0d8c8 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.2.3105.25.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.2.3105.25.ebuild deleted file mode 100644 index d63e17d4cb01..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.2.3105.25.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# 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}_" - -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="*" -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 -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3119.4.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3119.4.ebuild new file mode 100644 index 000000000000..d63e17d4cb01 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-6.3.3119.4.ebuild @@ -0,0 +1,222 @@ +# 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}_" + +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="*" +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