From 752d6256e5204b958b0ef7905675a940b5e9172f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 May 2022 16:42:50 +0300 Subject: gentoo resync : 12.05.2022 --- www-client/vivaldi-snapshot/Manifest | 18 +- www-client/vivaldi-snapshot/metadata.xml | 2 +- .../vivaldi-snapshot-5.3.2636.3.ebuild | 204 -------------------- .../vivaldi-snapshot-5.3.2643.3.ebuild | 204 -------------------- .../vivaldi-snapshot-5.3.2658.3.ebuild | 205 +++++++++++++++++++++ .../vivaldi-snapshot-5.3.2669.3.ebuild | 205 +++++++++++++++++++++ 6 files changed, 420 insertions(+), 418 deletions(-) delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2636.3.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2643.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2658.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2669.3.ebuild (limited to 'www-client/vivaldi-snapshot') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index c3f781d1069d..c84c4d78b844 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,9 +1,9 @@ -DIST vivaldi-snapshot_5.3.2636.3-1_amd64.deb 87807792 BLAKE2B ba3094e84a21e3231d10d607f55dce82ccd77d2912f5b032d20275a91e37d9222031940959b3c8eebeea68a15671dfe5812d4681ec8929fc1649868aa45da3f4 SHA512 0e2b1d4582d47457df6f4c46f946c8176bf4079315fb8baa2028c6d52781bd0c64144b47955564cdebb23d96bf8a8c0cf7adc49d9336ab92a7e184be3eadbfd4 -DIST vivaldi-snapshot_5.3.2636.3-1_arm64.deb 83034216 BLAKE2B 3aea8798e78d26b487f9a5cd4df0ece9f8f86ade8b2e0d1f0c6eed595e00ab9c247629c77b6f41ce7b37ff4c170872e540f7fd22bd6fae31c5de35d6756cda89 SHA512 1abe49eb86e58ed22e6fbe6e15b21a7b2ce028157a3d9d0dac6ee69d19cbe1097d1cb6fa4fe5aa99de4cd89acb3d5634200c89209715a055d6dfe9cab552b36f -DIST vivaldi-snapshot_5.3.2636.3-1_armhf.deb 78950908 BLAKE2B 3b5dd3cfd31c726b303053698ec05c2a04aea61c11b116da6acf44093fec3fa05bce89ae6bda58e7a2053228c7dd7698ef300922fcf41bc6572ee604fe31c39c SHA512 affb4d59c663d6b313ecfa569905b421314933cf70a48bb307173b190ddfa483a1f5f70bcb7602fc2510b5b817b6439a3019b666c758267899fd76bb96d95deb -DIST vivaldi-snapshot_5.3.2643.3-1_amd64.deb 87822808 BLAKE2B 6d4b5241556c56384d29b7e955ec4a80af2f97f3bdf45153eb4582c24cd0c30f164dc5cc77f0e2b09d389125bdbf3d3eac1f3f1c17756ec41a11c999140ff1f0 SHA512 23f3b1b19f671e0cf6eecdff39ae28c3f85e4841fd5c98d88d91c1b9ab0c65c5a4d570fdbff81e66d04ad6f651d7c9f42223843baf2e25406422eb6945b32d45 -DIST vivaldi-snapshot_5.3.2643.3-1_arm64.deb 83028888 BLAKE2B 3846e53ad67717d0745a07f897fb22304bff0fd031782d9594a43fbfc42242843bc6054c21a6b3a65282a38e4dd62ac8f29a18ed890a73139cccf4337fcdc6f3 SHA512 53d67e06984ee5c332147af2d4dcba8c76c931dcd2eb807f3b1270d246ed66ea51dae16d2faccad058fafd06a13c114cf58c89a2c3123e564ca5a3b31ce545fd -DIST vivaldi-snapshot_5.3.2643.3-1_armhf.deb 78922984 BLAKE2B a159305edea693f27b98ff5fe53481b2e2a3578a05fe9d75c3b6927d8757a6fe3ab1980e4b74a2d202d4b20e5a149d2752107c88b4e8ba7efdac04c64612de68 SHA512 89a9b37422f97aaa5ee75da3894de6fa21d83dd6080b000c0c91e5bf9c497bfc26995f40a80eceeba0a781f2e9892982f59967b678b5c0397347a57dd1ba1dce -EBUILD vivaldi-snapshot-5.3.2636.3.ebuild 3617 BLAKE2B d17d2a878e7af6382504b1764144ed398e88238b24c6e3607cfc753cc4f03d016087bedb32e36d64e87d06fd1c368b89e5e7c9f8c73f06e48bf35714679c0839 SHA512 f33f82e2acd4f5b9742138150067b0ae999a85a433ea4d2466db02f0d434c28ff929f318d737e31ecab07c0a08343b2ff8693731e0bfd02f72cb5edea9830a84 -EBUILD vivaldi-snapshot-5.3.2643.3.ebuild 3617 BLAKE2B d17d2a878e7af6382504b1764144ed398e88238b24c6e3607cfc753cc4f03d016087bedb32e36d64e87d06fd1c368b89e5e7c9f8c73f06e48bf35714679c0839 SHA512 f33f82e2acd4f5b9742138150067b0ae999a85a433ea4d2466db02f0d434c28ff929f318d737e31ecab07c0a08343b2ff8693731e0bfd02f72cb5edea9830a84 -MISC metadata.xml 484 BLAKE2B 8c52aa5485213206999f40c7f99771713b3252cb6bf535bbe41e72da75f3075af1745cc9b44666cbee69b5fad3715bcbd540353980cf6ff302752dffdfa379e9 SHA512 89ad56615e6e82251ce8e04eb081cab53e6656a379622fffaa11bd21426f536ac5632ac7df6df270257112b7f81ed5b5babda6a99fbd1f2657daaa883f3f099f +DIST vivaldi-snapshot_5.3.2658.3-1_amd64.deb 87839820 BLAKE2B 7b7d7d7c36f27c24c8720363302efb43fb6916b310ca475e0dc31bd18e0c1dd784e87fa468d00eb11bcc0783bf966897db4db0649d956a75cf81766dc74cfe66 SHA512 7778ad2b296a8bcc3592226d91e35cb197e2602a4efa73a32069e43d7c7623c26031a0f661211007f9211e690fb790e4aec956001473dd115d92f05e4672eb67 +DIST vivaldi-snapshot_5.3.2658.3-1_arm64.deb 83070228 BLAKE2B c42df98b16a4d2c541eb0249c54a4872597f3fec2778e96a6580b54fffdbd00269a62358816e2ef1db3205884b589a012e05fd4d5d1c17f8220ca13b4c0e3558 SHA512 73032b7dd0e15eb7495d11ccd85d42430ed5dbd0d5e9fbdee5109379fba0d81c48fcdf48e9d0d6b8cead009949f9231fa550649df3570baf1661d24e88ca276b +DIST vivaldi-snapshot_5.3.2658.3-1_armhf.deb 78953032 BLAKE2B a54f829c2d1c55fc48a1f4ff1e46d5c005832a6a5e02162222fe665b55d52bbd8a40d937947491b0f2df4cbc09607913efc2355a3ac7974e0ee4ddb68f8b7b7a SHA512 ba22b9a58d5175eff607a5fbfad5087f2163d38e4a3f30e6542b0a723384512bac17b877fcabf0826b251b74fac9a6e36e4103a134e07eeb91f0e06d4562bea2 +DIST vivaldi-snapshot_5.3.2669.3-1_amd64.deb 87863044 BLAKE2B 03d6cb87bc98b99e3eb1fe8c7c22f96c8b21eba9b7866ea5f26103b16151ed219ff44a3612f24939208f0030e20667c44e4d7a935b7282269a85eeb3ef618a3c SHA512 3be4fa4ef3420bf65aec57d2491465205832312680227c13721af198c087a413342dbed0c2a3e24aa58fb500e90a8df998160b41be566385a4f7450a8aeec253 +DIST vivaldi-snapshot_5.3.2669.3-1_arm64.deb 83143148 BLAKE2B a969d05577499a9cda3832166b26edd471641108fa145d6979e825dccd4910801ba562c0a64fd3f7603e4d6cba47b7b3df176d31396b718707b8df4bc7fbb5dc SHA512 34d32a5baf8cd067ba49d4271af158b4516831b4b1748b42af9a9f0509ed3caad782fe20ee6378f2617349b49a829492bc00b497a19e1ff1074e7520e2aeb51d +DIST vivaldi-snapshot_5.3.2669.3-1_armhf.deb 78989456 BLAKE2B fc9ea373d8f340a83ae7ae8d85a4190e1789c1706b15557f3d56d5321f633fd63377861e5f1ea1674f70f14e368c77df5a54da960c74179077c25042a998ea7f SHA512 1a2ceeebed215617ee9234ad320a41d291cf017554420eeaabde780f662536af620770a7b7e32948af927da1448e90e0ce42ee427c0bc0d66699d23a5fdd44ca +EBUILD vivaldi-snapshot-5.3.2658.3.ebuild 3656 BLAKE2B 7f433a87e1983d69df498f0f6a50cf48addca03396425682c60352ed6d795905e167f30b6dbdfc8486bce32c8a30d7aa34f1c51bca162078fe76bfd284956bd6 SHA512 ac86a0a9db01cc20889d78724c2d86d5333dbd812f455733769e2e4a199b186f2c624fb4f3b3057e3cff43299e29892bf72456bff2466c987bed3dc675615a1d +EBUILD vivaldi-snapshot-5.3.2669.3.ebuild 3656 BLAKE2B 7f433a87e1983d69df498f0f6a50cf48addca03396425682c60352ed6d795905e167f30b6dbdfc8486bce32c8a30d7aa34f1c51bca162078fe76bfd284956bd6 SHA512 ac86a0a9db01cc20889d78724c2d86d5333dbd812f455733769e2e4a199b186f2c624fb4f3b3057e3cff43299e29892bf72456bff2466c987bed3dc675615a1d +MISC metadata.xml 485 BLAKE2B 2be960ebfbbc2eefeb14ad0e387c02d90fd29adf4dcc77db0413f3c89087cbffac1ce538279d33c9b901cb67ad437c981d230b8f0bed1e98ad60ad049865e716 SHA512 62feb46aa9afe538c9ccaf687ba199779a5ce9231530296db7dcf38149ad2097d0418a7a43dfc9fb4fcdf679cb1a9b66ac550bea2b8927bafaec8fefa9b0d8c8 diff --git a/www-client/vivaldi-snapshot/metadata.xml b/www-client/vivaldi-snapshot/metadata.xml index d177249115d3..1170096145fc 100644 --- a/www-client/vivaldi-snapshot/metadata.xml +++ b/www-client/vivaldi-snapshot/metadata.xml @@ -1,5 +1,5 @@ - + chewi@gentoo.org diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2636.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2636.3.ebuild deleted file mode 100644 index d6cfbbe0cedf..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2636.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="100" -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.3.2643.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2643.3.ebuild deleted file mode 100644 index d6cfbbe0cedf..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2643.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="100" -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.3.2658.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2658.3.ebuild new file mode 100644 index 000000000000..70be8917c6e8 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2658.3.ebuild @@ -0,0 +1,205 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="100" +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] + || ( gui-libs/gtk:4 x11-libs/gtk+:3 ) + 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.3.2669.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2669.3.ebuild new file mode 100644 index 000000000000..70be8917c6e8 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.3.2669.3.ebuild @@ -0,0 +1,205 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="100" +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] + || ( gui-libs/gtk:4 x11-libs/gtk+:3 ) + 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