diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-12-10 09:09:39 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-12-10 09:09:39 +0000 |
commit | 1d6ea1347c4bb7d3c0613b590ef658dfea02c2c6 (patch) | |
tree | 50a13ee4b90b29fd1fc31039ef67422f83e27bc7 | |
parent | app-emulation/qemu: fix safe-stack feature detection (diff) | |
download | gentoo-1d6ea1347c4bb7d3c0613b590ef658dfea02c2c6.tar.gz gentoo-1d6ea1347c4bb7d3c0613b590ef658dfea02c2c6.tar.bz2 gentoo-1d6ea1347c4bb7d3c0613b590ef658dfea02c2c6.zip |
www-client/vivaldi-snapshot: Add version 3.5.2130.3
Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2130.3.ebuild | 194 |
2 files changed, 198 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 1f9cba32333c..c7ff57148547 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.5.2115.71-1_amd64.deb 76782912 BLAKE2B 99741b49846193093 DIST vivaldi-snapshot_3.5.2115.71-1_arm64.deb 69041316 BLAKE2B 810a43a61a04c3ad6d36e2fe4b2a17a4b0b67413d06ab98e1fb903c170f6fad5ae9aa8fee01221e799fac4fc61cf29718a778487b1e7b7f7938f5d42f8402122 SHA512 48d3b68f3ae8da8355047a1ce737b3d41a0f6b9ed9fd93020c5dcf35986fd88aa9aa2979875ee7724bed3ff2d70352de0c2bd51cb64fd672e84d7759455c0b10 DIST vivaldi-snapshot_3.5.2115.71-1_armhf.deb 68130280 BLAKE2B 24f10b5a4e82671c73b6f6d30c45011c4718e98cf4d161c09e0b557fdc2d6f9b8389f234e8f38e8fded9da1ef67ecf1c49354e1845468d2e58993cf98e2bc894 SHA512 09b8446ec1b967463d51b99b915f1d9f1755b780396cab622d38fb4ded89141b415e63818fe2c4e0bfa76f3a7b247225d2ae75ce7b1675475f65af5c68f4eb6c DIST vivaldi-snapshot_3.5.2115.71-1_i386.deb 73583972 BLAKE2B 149905a822c037b692f48aa7b69ee3ab0b200775c7ea9803f462f98bcda230b777bbb1949383299549fc7bacd0e96bd1d6bfa38c2f300109341f184e5f5f178a SHA512 8802cb2853b79cb2deed601c3441c7198d4969904075e18a2856327a23d1384b3166b5ae1b79dfb3d0048c438bc1849cc48dff3136fed82fc35140e69eb94187 +DIST vivaldi-snapshot_3.5.2130.3-1_amd64.deb 76854688 BLAKE2B 398fce098dbdcade6b79aea2495692f4ad98102438aa46fe74cc0f2d7130d71345b6fbfc94952d038c25f9193893563b9f2b139766f1f9b3cc73a045236ae773 SHA512 fb7ac8052904e4baf7b1399557c222f203dc0279f93bc61f4445f5a1caca57904b8408a13605adf3c3ed0ccbf8471859f71175e5a45d1b9cc782f22f382884fa +DIST vivaldi-snapshot_3.5.2130.3-1_arm64.deb 69099100 BLAKE2B cfa821a9959eb577e83ca6a7d1043b018fae3b593a00ad7814c5f41924e8ecbf7ab8ab1d0a4ab7c392e776648d9c2d4943aacf466cb74176e12a297c20f3eb43 SHA512 57057d09e258bd348339b2f18b84cdff0b87c20c1d8279d02682a9cc50ce6d4be5ff3559a692448e406b44016e9409c8681f55fe7d5f1e12ae7fe762ad2a55ee +DIST vivaldi-snapshot_3.5.2130.3-1_armhf.deb 68150440 BLAKE2B 1fed1ebf32bb1a7a81760239d2a1fef3bf439b48c5c84c82029dc0486363d5234b10e17bc7d1a11a209f734638bb9549460e2bcf428c4bbc66d56ac1b2cc769a SHA512 4cc4373b33681542b1f780be8fff0dc05ad1d1422e9d710cf83cfb71cbb304ee01e9b9054cae6297d9e3fc3a883d54d23d14c308e2da89f57060889ab9217df7 +DIST vivaldi-snapshot_3.5.2130.3-1_i386.deb 73624036 BLAKE2B 9f706c1e6d398445b7325c1bd34d0fd870cd03b915f24c41c469889001eb63c1d58d7115779e9d09af0a3816939756c252872d5d93db05fcbf56001eb37f4730 SHA512 be803724cbd77f8fceea87e57a267000638ebf80b7344f80bd8aebaf5ab76ddffc4beb514e366aa440cb30d2b4d0a3288848d9acaecfaab1eb7258ce94e63527 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2130.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2130.3.ebuild new file mode 100644 index 000000000000..f69da1d681b9 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2130.3.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 +} |