diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-01-25 09:50:46 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-01-25 09:50:46 +0100 |
commit | 188eb483466f99dbf7610967f445f6fc5fcf9220 (patch) | |
tree | a19ded4b7341c31d910931d7092a2e10c264107c /www-client | |
parent | dev-libs/libisoburn-1.4.6-r0: stable on alpha (diff) | |
download | gentoo-188eb483466f99dbf7610967f445f6fc5fcf9220.tar.gz gentoo-188eb483466f99dbf7610967f445f6fc5fcf9220.tar.bz2 gentoo-188eb483466f99dbf7610967f445f6fc5fcf9220.zip |
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.7.735.11_p1.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 5198210cd706..6f6ee8999d01 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.7.721.3_p1-amd64.deb 48650608 SHA256 46cf5b6c14be3f2b3d0ebfe5b2e9 DIST vivaldi-1.7.721.3_p1-i386.deb 49013722 SHA256 8d88fcf14ebe0010b8f73207de4b06284e289000b7c797b2b5d62057b30aa864 SHA512 2cf14eb8d16bcb69ff83ed0a899dc793a99d3c129e9318aa9df61faf9817aa7ab19986116d45fde9806437e6bd5a963340bc7f407f84cde872ccafeca0e9f9de WHIRLPOOL 8fdaf4c08a552b6195b1c470c3f6b2775dcd128de26f74107ca17681accffdf99e50f2ac7882d5d614a3386030917d994950b7b08699bed418f775069aa962b6 DIST vivaldi-1.7.725.3_p1-amd64.deb 48978252 SHA256 1cef9c5cc2c0097e603ac4ed0fa8db068aa9907669339fd73ed3990251a962c0 SHA512 9a797d6c0005744f091183708a5f4e3b4c0e4cedf9710ed455e724c6692b09a688cd579e037fd8e25e5cf246f9718e47ce267eea2a631d464ba32719ea12d7d0 WHIRLPOOL f33b2761d83c8deae217a7900561ace823383575690797ccdec9b7a1cd38edb16b42f450a5da29967d0e80742cc4a11305647b505bc7e370f5d08cb3f50e8a7c DIST vivaldi-1.7.725.3_p1-i386.deb 49325332 SHA256 da728f48039f945f500bb42a1373dfe4a7d831b3ce30d910ac7f314dec0ea5e5 SHA512 c52af8d9d1b92791ef284bbf63be17b9412236bb62cbf4fa575b037e0dad2670ecf12464b197de92fefc3994aa0b996cb031483f3ef4c06471f7df93b32ecc8f WHIRLPOOL f9be33db8016c454da5bbab9afb3f2fe5c82e024cc024dd9c1bbd2cd390732f915a4ca2bfb4fbf276a3b74c9a1cbef6cff1a060ac6cc65f1a3090896d1ce75e0 +DIST vivaldi-1.7.735.11_p1-amd64.deb 48958852 SHA256 868abb6a2c40dfa77e47a210f2f78fe5e986722577ef93a0a3f60cc1b789cab9 SHA512 20f9059451a07b2d24ea44c4535267e661940f8462b447087bcf494a78e436815675bb46489a7f8cc11322e6488b4834d2f240309f8ab8b660a688a53e40d16f WHIRLPOOL af1106f5c3a786cad8fbbb9dfd5081b91fc96974c80dbef0ac46995c0037f17c524df42c31536adcf7c0caa7f0d8f0c2a148a3ef11d2584863495dba7ff97f56 +DIST vivaldi-1.7.735.11_p1-i386.deb 49282980 SHA256 9e50d65c1766732b9acaf1c77f3761dd74b96c5d31ef286cd36711579bd68230 SHA512 801e9b8eb821427055e9bd4b471b946b73afb8b0c43a3ef5a727f0325d13427f23f792c7c61cc6bf6d6cd9373452c9ded1aa3712d0e29064b858def85a184d5f WHIRLPOOL e7d990996ca0faf702f243ddd55e69265a6481c8b87c6b4a68a9685c1fc5a9938499975d122d65b444f30c109d363eaac2ca6297dc4500f5fbeb91d0df4a1895 diff --git a/www-client/vivaldi/vivaldi-1.7.735.11_p1.ebuild b/www-client/vivaldi/vivaldi-1.7.735.11_p1.ebuild new file mode 100644 index 000000000000..132fff461276 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.7.735.11_p1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 multilib unpacker toolchain-funcs + +VIVALDI_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="bindist mirror" + +S=${WORKDIR} + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + 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() { + sed -i \ + -e "s|${VIVALDI_BIN}|${PN}|g" \ + usr/share/applications/${VIVALDI_PN}.desktop \ + usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die + + mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${VIVALDI_BIN} \ + ${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/vivaldi.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +} |