From c99ec1d64a63b25575646f3c38d0720a55d14958 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 13 Jan 2017 17:23:27 +0100 Subject: [PATCH] www-client/vivaldi: Version bump. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- www-client/vivaldi/Manifest | 2 + .../vivaldi/vivaldi-1.7.725.3_p1.ebuild | 110 ++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 www-client/vivaldi/vivaldi-1.7.725.3_p1.ebuild diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index daf530643c602..5f8de6c17a782 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.7.715.3_p1-amd64.deb 48656282 SHA256 0e052fd1a875792ffe15bedd740f 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 +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 diff --git a/www-client/vivaldi/vivaldi-1.7.725.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.7.725.3_p1.ebuild new file mode 100644 index 0000000000000..132fff461276f --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.7.725.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 +}