diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-11-27 09:21:06 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-11-27 09:25:04 +0000 |
commit | ad44f33883978c12c2dcb6d301f11daed4180571 (patch) | |
tree | 861b16f686fe7ed0465130b66f796d9871728f80 /www-client | |
parent | dev-python/hypothesis: Fix installing for tests (diff) | |
download | gentoo-ad44f33883978c12c2dcb6d301f11daed4180571.tar.gz gentoo-ad44f33883978c12c2dcb6d301f11daed4180571.tar.bz2 gentoo-ad44f33883978c12c2dcb6d301f11daed4180571.zip |
www-client/vivaldi-snapshot: Add version 3.5.2115.21
Package-Manager: Portage-3.0.10, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.21.ebuild | 194 |
2 files changed, 198 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 8745923adb96..db3eebe7ca9c 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,6 +2,10 @@ DIST vivaldi-snapshot_3.5.2110.3-1_amd64.deb 76322716 BLAKE2B 5b659e4fede5006037 DIST vivaldi-snapshot_3.5.2110.3-1_arm64.deb 68579824 BLAKE2B 52110e4b5b18771b97c4e114aa2f99e4681ea9ae0ea90b11dfaa4cb6549d6cd03b7e6fcdbedf1e433f2e59cba1b042620d081b25a75f3c04fc0c10159cf98750 SHA512 7f05001ad96aabde3fe70e7a6be5d8fa23b46c14bbe6d69f5b8b77fd30ae58fed55d7680916d037e51bbd97836cbcfc6583bb98f6ee0ac0fdcdc60a847d43238 DIST vivaldi-snapshot_3.5.2110.3-1_armhf.deb 67678904 BLAKE2B 9839d71df8299a0d84b2ec6cf5e3a4aab22a4e7e9e6136edfffb4779943cf69fb7dfb8ce47c01cb345a92a56cd01443d20bf3cbd40fb0b7fbb36cada3c54fb71 SHA512 22a8e1a85fdc00291311e78b0c75c9aca6cdb060fb46677244ab8ab39793fbe290496ff9df640fab4e5504a43e3ffb293fcc1f5596178494e460c9e9abb6f623 DIST vivaldi-snapshot_3.5.2110.3-1_i386.deb 73163460 BLAKE2B 84c33d2fe509889235dc2b0a03063328aea19c3908d84e418a34b65a6d4dd3f929724b3dff544c55aa4df333152e87e0e226087cabb09b64ce16b3b5403967ab SHA512 e860ded27d62043b36bb6bc1bcf80246e6569e617a77a2d72afce6312804ea16cb43d63fa5971246bef26dcd4cc7a1d5ea46c256100ca44a091d132b6ed8678a +DIST vivaldi-snapshot_3.5.2115.21-1_amd64.deb 76722964 BLAKE2B bf28f46d3bf78f35b78d95050c6fa6f7c9820a8cd678ee12775344e5956ab6795d6e79409b8dc6d93797caa7a608ff7f620dc75ef428f2d83c207a01fa2a187e SHA512 76b563be9ea9948e96eb19d5a83913fa7f6a01606a14576aff09c9358fff734d7a033cfc874ec3fb26f80ed870e84a99a49ca5de492fe0adb925ad9f0b50884a +DIST vivaldi-snapshot_3.5.2115.21-1_arm64.deb 68986432 BLAKE2B eb9e9f31e1da49b01679f91d5cb263e5b8532f3d8010f32bc18181b547eb6e7dff50590773fce3a735f2df3e879ef47ef2fba5a3a86762881a91fd69935e6d0e SHA512 4199ca5d7aa2e587aecfded39cb0feccd556527e6d2d666e8121b0a04d15a162ffa2a0b52d363a9c2e48d1d314427fff7deaceb95689fc4040380dda272f30fd +DIST vivaldi-snapshot_3.5.2115.21-1_armhf.deb 68075732 BLAKE2B bccb22efc245472badc4fde9262aa406ff557e0dad1cb169c0a266ceb28bfb0f537abfd365244b1d303dc7690302ba94b5db9c036b42e2b5520177b5371bf46a SHA512 a79e78c5fbd41210e0649a987c1a00b3ec5db7d057af1aba0635d0091d29bfdbe497b5f89c30a9c3b62d4726d2ceb66cab3b67620f8d7137159c9ac03af6e2bb +DIST vivaldi-snapshot_3.5.2115.21-1_i386.deb 73544088 BLAKE2B 8dd7c121583069fa5afdcc7267ae22ff0ebed1f4ee426a4ef68cf08352cf4de4b59d66c385c5204f4fd7f68bef7b025c55775aca9cff3a08b814c625bb8b96df SHA512 8d66aa4bb7d151a40eec25e71d5a82a5111a0f05e18ff46e4deedce47165d9258761134d43c6054c6a4d249d928697b6a1f31c7bfde9934ab45669e6a877bca4 DIST vivaldi-snapshot_3.5.2115.4-1_amd64.deb 76735612 BLAKE2B f3acf308816272d5f2e5c8612141423dbc32fa0b14a22d5980db0fe7eb06586e4bc85a5e7073c1cae1bc82deefed38e80de298f63251c3e362f61b580969d8b9 SHA512 3ef95ad76885c6b4cf0d28c2f6aaf7c0affe1a5826fc318d44d2ae37507feea796a639caf0cbe788df52b94affa6a909e0c6551877d16c0664a6bbe9c276c0c3 DIST vivaldi-snapshot_3.5.2115.4-1_arm64.deb 68981904 BLAKE2B 713bda870eaa2e25b0636778b8ba95d47ed750a3b66b0d7e02cb52690ce577d98f0c3fdd65d8ee32c2fcd8a93c7488377e774d018c277a858f2f1613f947f807 SHA512 8ae76a9cd010729fef458321e93ed9e7c359a3d81f767490766545a855dd66e32c6de6406216e73106ffc3dd4ab662fcb1e5372a86fb1bd6d5503c1815d39e84 DIST vivaldi-snapshot_3.5.2115.4-1_armhf.deb 68073008 BLAKE2B ff91480512edca9b120fea7152772ff3f566f14df75263f912a019c64f92106428ed926d89712b651ae0a948d1c76fb8ea9dbecab28152eb71aa0016213aa6ee SHA512 734c6beeb98793ce942de220f103f2bcf1675c2bfd03192ed7ff30e8ba6aed17e3af75ffe8e7a084ec2174e0a5a3383bcd8c3fe1d26383b4216e93b061d2e934 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.21.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.21.ebuild new file mode 100644 index 000000000000..f69da1d681b9 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.21.ebuild @@ -0,0 +1,194 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CHROMIUM_LANGS=" + af + am + ar + 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 + kn + ko + ku + lt + lv + mk + ml + mr + ms + nb + nl + nn + pl + pt-BR + pt-PT + ro + ru + sc + sk + sl + sq + sr + 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 + +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" +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 + + 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}/lib/libffmpeg.so + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ + /${VIVALDI_HOME}/WidevineCdm + else + rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die + fi +} |