diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-08-19 12:27:52 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-08-19 12:29:18 +0200 |
commit | 2094afa7f3a641588bea24b60600395ac4440cc1 (patch) | |
tree | 5bd315f6fc60564cff8c6b6ba80c92d6de4dc4b8 /www-client | |
parent | lxde-base/lxsession: Remove unneeded libgee dependency. (diff) | |
download | gentoo-2094afa7f3a641588bea24b60600395ac4440cc1.tar.gz gentoo-2094afa7f3a641588bea24b60600395ac4440cc1.tar.bz2 gentoo-2094afa7f3a641588bea24b60600395ac4440cc1.zip |
www-client/vivaldi-snapshot: Version 2.7.1628.28_p1
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.28_p1.ebuild | 115 |
2 files changed, 118 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index c6eb127ef34b..373aeb0a8c87 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.7.1628.21_p1-i386.deb 61993780 BLAKE2B 98e787d2c5b5a8ff7 DIST vivaldi-snapshot-2.7.1628.26_p1-amd64.deb 63561740 BLAKE2B 669ee724cb967e297c3e86e2e7fac292f839814150bf1505fce8b3117291601c80706f9f168bfc43ee3089053ec1a63292c6958fd6795a0f6fddfb3a88b94044 SHA512 ec761e3822354aa9cf19f2770e4ed56f4703645fafda3decebcd6728d3f1ba36ee6bfd54fc228efc868d36c172a62e328c9d81aa90c74a3decccb991c84fdf3b DIST vivaldi-snapshot-2.7.1628.26_p1-arm64.deb 56888812 BLAKE2B 29af1099adcc95cf1d1781b3a6417ac827a4900d67d4e9c751186de7bf73655d4f2f4e478890f7c22add940ce4bfe4c867b5e1db7133cc366c34e76753eb8776 SHA512 cdc2909db5b20f5c407c5d659d854e74ea3409cdf245404fe97e46ccd0e4b2513880a58859ec16762524bfdf65d23d7fbd5cf6607bc1f66f6fddb470920377d4 DIST vivaldi-snapshot-2.7.1628.26_p1-i386.deb 61966124 BLAKE2B 04e40c1e2442f3bc07c4184a016ae7b63c39e05170bb7896f1bbda2f1194c5376eec2f32240e80f062496e0655a8e851e3c3e2e29eb2ea356101f02784e961e3 SHA512 19aed979e3336119d02e880d93a4ec27c41e264a4f38630939d66ea1ec997cbc7b09d2c8c157c81e43390e3a498e1baaa4753f2f059c9a2074e44eba3d1ad87e +DIST vivaldi-snapshot-2.7.1628.28_p1-amd64.deb 63570536 BLAKE2B 4aa0f395743ee6824bd2a89d94a3a272544fb5b8bf45c6af57c80d9ce2424a39599d592e82a0468a4062826552de9ab219155c6cff778dbcb29e460cdbd2a7a3 SHA512 05b18a0d0b226e882a620bd69c2d1281df1b785ba8b5bfc67c94a3ac5a20baa66b95501f2a69cc1a8e4b00c16e81d1f10617e73dda02caf6aed53eb828b70802 +DIST vivaldi-snapshot-2.7.1628.28_p1-arm64.deb 56917668 BLAKE2B e072e0c154e02b5299c2a7a32f72c7915e16176cbdb327ef443e52a5eb7d4fb085d24bb6bbc061928e6bcd0d4d8f73f527a4ce825d5a411a9822e01e7826ec45 SHA512 bb912cff307b0e721f27abd86b26f91070460bbec35bb8b4ee0a51b5eec3cf8b03577e773ab134126b5d8b46746b83f76ca54b411516119ca96502623b79d9c3 +DIST vivaldi-snapshot-2.7.1628.28_p1-i386.deb 61985080 BLAKE2B 392057df411000401f44ca90311b81aa78d76a1b7f09bfc46d5067f8d5480325d9b5ee6facce00d466832e1e1befc5db27303594fcd06a90ecc6d1a42f87baf5 SHA512 aaa7aec5d4ea5201acb36c63d18ff853681bb2c88e3f009b264251928dac6c35ef77479d3e20c527a950a4adf3f4d09c11aa409040a6262e08154c21a8c4e770 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.28_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.28_p1.ebuild new file mode 100644 index 000000000000..3777ea957e1e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.28_p1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2019 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 multilib unpacker toolchain-funcs xdg-utils + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +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] +" +QA_PREBUILT="*" +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die + mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die + + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + gunzip usr/share/doc/${PF}/changelog.gz || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN} \ + ${VIVALDI_HOME}/libwidevinecdm.so \ + || die + rmdir \ + etc/cron.daily/ \ + etc/ \ + || die + + local c d + for d in 16 22 24 32 48 64 128 256; do + mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die + cp \ + ${VIVALDI_HOME}/product_logo_${d}.png \ + usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + 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 +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} |