diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-09-28 14:22:03 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-09-28 14:22:03 +0200 |
commit | 0138871ae1d24ecda767a468027db6d1436888a2 (patch) | |
tree | 670c8824a61a347ab537867d8a280a413d47f53e /www-client | |
parent | perl-module.eclass: replace search.cpan.org (diff) | |
download | gentoo-0138871ae1d24ecda767a468027db6d1436888a2.tar.gz gentoo-0138871ae1d24ecda767a468027db6d1436888a2.tar.bz2 gentoo-0138871ae1d24ecda767a468027db6d1436888a2.zip |
www-client/vivaldi-snapshot: Version 2.1.1317.4_p2.
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1317.4_p2.ebuild | 118 |
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 8a0a7b42e499..d69babab2bea 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.0.1309.25_p2-amd64.deb 58859370 BLAKE2B f454daf25623fa99 DIST vivaldi-snapshot-2.0.1309.25_p2-arm64.deb 51184878 BLAKE2B d5bf1f8b68ac94ac628db929628dca466cd1517779938ef911711a6fb067a81b8e8bbb92a64484c530e5062f0e801b9cfe4f7e093f5d82d150457088e466057a SHA512 e393ab365982a20f9b73b8bf8a71ea614bba45239381f3b7c4cc474f6f429b5fb4f37154a8038e300d31b1838d16669ede38ac73b78812471c49c25ba6d39231 DIST vivaldi-snapshot-2.0.1309.25_p2-armhf.deb 51990268 BLAKE2B 7317a14aac067be6410c6d3103de4b55d5c9bb9e914bd6e07b071cb86202c0f0912bc600376ca16bfc3a61afdc199e5b5195647b2caf8142f9f30d07e7a7d890 SHA512 9e4d2fb931b80d8c506c3e91c793f2d2765ee27c7b7abe19daafc284ec32c082122df25d7737ad6cc2a906daafadb7112b89cca892ad63aede750dd8507fdeab DIST vivaldi-snapshot-2.0.1309.25_p2-i386.deb 58071590 BLAKE2B d10c7d0627f45d4e0d3735192e7f4b792e2439320095173267c8a042213e3fb4aef1ec4dbfbdbf79ce49d643f0991793a23c40f8579559718e7da829d1418a58 SHA512 7b35f452313f2327675170c168d0a8e608463429631f5c98e7825ed64e57852667a10fef1c3c5b0a44e35bade4e19156aba7deeb0b3e864e59ecdfb3b25f659c +DIST vivaldi-snapshot-2.1.1317.4_p2-amd64.deb 58852884 BLAKE2B 887de4a17ef097d87502e65ae6ee89c4f8e51d8225d870a1b352ad6d9d51170ec87b2fa42a0d749b8654789b374d30a7af599dcab26c1314178106b801a2f5cc SHA512 95b3dc1c2f78f2730edc2e30697c8ce49ffa954874c537af24dc0636e42563e81b8d2f0762b4a16a4047f9751d8fe5da0299b024d4b84048f6e2ebd3a2bc9e5c +DIST vivaldi-snapshot-2.1.1317.4_p2-arm64.deb 51161024 BLAKE2B 60c14b57fee6e39a05b9d7d62a327d961c5ec8cb2239b21f51c5f1fa98752f93f86162cec6176a1342d6588e95d818bcb79b2f331ceb11c4ce422f8925922926 SHA512 311cdec2f8063fb20dbb410cddec7013d251971f73d278be8dc5d9843a7901bcd1bd1f6aadfeb1f4fe7df118a31696328cad821b3b85fcd594b2b1d47b5a1fc9 +DIST vivaldi-snapshot-2.1.1317.4_p2-armhf.deb 51996466 BLAKE2B c2ed497b681ce0523cd0fbe0eedccdce656357b65bf620b27a80a499ead390af68cf0958d21f0d59af393248e7ed3b896684c9e9cf6d0514af273c4b8784525b SHA512 bc4e5be2c4f36f80a4a19e7530a523b95c28b654f898f34d97ebd72d83754101280355f73bca5388d90b858d4aefd2eb0d836fec9541b069ec6ed44f6c3a8503 +DIST vivaldi-snapshot-2.1.1317.4_p2-i386.deb 58080282 BLAKE2B 5da79ebbb45986ab267744ef675c16cc4392742da74610f33f8dc167945b8177531c66664990d53a1ae45d85d82aa3f269bb9c97fc8e18292cf47749c904401b SHA512 c32f14ed23dbc1d174ccea8e9b491de5f2e200a5e2aa5c56ca078b9b4ee03e40f1802113b37343d70a38e716305de6e0588b67cc2a8e12d7526e7456cffd5294 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1317.4_p2.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1317.4_p2.ebuild new file mode 100644 index 000000000000..91b5d4fe6abf --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1317.4_p2.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk vi zh-CN zh-TW +" +inherit chromium-2 eutils gnome2-utils 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 ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~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+:2 + 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 + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |