diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-12-11 09:08:06 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-12-11 09:10:25 +0000 |
commit | abd936ff76a9663d7b3975b2a3b4c3f2a99e74f5 (patch) | |
tree | 088d061546cf7c12b5c82280f01b74fd295a9e34 /www-client | |
parent | sys-libs/glibc: make mutilib bootstrap files optional (diff) | |
download | gentoo-abd936ff76a9663d7b3975b2a3b4c3f2a99e74f5.tar.gz gentoo-abd936ff76a9663d7b3975b2a3b4c3f2a99e74f5.tar.bz2 gentoo-abd936ff76a9663d7b3975b2a3b4c3f2a99e74f5.zip |
www-client/vivaldi-snapshot: Add version 3.5.2131.8
Package-Manager: Portage-3.0.12, 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.2131.8.ebuild | 194 |
2 files changed, 198 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 7a677010260d..fbe994fa873c 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.5.2130.3-1_amd64.deb 76854688 BLAKE2B 398fce098dbdcade6b 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 +DIST vivaldi-snapshot_3.5.2131.8-1_amd64.deb 76855420 BLAKE2B d59f6acefcfaf130beea1a1d08af2f68f2ce24ddfa8a15f63c577b141c992e3b77a6be01716db8774a90fc752ed53d244f0029e8bc2aa0e397a352a5424bbffa SHA512 b19f466d713d99ec78cf4295a31325b5d0c87b80dc95ff9fd3faa22a4c0c90b1e6feb35a1489cf56a22227b010a64267d6f51e452f41ea55d672cd097b0762f3 +DIST vivaldi-snapshot_3.5.2131.8-1_arm64.deb 69080380 BLAKE2B 2ba552ddb7e517ce6ae4dfb2a206549a0aa344d6b5a11dccb7738788a12e3640e58c4614a29e081d8afeb854bafdb3d26632e9a68e6ed5151eaa15c3d0940185 SHA512 ed9aac855a9cdee0b2cdd5c4f53b9fdf2ce059d71d927caba358e1f4aa143a7656daf6a2e372e1d6f40bfa20c826afa7b37b6611ef2caab04a76597d0f97ada0 +DIST vivaldi-snapshot_3.5.2131.8-1_armhf.deb 68159604 BLAKE2B ad8a85872d0abb106856f5f41014b358ba6c65fb0e2b9e3bfe7a8d4d0f2b1a3e12573f19c3ff3d7e30208c72803b9cd9bd4c7bdbbd75a264bae1343093bfc9e1 SHA512 72e236246a1969a18e4b9c26a84eeea3e575f63ef0b93ed2a0898c2f04a9f3848f4130de34cfb57f9f1da2236b6b6c7fdfc567fc77d9a0f99516fff7b4d66013 +DIST vivaldi-snapshot_3.5.2131.8-1_i386.deb 73628540 BLAKE2B c9bbdc00353fd02931a7c007070c29406071437b59d56b6adc17855446e2e89dcddfcc534ea6dcb5a8b6c207cbd3d9a660cd484959d4e1f27d7fc94b6048c242 SHA512 06d6259cda2f2011ab22b1caee09c8957089a5bef0816bee124630803c4bc5e3b3314e357412226988a2ed47cca48784c79d5ec5ae6c5e90dccb943e5f4261a2 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8.ebuild new file mode 100644 index 000000000000..f69da1d681b9 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8.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 +} |