diff options
author | James Le Cuirot <chewi@gentoo.org> | 2021-01-28 09:12:00 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2021-01-28 09:30:49 +0000 |
commit | 948a49331fc5d078fc71d00c82569909fd6bb304 (patch) | |
tree | 31ee48833ed2fb0916a9d160699561d2e76c9943 /www-client | |
parent | eclass/docs.eclass: make compatible with python-single-r1 (diff) | |
download | gentoo-948a49331fc5d078fc71d00c82569909fd6bb304.tar.gz gentoo-948a49331fc5d078fc71d00c82569909fd6bb304.tar.bz2 gentoo-948a49331fc5d078fc71d00c82569909fd6bb304.zip |
www-client/vivaldi-snapshot: Add version 3.6.2165.32
Package-Manager: Portage-3.0.14, 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.6.2165.32.ebuild | 202 |
2 files changed, 206 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 033cb3960f0c..2cc2ff6f78f2 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.6.2165.26-1_amd64.deb 77534968 BLAKE2B c8fcd5a48f6657289 DIST vivaldi-snapshot_3.6.2165.26-1_arm64.deb 69807004 BLAKE2B 621675672e6b151a9ec8061f170ac885d151872a334a8ae4ac117f4a640f7a093e30828f1cd95e03e105545790a649b5e668b1dbe663969311df111306f25fe4 SHA512 ef5c098aab49074f5c3c360a9d44929d8e8517f8eaf85d9afca2e46fcecb302f8fac1bb1b37ab1273c764a9c837034992f5d2f963b0b3a43863e1a6e994080cd DIST vivaldi-snapshot_3.6.2165.26-1_armhf.deb 68608692 BLAKE2B 0e54dc2c5f8b8ec238d0de7c79c40316b0f6005df43fc37ace484f4bf048e305be321d880a513c97c3dacd8797229d279c08dfe63a8c7307fe15ba60f935c2c7 SHA512 e2d19ccabea4fde8fab3a2589ef4e8361d4fcd4f964b8254d929822d67cc8a6667356f2131526b124537fc688b18a781833a2c5b07bd14c3f0877f990136e6b2 DIST vivaldi-snapshot_3.6.2165.26-1_i386.deb 74265460 BLAKE2B f285f0b257adb6944c4d05a414b7d9cc404c79555defb5823ccf449b426ba7e9bb5e55cdf2897122d30f0ee971e004c1042ef1428390663a5f193dbb9a7fe490 SHA512 040b5a80fc18e45dd1b4a1f5f7e30b430ef3a28c09e0158f48ca4deb7c408ee27db525602d9cf0d48c51c7c37ad50c44e7a7010b15e4691c48e270c75e1cf2fd +DIST vivaldi-snapshot_3.6.2165.32-1_amd64.deb 77537504 BLAKE2B 5104b2ca7878512afb5c38e242c7e38660365445d4e6d9b0e12e44104f2ee91142d7f935131829a4a6faca778dc753478ea78f35734566a12d50b2778d1f34a1 SHA512 a05ab34c4e22c36571a944510274706980c1b2d9461f36646164393af4bde130db6e906bef6514cfa201e2d06da1e6b8317a54fe65099b21120d5f74e7ba9ddb +DIST vivaldi-snapshot_3.6.2165.32-1_arm64.deb 69777460 BLAKE2B 3bd957ecd1547d79183b955ecbc8aa6d53e9966c8f03810b5f40ac91b5752022f6c91111ab3680f220ba1f8ac1a7748f366a5b0a26ce528fa00cb1be87ec4b3a SHA512 98f2061f5f32be702e55927e58ef8af03bbb5f16c2d6fbd9f4959b9b9732313c3663f4b720243505fbff3f58677a06e49957754efb03fa28b02065edbe338682 +DIST vivaldi-snapshot_3.6.2165.32-1_armhf.deb 68597612 BLAKE2B de4c564394972fb9a85b02541adc67c0841b0b21c00367883527e383af80988969ab6a9c0abc64bb55a7ecad83a1b626f8a62ae383d7818e464f9aac1a3b78af SHA512 efa2a53144791e1bf42515932cc08b3308755feb797c00d64a283880b4c0e9d2aefaa0d7fd0d44eb3354e3bf289b0a087381af62202430dcf0fbae9e58c5a2d8 +DIST vivaldi-snapshot_3.6.2165.32-1_i386.deb 73641588 BLAKE2B 49c95c3d8cd90d1eb69b46df7e99cc5a267a6e0f1ea051e011f9e032fb130b4db63b542015192ebac72840aed11abb650d0b221b84b387cbf72ca4e1432d0bfd SHA512 5dda40708f005862ae214a87d14f5f88f3673615402f07fb1c3317d40cdfb922ace38d897ec3bf88a0975b3f95045cf4d7022a3a3e06fc8edf49c85e9990b68f diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.32.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.32.ebuild new file mode 100644 index 000000000000..e3d12da4e30f --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.32.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2021 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 + + 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 +} |