diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-01-12 20:07:10 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-01-12 20:13:44 +0100 |
commit | 0ab7820a71bfa8391f1c5c188e490288b0ded18b (patch) | |
tree | 87502fe4492d0ab8036d8285708cbed3422f7d6f /www-client/vivaldi | |
parent | kde-apps: Remove KDE Applications 16.12.0 (diff) | |
download | gentoo-0ab7820a71bfa8391f1c5c188e490288b0ded18b.tar.gz gentoo-0ab7820a71bfa8391f1c5c188e490288b0ded18b.tar.bz2 gentoo-0ab7820a71bfa8391f1c5c188e490288b0ded18b.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.721.3_p1.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index a10036d5aa6e..a76593b8f5fd 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.7.705.3_p1-amd64.deb 48668242 SHA256 943fb43314358aa8422122806476 DIST vivaldi-1.7.705.3_p1-i386.deb 49058302 SHA256 cd768073b31ad3ca56d717287aa0e22173b65a5a5d7779ea489785f1d60d9af7 SHA512 bf90b7277028a19c802f667f03c06e86773a325e78b3b6a54b8699e53526b13f09eab803f05fbae4e85fe27f9c671631f6ad1ef2c2de0c84a3bba32313b04b73 WHIRLPOOL 959b57384d2bb3f552b512c403187fc19a83905330eb22c2a2b128b55802f29971bdb171ff7fa3a5d9f822812f2c94b095c2c36cf09826f868724739d0426906 DIST vivaldi-1.7.715.3_p1-amd64.deb 48656282 SHA256 0e052fd1a875792ffe15bedd740f912c421fb3a2a1264b91b0dca1a9ac80c929 SHA512 e687f28ae4b20595c3421421a6ef4b4cf2c4fff3493398efd82574c08fc471ae914ca7e4eb5d21fec8904b980613c0c5ee8c2cc563b5b100047590d37015bfbf WHIRLPOOL 973141c782c44ae19f955b3af8cd96034933f31333cc1395b808f53034b3b6babadefe5291de1dd04628d81da52bad856a0622670beba60d124df38fef636fb2 DIST vivaldi-1.7.715.3_p1-i386.deb 48995106 SHA256 0197347d93b6dd248926f454cb5d5d53fed46d973a99ad777c7d606f1440c4eb SHA512 dd4b2338b0fc9525644ba0bf792039ce447e2485f5f210b07c55c195d68e7e07d13c27efb6af8d879f169fffac6f877a3c4f6420834e8201f8a50a4bb9097df5 WHIRLPOOL 169a9bedbd509dcf39c542cc6c81ae9cb6d2fc61dc24c577f56a7f4a4039d9b7a7139f1f184ba3bf6c3e99fbc51a43e05281225bce941ad75378ceaf898d2481 +DIST vivaldi-1.7.721.3_p1-amd64.deb 48650608 SHA256 46cf5b6c14be3f2b3d0ebfe5b2e9bfc4fe6f6b11a071efaee6833f8ae609385e SHA512 daa7263e1e4d92393bf492ae7e844ad29d1937d9999995675c8750996b942a4494636f35a380f24e3536fbea1222201e7c917e79bb505928b7f0df502c6e4577 WHIRLPOOL 40cc453fc83420cc43e7ea84bcc3846de9467754555363d61430786ae443f42def39772fd370891fd501866adf170baf90d17ee44376ba2a0790cd0aa431bf5a +DIST vivaldi-1.7.721.3_p1-i386.deb 49013722 SHA256 8d88fcf14ebe0010b8f73207de4b06284e289000b7c797b2b5d62057b30aa864 SHA512 2cf14eb8d16bcb69ff83ed0a899dc793a99d3c129e9318aa9df61faf9817aa7ab19986116d45fde9806437e6bd5a963340bc7f407f84cde872ccafeca0e9f9de WHIRLPOOL 8fdaf4c08a552b6195b1c470c3f6b2775dcd128de26f74107ca17681accffdf99e50f2ac7882d5d614a3386030917d994950b7b08699bed418f775069aa962b6 diff --git a/www-client/vivaldi/vivaldi-1.7.721.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.7.721.3_p1.ebuild new file mode 100644 index 000000000000..132fff461276 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.7.721.3_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 +} |