From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- www-client/vivaldi-snapshot/Manifest | 16 +- .../vivaldi-snapshot-5.1.2526.3.ebuild | 204 --------------------- .../vivaldi-snapshot-5.1.2549.3.ebuild | 204 --------------------- .../vivaldi-snapshot-5.1.2553.3.ebuild | 204 +++++++++++++++++++++ .../vivaldi-snapshot-5.1.2562.3.ebuild | 204 +++++++++++++++++++++ 5 files changed, 416 insertions(+), 416 deletions(-) delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2526.3.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2549.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2553.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2562.3.ebuild (limited to 'www-client/vivaldi-snapshot') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 05c87db19274..3493b26d1b58 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,9 +1,9 @@ -DIST vivaldi-snapshot_5.1.2526.3-1_amd64.deb 86963432 BLAKE2B 76f775cdeb70e46eb951ff2994fc490f9e1f75d38d0d2a218567997eb9f8a68c10cf8b73efbb73313fc617896de72115bde135582345f0526e83eb2ed384cff0 SHA512 10429fd3f8a7c77688d4643a5df183b7e9537ee6f30b15b55887d3603f20d5f8d92925d9cc7db1d1d86134da48045c41751a9cd4fa1e1d6338942b6186277030 -DIST vivaldi-snapshot_5.1.2526.3-1_arm64.deb 81605228 BLAKE2B e96b15787933ca7e3700eff60b7324f01de20ff42e9061c195470e1bf4a47d1e6a7515eb209d047ff1e5d76cb5326e7da5407fef8f123b0dd1fafaed36a526f6 SHA512 89e60cbe45c1237c4998787c88516eeebaeeabbea2db6b693a2f589f5a874ea51b9b6b834bd243bd5f4824b4a3fbe0e0dc76b91f82f9cd8c61f363b7b2dba71f -DIST vivaldi-snapshot_5.1.2526.3-1_armhf.deb 77962992 BLAKE2B 056921c5c6f4339b8a207738851dd8853c718247366edddd8099706abb06cfe6b7621afb23571d5840c1372e98a4be6e5efa91a7c4b4972cfdc67e1d93d4cdad SHA512 658f88dc5e85cb1409ca8b6da283d27c06c5538b19895656e065022375e4a82244c09b076657001a5a96c353df376847f82ab50952d3c3c0526338834461e55d -DIST vivaldi-snapshot_5.1.2549.3-1_amd64.deb 87293528 BLAKE2B 4306bbc4c23bbcad384df55fac19973d97e5776d57d15880b8ff6fb4734220c8cb6cd82ae995eeaf52e7e8b96643c4309d23a06cc41e8da1639096ef7f2790f0 SHA512 86eadcc2ab8bd280512cab77e1c8e80467be1360ea5a634d3762ae8ff4d0df1533d6dbba71cf1a5d886b04c2b6f420a519cf2c74a2b28771ac7f0dad43d15d2b -DIST vivaldi-snapshot_5.1.2549.3-1_arm64.deb 82208632 BLAKE2B a935fba6962d87162f1314308da11a143a015ae7f9033979258e72aa0d2be4e0d2b61f83866c0d3125314383898349b6cf5ba00737b50678be6b515c1dfdf0f4 SHA512 cdf9b484ea921939170e4bbf1694504ce9786d94ff01fb093887f4be5ac8a4a4bea22c45c85b6205b6b5425b0eae32817538a14a53689f3a66a65548a2fc8243 -DIST vivaldi-snapshot_5.1.2549.3-1_armhf.deb 78050960 BLAKE2B 6a697e0de2c88d7b2dcbb41f8380679abad2003bd6025e414fce531fd8b95475ff6b4faf3c3184740e1cb06767b3de74baad4e89c151256fa8e68d0d28289e13 SHA512 3570944a53e2720819fb1858db8a9ac6aeb2c8450f0183645c652e4f541453b9511fd750962f8c25c17102d89e9ae3aeb2e8ca0f7e06331649928c62b6003c56 -EBUILD vivaldi-snapshot-5.1.2526.3.ebuild 3616 BLAKE2B 581db1803e604ed0b7327f4c1afbfdb968c9bf8799fd4686430ac494e109f4405607de01804f1921621236681dcde22f9193c20651013e781b632c8803ae1e3f SHA512 7468722e22949695b19e0282903e54c67bc64b79450b856fac7139b7c752bdf3997ead603ec45bf53d7cfbd63cb644c72d7410214e18169bd3524f38b21b55f5 -EBUILD vivaldi-snapshot-5.1.2549.3.ebuild 3616 BLAKE2B c47af55ad0ee86f25775fa157efd273334ca339c32d27772672630b985466edbda120fc4b7c70ee0f61be0390d80850e9cdde6a0929ab682570e7ecfa1f3573d SHA512 57d24704e719a5de51537f18f035fa3accca3fa9be876ab7f28bca03ad7093d0eb010c718e3f4c990072d1f35c2797362305d8ff0a30444a29c66d5d5defc5da +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 MISC metadata.xml 484 BLAKE2B 8c52aa5485213206999f40c7f99771713b3252cb6bf535bbe41e72da75f3075af1745cc9b44666cbee69b5fad3715bcbd540353980cf6ff302752dffdfa379e9 SHA512 89ad56615e6e82251ce8e04eb081cab53e6656a379622fffaa11bd21426f536ac5632ac7df6df270257112b7f81ed5b5babda6a99fbd1f2657daaa883f3f099f diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2526.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2526.3.ebuild deleted file mode 100644 index 0d11b47c0083..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2526.3.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2021 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.2549.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2549.3.ebuild deleted file mode 100644 index a0fb3fa96f92..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2549.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.2553.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2553.3.ebuild new file mode 100644 index 000000000000..a0fb3fa96f92 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2553.3.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.1.2562.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2562.3.ebuild new file mode 100644 index 000000000000..a0fb3fa96f92 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.1.2562.3.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