commit: 6a9db39cee0b8f1a87d1df50b46ae3ca4459644d Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sat Oct 30 07:30:37 2021 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sat Oct 30 07:33:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a9db39c
www-client/vivaldi: Add version 4.3.2439.63 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> www-client/vivaldi/Manifest | 6 + www-client/vivaldi/vivaldi-4.3.2439.39.ebuild | 205 +++++++++++++++++++++++++ www-client/vivaldi/vivaldi-4.3.2439.63.ebuild | 206 ++++++++++++++++++++++++++ 3 files changed, 417 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 83496898d36..265de3e9727 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,9 +2,15 @@ DIST vivaldi-stable_3.7.2218.58-1_amd64.deb 78992560 BLAKE2B da8f3eacd8d0c826006 DIST vivaldi-stable_3.7.2218.58-1_arm64.deb 71046428 BLAKE2B 8f0dd3e845f2e4587d238c8f48447e514ac7605acab8d67f30c30ce2df04fae600382218087aea68f75621887f5a71506389c81f9b31614e20d3d7611d7bfe0e SHA512 2126c24ae8a7e4370f4ced2b37580871394de1f38a02b88d24c974ee23c13a4264ca8c11e0c5b7ad542812531898d9ee425657d9c7eeba4e08c718c07c7337bd DIST vivaldi-stable_3.7.2218.58-1_armhf.deb 69900368 BLAKE2B a85b97405c80dd10907d9b0b9846b8c2b1101346cdce4b19ddeb1192de64c49056e086903829b30b9e6bb4928c3de500138cda460596dff7c2505fae0661d6ca SHA512 2d37b2080dbacbd6986e9d346be4e0aefd48a25f039668e2c1e697a025c294e4f945fdd3d86ae34688335e0d2b496355461756ae650e0b0fd212fbd983494ae0 DIST vivaldi-stable_3.7.2218.58-1_i386.deb 76040556 BLAKE2B 4710993024a401a8b9e25dd5cae55d5e5077423a7f7bba7af55150675d7848427f6bdca1fa8666f338b7609cbb11254c75df901e3c33fc6b75c5824c17808b71 SHA512 d5a8658d80aa8a4b5ec38491f3a4f6fb16c5a0de7934d4f7f518efaee36afc1d9585695c121f5cd65d961ae134c7cae0cd6bf0b07858ef2f906d715ca424ead4 +DIST vivaldi-stable_4.3.2439.39-1_amd64.deb 88042364 BLAKE2B 71f471f9642e0a15584a2eaa9ba9300f0b473cf85ad17d3ce9b5c6d9123cf844014885b38cf9b5700eab0aa5a0063bacfeb013b293e02097de68fd7d4fa2d62f SHA512 fc1099b7cb1dac8882db3b093f213c674049fe9781106f2c8d0114020e25b55dc84621933c999a4dc04ff1e4e497927f8b85d4055747df79dd6bc942e05aa3a3 +DIST vivaldi-stable_4.3.2439.39-1_arm64.deb 82781716 BLAKE2B 7896804368d34a81aa936969b1473d32a414c14d344dce4df55f64a36c8cf52464979fb2d9ecb3508db01e24749d44a58f72ad3d7a2d474501394d2f5a5ed675 SHA512 437921cce2fb215728c1dfdd07975dc424208f0c89383a965738a3e2127f1ced9a0258ce2b1ea835bb0cfc71524652e519883e5371f33356cef5640741bd9e7c +DIST vivaldi-stable_4.3.2439.39-1_armhf.deb 78946108 BLAKE2B 86a2ae7b947d7ebd7beab88e76e20b5d4115531329b1b4072f448cbcfd2f25ea396b88d976c977c1fde40a231d8e450b9c06953ec7412fc0be03212055cb3ea8 SHA512 081bc6a711ab3520008417520e572fc4b885400fd19f32950064382067b6c7b36eaeab918ec5b065f19540df706f03892f83c2b81cc49e66bbad2885e4b33cce DIST vivaldi-stable_4.3.2439.44-1_amd64.deb 88033720 BLAKE2B 1d2cea0200b9686254963c40e94fee389f3aa364c53575c60bda2c22252100b13920eef9c6de84cf2ca3d8d7f5514c2ba607cefde9ef73d8e66dec46365ecf4d SHA512 144aa07d85f9960faa36d0b266445ee6af91cf1b20e4bd9e1d1c8cb7143ad07ea11691996c3f4878288767628cbf88cb478d3c39c8933fdd4373d4498b627332 DIST vivaldi-stable_4.3.2439.44-1_arm64.deb 82806876 BLAKE2B b83aead84525790e3f2f6249b0ebab9b96031598496fd9599be5448b2a4c64814c9b625a34f3d51ec459330998d540aec4b3a7f19713c70b7d10502d33076a9c SHA512 5a88c5b2ccd979d5d5c6e6b9aa8a8e94194ea0a5700bdabfd7ac44a7fb9530a51918340ea95740a07a5b796f08dd25fce48aee52250a10aff03ab984b024c789 DIST vivaldi-stable_4.3.2439.44-1_armhf.deb 78995280 BLAKE2B e183d188a69a7e4f81234aa297602be6328959aee95ec7749db4222bbb3eb83a0a3153309e858be6e4bd654dfca4af787baa8481fc0be780ba4b0990848560da SHA512 afa0e0db5367ee260163d4ebfa802553710b1236ee3e3051842b0be40197fa4949e137f0fd6cec71bacbd34b18f51c0eac327f3a439f8002608b72e6543687c2 DIST vivaldi-stable_4.3.2439.56-1_amd64.deb 88024500 BLAKE2B 6425a97df0209038d2511b5c4ace65dc5d27f287d33b87dcf72b54c35d888a7915e03f1ee43c056b8677ed64e1755cd677974e9205eeafc414ee8c6ba472215c SHA512 6966a40bb0ea0ec50540753fb121a8ce295c0782a09ae5adc2db894412c71c7d8b3c9bc3c019f7850ec1495482d2979723dd6e32c9e8e426a2e5a429453a2a88 DIST vivaldi-stable_4.3.2439.56-1_arm64.deb 82810248 BLAKE2B 011b80e3567d572bb1afe193edc0db1aa9da3f07d920ee0b47c339eb920f7288d07c2e985d5321dd6c8b496964045eabef80a50794658b9ebb8984946e1f9557 SHA512 7cfe9732fd5f0d498b601921349122b801c58140b164ffc8c0e2011ddd15f716ab165c946720e30bae955af455228314734d9f5ed53d12842a9a790b5afe8ce8 DIST vivaldi-stable_4.3.2439.56-1_armhf.deb 78990996 BLAKE2B 44567bb3c1a75363c3e73c73f1e6455671932db369bca1dda66e9a458b9c836f7c3fa04502000768d6daaf40819e34d219755a489c49362844efe60f28381646 SHA512 71bbdde42e2f7ac826fb2ffa24979b088bded2bd1977a05fa7cab7e152d10c091bb222a6654f53daa524040b884ec43b076abad136b5194019c0904eecf68642 +DIST vivaldi-stable_4.3.2439.63-1_amd64.deb 88054948 BLAKE2B 0a5278cc5f0157336cb9963f70c98285637424248608de082c95f62b0aa23fc1260a8d13fb2cd5d49a7144198a308f65f4a4adc8e8a087b7c23fe8824a6f6008 SHA512 4315f40a1ebc4fda12499e43115c62c5e902f4620c870fc922d628bb1b536a394246f08ae4fa92db979b82fa2bf67d79ccf7dcc2a8d3bab0b7e05c4f77ebbe9d +DIST vivaldi-stable_4.3.2439.63-1_arm64.deb 82839452 BLAKE2B d139dabf0c6cccd397fa94f1854793f147120962ec7bbefb7e91ef7aabe904cc2e052ab634ecbffe87da6e576f8dbd1c52c7d49b0d36d69af8f3e1286e23b9d1 SHA512 7b178d7ab7550a3d7bf504ba69894982f499d13626e3e16d6b7348171f4dfe2bf81982054c4b91ae0f31ec4f1d32df25eae3cc2454a42c0b9948dfc668c47a3e +DIST vivaldi-stable_4.3.2439.63-1_armhf.deb 78978500 BLAKE2B 9a4f9699e5206db086a3195b673171b228e46f1657823b1f84af0ff3c1a74f66a237972d35fc8f11c588073395ea42bdbe7953ea43a658ce72404ccd39b23da5 SHA512 f02c4fefd556c254daa6cbcd7caaa7526ee19f10b2d5a5a439ed9ee3e16ef609bfa9544e344a65dd5afd80e55e75f7d5bb4d6c032bf00a27ef0f61d3582fa631 diff --git a/www-client/vivaldi/vivaldi-4.3.2439.39.ebuild b/www-client/vivaldi/vivaldi-4.3.2439.39.ebuild new file mode 100644 index 00000000000..c2409d01a97 --- /dev/null +++ b/www-client/vivaldi/vivaldi-4.3.2439.39.ebuild @@ -0,0 +1,205 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/speex + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango[X] + proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) + 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 ${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 \ + /${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/vivaldi-4.3.2439.63.ebuild b/www-client/vivaldi/vivaldi-4.3.2439.63.ebuild new file mode 100644 index 00000000000..9fafe2ed2ef --- /dev/null +++ b/www-client/vivaldi/vivaldi-4.3.2439.63.ebuild @@ -0,0 +1,206 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="94" +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=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/speex + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + 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 +}