From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- www-client/vivaldi-snapshot/Manifest | 16 +- .../vivaldi-snapshot-5.1.2553.3.ebuild | 204 --------------------- .../vivaldi-snapshot-5.1.2562.3.ebuild | 204 --------------------- .../vivaldi-snapshot-5.2.2581.4.ebuild | 204 +++++++++++++++++++++ .../vivaldi-snapshot-5.2.2603.6.ebuild | 204 +++++++++++++++++++++ 5 files changed, 416 insertions(+), 416 deletions(-) delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2553.3.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2562.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.2.2581.4.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.2.2603.6.ebuild (limited to 'www-client/vivaldi-snapshot') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 3493b26d1b58..2815e76820e8 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,9 +1,9 @@ -DIST vivaldi-snapshot_5.1.2553.3-1_amd64.deb 87312508 BLAKE2B 7612f96a28a8b47a1254e80720b1b4f89b20c5c49791365cfd13321fa3912cdf0a677246a22bfc519c2993ccefbd979d0ed8c23bd400bf3855b24c5dcaffca7f SHA512 d1eb8a26e87b1503ac0b2cd4d19236334c69c6e6832b3139eb8d8aaba5fa34fa43107069598e805dedebfc6d17ea51afadba43f601124f15284dced5eb04d39e -DIST vivaldi-snapshot_5.1.2553.3-1_arm64.deb 82228428 BLAKE2B 0268d1d554fbc5aa248c0e62014973768bef3a379e7ef0fa8c4c649640cdfa51249296b62bed03867630b8d2664762bcb0996582cf2c60e303906e77af32360a SHA512 390be88ac5bd43e79cfe5c80d432d56c10fbff06a65992d5d19a5572238b1acf8aa2802fb51e2211a119b9c0c6a99725c567dbb1a8569807352a90f3cd3080b9 -DIST vivaldi-snapshot_5.1.2553.3-1_armhf.deb 78053564 BLAKE2B e07252d38bea954e6fb0c1c11093ec3976e25bd627613b848919b128a974a8d8571e2fc8f2a3eadcf9d49038b32e3fc0a02ec68fd48b2a484f6549dfe0abd4b6 SHA512 bab25960f20f0190289f89878c040e712388a59b75da748d5f51253bfcf20baaa14a4e40d0240df2257bc347c20ef6564cb0461c56c155047f03ca4209114129 -DIST vivaldi-snapshot_5.1.2562.3-1_amd64.deb 87305856 BLAKE2B 94c0c45f5448f85a4047a81d05ac0cfe801dd2ca72727a49ba676149ae5d7f1b3aa19650629f757060719a5c97a249c3b2b593c1be35ea0436b7d1cb7dde8d12 SHA512 973cb15d42921eb9e0df0e8617c088a0c7624d27e36a50d21e88f8dce8182d5993e4278117880329d87dda42c059fc541899dae2c774fba428769fbc2cba05cf -DIST vivaldi-snapshot_5.1.2562.3-1_arm64.deb 82222700 BLAKE2B 31dfe37e9c028a6fe0c896deef6282d1d47de5b65a0e9d89377b6f2ea3280fa8cb142af3fd5f78c535445883cda3d63a8cc9d93e339cc9021b3dfccd88f57745 SHA512 6d0f079230bfc4b345812bf1dc6f842fe2589f94ab2cd951919c75331d5b3b4473f20c7c8e85df772efbe4ca4ef7f7185c6b2d10f5cf7eb8cc173738bd09a40d -DIST vivaldi-snapshot_5.1.2562.3-1_armhf.deb 78085032 BLAKE2B d3b15e179de0c37aaab3cdb38f2615f6f5d61e0e2593743fda168c48e77c753acef3d2e481b66602a66be54555a70d2867ebd6a6ca3999512c730447c36bf442 SHA512 add83e2db3a22dc66105fd0e019d991e9998dbc88c724f68eea71ce9d81a521733446cf89129152c1d62a6413717bf934a79dfe66d370429fa3d91e61f3fc78a -EBUILD vivaldi-snapshot-5.1.2553.3.ebuild 3616 BLAKE2B c47af55ad0ee86f25775fa157efd273334ca339c32d27772672630b985466edbda120fc4b7c70ee0f61be0390d80850e9cdde6a0929ab682570e7ecfa1f3573d SHA512 57d24704e719a5de51537f18f035fa3accca3fa9be876ab7f28bca03ad7093d0eb010c718e3f4c990072d1f35c2797362305d8ff0a30444a29c66d5d5defc5da -EBUILD vivaldi-snapshot-5.1.2562.3.ebuild 3616 BLAKE2B c47af55ad0ee86f25775fa157efd273334ca339c32d27772672630b985466edbda120fc4b7c70ee0f61be0390d80850e9cdde6a0929ab682570e7ecfa1f3573d SHA512 57d24704e719a5de51537f18f035fa3accca3fa9be876ab7f28bca03ad7093d0eb010c718e3f4c990072d1f35c2797362305d8ff0a30444a29c66d5d5defc5da +DIST vivaldi-snapshot_5.2.2581.4-1_amd64.deb 87359688 BLAKE2B def2b93401849f4b3b65628ba1806424d440fa6d42b2366c4481931484ff62c333b530eccf4bdc6b2f20bdd70e763e3b859cdfb3c5172b08328ee46098b2b1c9 SHA512 0a9225950753e7e4ac32b004d96bb7b786e623d8fee4869db8c9302e285b7dba6ee8861f834851ddcfe4e9817a77fdff4a8e81fa6f694dbca1d65aa0e01346a5 +DIST vivaldi-snapshot_5.2.2581.4-1_arm64.deb 82265240 BLAKE2B 23466bf4425a104dfbe375b55ef0e5b601c5a7980199a082eb6f67692058520475ccf9e0e4efde2c8c30a1b62df7ca8bef467c1a7ec8a31687069ed674c0a918 SHA512 7660a284c93e6402959647b7aa80d6c08b84a677268320f07a1294cb791f29cbae6a69b90ef476a85e3ca4c1ca380c88f70907fa2f3bb94077b56b73e0cc3249 +DIST vivaldi-snapshot_5.2.2581.4-1_armhf.deb 78113780 BLAKE2B 1620921be32b07892dc0839fcbb26e11b1341ce65b82b01e5538538660cd8b3ba861a12c292547b6094877856f3e669eb5627f1d28eb1fc8366ff48984d09354 SHA512 4d1796ccde13b606311786fa04a496f30fb438d328c3db5099a8ec0364598fab59d37ebe5df4111109fff12c308d1cb43244b7699ebaea0278cf873b4ba70d8f +DIST vivaldi-snapshot_5.2.2603.6-1_amd64.deb 87460496 BLAKE2B 6b1fcf5d42d01bcb34313d44121379abbf6b8d5eb9f970d04a2f03c50a1c7c2337a161c6a20b26d934761c47fd09712ea5c85706a8d0e794e3ebe12d5c6c14c8 SHA512 a7a071965f5ebe206d4073829ab81ff514cc90bfa9cfa60e222afcc0ece89afade0b2a29a2bc23c5c7b19469bd88810cb3720cd27d2b219c7ca7328513148307 +DIST vivaldi-snapshot_5.2.2603.6-1_arm64.deb 82328824 BLAKE2B 53d1ca9e4f6e4ea885131e16fab805b44dad520a31503325c93686915ca4f71dcb83fa5f69116659ae5477448625e8fd2648663b1fd83243606b40115682010f SHA512 aad6b06cc5e3a2fc2db1b06869ee0dec715f162963352af0972550850443eea0be19eb2a495d93dfd045a5f3d6749844e7d838430196e1b4f265307f45b58585 +DIST vivaldi-snapshot_5.2.2603.6-1_armhf.deb 78198564 BLAKE2B f4fc17e32c2128cf1e2862b7c8072e0f68855f58921755a9cfb4efb133f05f7ffc594eff3124556f391d7667ea55cf5138e200200e57dd94055d88abc64619ca SHA512 98cee4a94954100ff157d97591c7a5618416b8d6b53eb651ea1e3aee50ac651fe2884d92440dfa600c994069c8b710e7b93c684a802747c659018ea727301e64 +EBUILD vivaldi-snapshot-5.2.2581.4.ebuild 3616 BLAKE2B c47af55ad0ee86f25775fa157efd273334ca339c32d27772672630b985466edbda120fc4b7c70ee0f61be0390d80850e9cdde6a0929ab682570e7ecfa1f3573d SHA512 57d24704e719a5de51537f18f035fa3accca3fa9be876ab7f28bca03ad7093d0eb010c718e3f4c990072d1f35c2797362305d8ff0a30444a29c66d5d5defc5da +EBUILD vivaldi-snapshot-5.2.2603.6.ebuild 3616 BLAKE2B c47af55ad0ee86f25775fa157efd273334ca339c32d27772672630b985466edbda120fc4b7c70ee0f61be0390d80850e9cdde6a0929ab682570e7ecfa1f3573d SHA512 57d24704e719a5de51537f18f035fa3accca3fa9be876ab7f28bca03ad7093d0eb010c718e3f4c990072d1f35c2797362305d8ff0a30444a29c66d5d5defc5da MISC metadata.xml 484 BLAKE2B 8c52aa5485213206999f40c7f99771713b3252cb6bf535bbe41e72da75f3075af1745cc9b44666cbee69b5fad3715bcbd540353980cf6ff302752dffdfa379e9 SHA512 89ad56615e6e82251ce8e04eb081cab53e6656a379622fffaa11bd21426f536ac5632ac7df6df270257112b7f81ed5b5babda6a99fbd1f2657daaa883f3f099f diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2553.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2553.3.ebuild deleted file mode 100644 index a0fb3fa96f92..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2553.3.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_VERSION="96" -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 -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2562.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2562.3.ebuild deleted file mode 100644 index a0fb3fa96f92..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2562.3.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_VERSION="96" -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 -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.2.2581.4.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.2.2581.4.ebuild new file mode 100644 index 000000000000..a0fb3fa96f92 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.2.2581.4.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="96" +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 +} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.2.2603.6.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.2.2603.6.ebuild new file mode 100644 index 000000000000..a0fb3fa96f92 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.2.2603.6.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="96" +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 +} -- cgit v1.2.3