From d4b2640abf9821cee2189d7c66a2b2e6ea0dfc56 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 27 Jan 2021 09:45:57 +0000 Subject: www-client/vivaldi-snapshot: Add version 3.6.2165.26 Package-Manager: Portage-3.0.14, Repoman-3.0.1 Signed-off-by: James Le Cuirot --- www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-3.6.2165.26.ebuild | 202 +++++++++++++++++++++ 2 files changed, 206 insertions(+) create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.26.ebuild (limited to 'www-client') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index feda77cdc058..e82da141e2ab 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,6 +2,10 @@ DIST vivaldi-snapshot_3.6.2165.22-1_amd64.deb 77580020 BLAKE2B a35e59be7501e6dd0 DIST vivaldi-snapshot_3.6.2165.22-1_arm64.deb 69778528 BLAKE2B 948be83d7b8422b1482f1a837147d190caac30d1bb10b4a3a5dc8636f347da6f41da51332087239ffdf3428333d731a503de162ade5c59aa46657244503c0827 SHA512 9722f7625af7669348e5e241895fed469a76f398347e5f3f976320664550fc0d64c10c5944dfe68957a45f5f34afaafa1e78623ba20ec3ca008ef3ad13058c52 DIST vivaldi-snapshot_3.6.2165.22-1_armhf.deb 68599120 BLAKE2B e594ec892c437016bf6be06b516b09167baeaea0def10deaf983f4eded12adb031b6c82806ce088a3557b3af048945e23be56cc4e5ea842da177a940d1cf1b82 SHA512 16e8255e3650a54d747ff2a30f6a41d717ac5969bc672068a13d13c7ca4341bccb147c688d68673cab33166fc3fdaad0c1e164771b81abab7bcc5290d7ab104c DIST vivaldi-snapshot_3.6.2165.22-1_i386.deb 74260324 BLAKE2B d2ac290079a5186ee6a2ee3902140b9a8e7e481c6083726584a722b032f23561a33517d4d91592edb5523c59e3f60f3759c925aff704c6009aca73b4be4229e7 SHA512 4627e881b17600a7d49f493be2365070161b6c86eb71c56862ad2dfaee2ca71e46f7db9b182342c36e51c7f4d5dcbfff538035fe321399d0ef64ad286451c8d7 +DIST vivaldi-snapshot_3.6.2165.26-1_amd64.deb 77534968 BLAKE2B c8fcd5a48f6657289438ba0289a01e3a501510a868a523675c5481335351fefcda2ce972042eb121f488b2b16b7ffe738b8a87ae24d62436a77ebb17480441e2 SHA512 9b6dc9bad55280e79b02ebc70357e9cf4a364249e924c1c744d1748589dda25f29c483f83091823362d4248cd495a54ec11b9992d41e0c351810ef9017fad155 +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.3-1_amd64.deb 77545364 BLAKE2B af19ff89ad46e3544bb93f8dfcde000e3b503ff237fa67c1a95a7216bda310e5626f9484ee2dc2bfcf9f8f04145d2be350373a39fc34e8a2eab76c9e151c74cf SHA512 8f53df219c56a378f6f8bdbf658dd91bdd8c4498b9cea496f2cf39af41aca81f359f7be5b24af6ee5a05429ae1c77f5cae264e22da61320f1d67ec6ce49142d6 DIST vivaldi-snapshot_3.6.2165.3-1_arm64.deb 69192596 BLAKE2B a5bb6f2b4989bf8e2139353cfdab0cd0eeea1b88484ada1b12370201519f469dabab257e9147c0e170272966f1ccaf86961b1e479aafd8d82b97c3fba93f1f9f SHA512 7beee64499d70fdf74ccdcc10e5cf2c135b74d8c0337850d7e2244e951d50d4fc932cf9af947135a37d7251d918abee51fd8a0652c2d0db5e141730e8a122beb DIST vivaldi-snapshot_3.6.2165.3-1_armhf.deb 68624428 BLAKE2B 15e482ce38b54379830133e0602049786182e944ce5c3838baa9818ef79609d7af8e8c5d601b3e1e5fea5e31b8c2619fea21796ac462ef5eb9c73254cabcfe75 SHA512 729118f519964b8bc33419a6bbf0f7e79ec471b3a1a29b956a5e4123b37c585e3a20304c9e3cd7f60d40b0308abe4c14973775a3c17c77fd4470ab567991a536 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.26.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.26.ebuild new file mode 100644 index 000000000000..e3d12da4e30f --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.26.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 +} -- cgit v1.2.3-65-gdbad