diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-02-03 16:15:56 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-02-03 16:26:34 +0100 |
commit | a61fb3891962a49694cbae5969ee7aefab185733 (patch) | |
tree | 7501b62d23516903bc15b8b2167894f8dc6fcbb5 /www-client/vivaldi | |
parent | media-radio/fldigi: Version bump (diff) | |
download | gentoo-a61fb3891962a49694cbae5969ee7aefab185733.tar.gz gentoo-a61fb3891962a49694cbae5969ee7aefab185733.tar.bz2 gentoo-a61fb3891962a49694cbae5969ee7aefab185733.zip |
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 101695357485..356fb80fd09c 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.7.735.11_p1-amd64.deb 48958852 SHA256 868abb6a2c40dfa77e47a210f2f DIST vivaldi-1.7.735.11_p1-i386.deb 49282980 SHA256 9e50d65c1766732b9acaf1c77f3761dd74b96c5d31ef286cd36711579bd68230 SHA512 801e9b8eb821427055e9bd4b471b946b73afb8b0c43a3ef5a727f0325d13427f23f792c7c61cc6bf6d6cd9373452c9ded1aa3712d0e29064b858def85a184d5f WHIRLPOOL e7d990996ca0faf702f243ddd55e69265a6481c8b87c6b4a68a9685c1fc5a9938499975d122d65b444f30c109d363eaac2ca6297dc4500f5fbeb91d0df4a1895 DIST vivaldi-1.7.735.27_p1-amd64.deb 48995474 SHA256 8a6c6c1a6230d523ddc160dd6acd2f3576ad85f158cdd7908fbb3b098c7146c0 SHA512 89d7e444bb0c4a1ec97e1abd84371cced59bfce54984cd64dce23657a29ffb8a3e8640d07d1aea67d4f3581a65dc9bfad9af70a7f55be5dbc70eeff8142e2f24 WHIRLPOOL d809165f00a8cb0579bd6a2a0085897acee2202b8fc3419b0379dc5c3afcec775bd32b153913ebf648aedba53c8e8e66991f2f909a5bd1af4829d7ed56d218ec DIST vivaldi-1.7.735.27_p1-i386.deb 49351052 SHA256 6bb58274a4ccd25d806de003ebe97a350ba61735743f217cdb6a0a61f8138f4a SHA512 eba3c317ebc8152bd2140c7d8c5db03f3b03a737ff4442d4ad7ea42d8f9d6d7f346acb29f2d6abe2357849795c7d079ed501261cba28152232c2fc45c6f794df WHIRLPOOL 9e8d0ca4384037f2218da1c6cc2b52dd399a71042f3efc304687985e131a1ed63d5d65b0c8f3cf883102f71bba309ad09c01cb8c52f54f0ccc59339611a4fcea +DIST vivaldi-1.7.735.29_p1-amd64.deb 49026302 SHA256 13f8b9e68bc3f99f0efb3c7eb65ed45ec3bcc2cf80b41b732311f2b72cce36c5 SHA512 d284c232f6f0281a998c3b7ffa8c96eea9c92c67b59f23b19583f105eb3b12487b6ecefe6d1e8c97c83eeaad9b7ffbf78f2264e267c78e4cd09767c3c3bae2c0 WHIRLPOOL 03431048fd4b61fe429ea028443ca6520b255f7dd90a5793f66f392fe513e9efad27b6006e3504e141efa3351929dca54465d2cc2922bc6e3c9d988bcdec0599 +DIST vivaldi-1.7.735.29_p1-i386.deb 49333884 SHA256 ba3c41be62b56b186f62c3140f5b023f27d4547b5db39ad7cafae755834e96ec SHA512 461e76dc6a17ededd1453ad71522461020b0aa4fdab7ca2a0f21fc6a1a7d80ad7e3b6e3c4eca016cb60673a905d2099aae4121160fd791bbdc7c209f14d27584 WHIRLPOOL 708188365fed06f8c3c1dfdc0ef84c9b036ecb4c37366d05bea84272bf78bc1a51549a29a4d94227242442d5077fbe7db45a022def1f8d815e7d5aae23a6296b diff --git a/www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild b/www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild new file mode 100644 index 000000000000..132fff461276 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.7.735.29_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 +} |