From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- www-client/vivaldi-snapshot/Manifest | 16 +- .../vivaldi-snapshot-4.4.2473.3.ebuild | 202 -------------------- .../vivaldi-snapshot-4.4.2482.13.ebuild | 202 -------------------- .../vivaldi-snapshot-4.4.2493.3.ebuild | 204 +++++++++++++++++++++ .../vivaldi-snapshot-5.0.2497.10.ebuild | 204 +++++++++++++++++++++ 5 files changed, 416 insertions(+), 412 deletions(-) delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2473.3.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2482.13.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2493.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.0.2497.10.ebuild (limited to 'www-client/vivaldi-snapshot') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 45c06e8c592d..3a235cbd8d47 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,9 +1,9 @@ -DIST vivaldi-snapshot_4.4.2473.3-1_amd64.deb 88549184 BLAKE2B 0901e7e2769870a3fc9ee1ca8dc67f57f26164d69199a86aa50cea8bf3572fb5df803e63da1fdb444ab59b1a59c25d25c096ad9e7faf5a2d2bfd7b215eebbfe2 SHA512 b7a6a4f9efc0157ecc4f2af418a9cb813dc9fcdc25c1868a3bbf5bcaa991a2f7b29f2c12c30735e05fa5bc32cfdeaa1676338917e71864017ffa2390df1acfc2 -DIST vivaldi-snapshot_4.4.2473.3-1_arm64.deb 83134444 BLAKE2B e40044ec6d52aa599edb4b39fd924ca60bce56aacc2c92ad3032799965bc2fd8efc3b96c474d76657dbdd43901a2e0d135ae3f516e31587a288fe89704a143e8 SHA512 9fbf0e7cd55136997cbf0ff8385aeb174823665795ff8c8d72d5f91b86e21e708414519a84a62c1b2afd860c772836e95822cf672896bc527a65618d5220d399 -DIST vivaldi-snapshot_4.4.2473.3-1_armhf.deb 79523228 BLAKE2B a7f2d13033aa9deac0cb98eb1bbb0a8f0590d14411ce4128a02600a39bd627b63956719562cf6f0e28511834f754cd3cc58344cdb54713930d35a6fbad74c70f SHA512 7b401ef44cd51adf91d51f5620bc32e56bed58f56999c7804a61b10a46041e72fc8d43f8fc11f719584c79176e8164bdc874859adb778dac99d564fdaedd5b15 -DIST vivaldi-snapshot_4.4.2482.13-1_amd64.deb 86828116 BLAKE2B 577ee927a0e795aa96e4a374895014fcfede8a3434ce0a1369cd57e42c9d0048e69be03800be7cbc56613d2f1f281dec70a9369f102c5dcfc4f0a1820d8e806f SHA512 a9c354972219efb9a0dbeb6fc7e39f8dd251b468837a10687f794e6d7f3da453e2561a746af2301ef5626bca0f1fb84eb9053ed28454c745205fd9430b2b46da -DIST vivaldi-snapshot_4.4.2482.13-1_arm64.deb 81455268 BLAKE2B 06f942b72123f7e2ae876712be6592f748d0781a9416aa3386ec5b35358cb17a911110e23c5088a9a20e4090a759fa7307ac03d8624108d6b70135c165b50112 SHA512 0ee8fea0e3add850addb3265d4b6afa3530ebf1af1a15ac363ddbd7abb4021521cd89150801ff312bc0c665400095cd1bc546dee4401a25e73b45b3a6334c770 -DIST vivaldi-snapshot_4.4.2482.13-1_armhf.deb 77789976 BLAKE2B 91b743ba22dc73cd54758117ade440565c6a45f4d68a976ecaa2c956147cc17160989f720b6b2e229a9a237902fad88b07635f47ce260934458b7ac10a7fb472 SHA512 c3c2e936a09b0279ad57e3d04fbfa8e7463b41a48579b9cffd142142c00e173a29184b64d3589139b95296d1dfa2cc50571d04b0c1b1afbab9182fba5b09d5cf -EBUILD vivaldi-snapshot-4.4.2473.3.ebuild 3544 BLAKE2B d5feae6fea89d97986343bbe9b0b93bb48825c6245a9bdc0b4c441ff97b0da5c2cf1467dfa23745f02599af535dddadac9ec643a813926ab159a9f18d45ef34b SHA512 b44d33464a072cc71bda27edf0733ce22a4e4164da522e96fa60c23f01d875e0fe5d1d5e3059c45d79577e1f4b7a1e406044084f5a3ca98e9f10b6d6cc2fb433 -EBUILD vivaldi-snapshot-4.4.2482.13.ebuild 3544 BLAKE2B d5feae6fea89d97986343bbe9b0b93bb48825c6245a9bdc0b4c441ff97b0da5c2cf1467dfa23745f02599af535dddadac9ec643a813926ab159a9f18d45ef34b SHA512 b44d33464a072cc71bda27edf0733ce22a4e4164da522e96fa60c23f01d875e0fe5d1d5e3059c45d79577e1f4b7a1e406044084f5a3ca98e9f10b6d6cc2fb433 +DIST vivaldi-snapshot_4.4.2493.3-1_amd64.deb 86896244 BLAKE2B 4e882c8fc01eac54bb1f0d90cee9c18c6f59b9f1b80b9794e1b85d808176f33b8aa9f73ffba0d88d8b9a8666b8393b802b268fbacb267395a95e66b2f1741e0e SHA512 8017e897ec3f299bb8417cc4dbd089350c88b829f5690bc282020b5dbd5b5025a5216513bbe3b107aa50c80be98ef73b33498afd8a5d119180b4709b04008212 +DIST vivaldi-snapshot_4.4.2493.3-1_arm64.deb 81519516 BLAKE2B 8dc719ada42181f2ad9429ce3a570aff68c7a40131fa748b68037718754181eed62de30919d5f87e9fed51d3c250d9127d4fb9c843f1b9f4a271e3a70e3142ec SHA512 857991cdf6146a375469efe68e1d31b94660591ce65475411c60e1a60c44e7223e96a6cbe1698c7b2f32d02ff9220ae20c617409a587f05cfc1462baceef572d +DIST vivaldi-snapshot_4.4.2493.3-1_armhf.deb 77836120 BLAKE2B 7e506db4748f0bc7d0ae9a473a3714b2f4e6905810de9e97a063588b515a56cb31a818339a709b480ddb39e82989ec0e8a22f1cbf977d89b7cd698293fd25e50 SHA512 a6087a44c7c85d0125aab3443da8e7fa2a3a0f3afdab6005b36371990de6a7d8f7b175d7d9b4e569926b2b396939286997bc6ac5c589bae87065b8dd9893f0fd +DIST vivaldi-snapshot_5.0.2497.10-1_amd64.deb 86953080 BLAKE2B 2dd30f111e3cb079c3d4547d80f289aec8bdbc679280c40c1aca444fb3eaa1bdb60f64cd212868c7970ae4fee86a016967164f1ff892b21918efe96feeb24ae2 SHA512 7bd100af91fcfc6c57e07150d7881aa0572da8f4abe7a0a3a8c5a36ec38fa780c07531382897ae1c399dd2e8359fbb7a68dd79700b9da18f621de05d685f2a71 +DIST vivaldi-snapshot_5.0.2497.10-1_arm64.deb 81524572 BLAKE2B e24343ccc67dd834c88bd1bd666ffc97dc6a12fb2c201c7cfc48cf54bf4b53648e6e9c04520e795ddec6c3b80b4a574f6d4319eb7ee08a543300f02820600d26 SHA512 28f0e2e53a0acf40714022aa03aeff75257dcd253433ce32784a1f486e0c13d47916c9cad33a7f38c72898200e68a8b94561da1b684a82055989d61a5f0730b5 +DIST vivaldi-snapshot_5.0.2497.10-1_armhf.deb 77922892 BLAKE2B cf00ec524cab4f0bd6b9acb8f64962a19a335cf536d38a38c96ac1031033bce1e887ef6f7168292a8b5e990f95a01bd880d2cac6c6de0d8e0b891c3c5ea9a667 SHA512 03c040c01401f965ab046d19f5db5de2b27ec1eefe8f781eeffc8c941248c811c7d555af160c90996ee3fb2fa135410cbb42a7e84fc00746de624c6b7f7af537 +EBUILD vivaldi-snapshot-4.4.2493.3.ebuild 3616 BLAKE2B 581db1803e604ed0b7327f4c1afbfdb968c9bf8799fd4686430ac494e109f4405607de01804f1921621236681dcde22f9193c20651013e781b632c8803ae1e3f SHA512 7468722e22949695b19e0282903e54c67bc64b79450b856fac7139b7c752bdf3997ead603ec45bf53d7cfbd63cb644c72d7410214e18169bd3524f38b21b55f5 +EBUILD vivaldi-snapshot-5.0.2497.10.ebuild 3616 BLAKE2B 581db1803e604ed0b7327f4c1afbfdb968c9bf8799fd4686430ac494e109f4405607de01804f1921621236681dcde22f9193c20651013e781b632c8803ae1e3f SHA512 7468722e22949695b19e0282903e54c67bc64b79450b856fac7139b7c752bdf3997ead603ec45bf53d7cfbd63cb644c72d7410214e18169bd3524f38b21b55f5 MISC metadata.xml 484 BLAKE2B 8c52aa5485213206999f40c7f99771713b3252cb6bf535bbe41e72da75f3075af1745cc9b44666cbee69b5fad3715bcbd540353980cf6ff302752dffdfa379e9 SHA512 89ad56615e6e82251ce8e04eb081cab53e6656a379622fffaa11bd21426f536ac5632ac7df6df270257112b7f81ed5b5babda6a99fbd1f2657daaa883f3f099f diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2473.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2473.3.ebuild deleted file mode 100644 index 8653cc65e373..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2473.3.ebuild +++ /dev/null @@ -1,202 +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/${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 - - [[ ${PN} = vivaldi-snapshot ]] && - dosym ${PN} /${VIVALDI_HOME}/vivaldi -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2482.13.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2482.13.ebuild deleted file mode 100644 index 8653cc65e373..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2482.13.ebuild +++ /dev/null @@ -1,202 +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/${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 - - [[ ${PN} = vivaldi-snapshot ]] && - dosym ${PN} /${VIVALDI_HOME}/vivaldi -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2493.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2493.3.ebuild new file mode 100644 index 000000000000..0d11b47c0083 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.4.2493.3.ebuild @@ -0,0 +1,204 @@ +# 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.0.2497.10.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.0.2497.10.ebuild new file mode 100644 index 000000000000..0d11b47c0083 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.0.2497.10.ebuild @@ -0,0 +1,204 @@ +# 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 +} -- cgit v1.2.3