From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5F3D139083 for ; Tue, 12 Dec 2017 14:57:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD002E0F08; Tue, 12 Dec 2017 14:57:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7AF46E0F08 for ; Tue, 12 Dec 2017 14:57:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 211A23416B7 for ; Tue, 12 Dec 2017 14:57:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B04D8AE70 for ; Tue, 12 Dec 2017 14:57:11 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1513090629.f078792758161f2b90058fb9f6f36bafce183512.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/vivaldi/Manifest www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: f078792758161f2b90058fb9f6f36bafce183512 X-VCS-Branch: master Date: Tue, 12 Dec 2017 14:57:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 10539ede-c577-463d-b9df-69bd3c365a40 X-Archives-Hash: f25c12837812f054e1754f720483d95e commit: f078792758161f2b90058fb9f6f36bafce183512 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Dec 12 14:56:58 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Dec 12 14:57:09 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0787927 www-client/vivaldi: Version bump. Package-Manager: Portage-2.3.18, Repoman-2.3.6 www-client/vivaldi/Manifest | 3 + www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild | 129 ++++++++++++++++++++++ 2 files changed, 132 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index bf8a98b72da..9782b43a44e 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,6 @@ DIST vivaldi-1.13.1008.34_p1-amd64.deb 49259224 BLAKE2B 32756c71b42942c087dc563688225ed9013d8de3da3e788b5aba62ad25d08237e2a6583d50379f0a9a3d2ab1258250adca4d302fec563a2d63f04c92a51a6349 SHA512 4d26ee227a11eecbb32062dd66de2ac64d94f7d523c83dc815ed5125b0f0ea86cc52a7877777d5df4135eb5755693b1772cc56b18d799d70dc46558826278b68 DIST vivaldi-1.13.1008.34_p1-armhf.deb 45154158 BLAKE2B b77e8c8d6cdfedf8f69edfdafbb7199aed4d3753934c1196f2a1b90bf137bd91dde8e2ff58b2fd4afd0317a0a8443ad5dd568d5e505bbf5b6fc0da2926b4eddc SHA512 f47f2d26e8045af9ba680129feca765cf3f9dc7ea76930071e9688ef50aa78a482b40ba5747fb4470d30520177bda371ec79e5a210a93dcf2e49251425001c6d DIST vivaldi-1.13.1008.34_p1-i386.deb 50147426 BLAKE2B b595c78e85a8a1bfe08554a7e85db7969ffa798488b053a5254bf819f82f015033a98793696a293e2080a8d1dafb30cdcd9ad30a6ae7717b95ee7bc4e5613643 SHA512 450f0983ff753fb64fe9c588f151e9a6b5cd04f4c2fd03a41e8a1af28ac3db0088a3a408eacc9394f2dee589381d03037d06601d8d5a50274b867a3b708206ef +DIST vivaldi-1.13.1008.36_p1-amd64.deb 49264956 BLAKE2B c262a9e5bf247f69b57def5ebf3422ab82c1d6f1a9a580499ceff95abe1bd14c2ca507bbe4686bd33c6503d7817aa30665660017a4c07578a2c169e8bd955551 SHA512 0a4c51a347a9936a695a815fd303d93a650c967bcc40dde56dc3a278436a38f39643080dff25f702c2acd4338eef79db4e15474c95fb65248c358fd1c346ce62 +DIST vivaldi-1.13.1008.36_p1-armhf.deb 45159082 BLAKE2B a5b2efa5dca3a9a65ee872f793279e5f44cd7c0c3d28310265cbd7241c5bae387b51d5f54070381ed25b634444336273b3a0cdaaf2c9c15d858d6681b875e221 SHA512 b04cc01713c535d8d5efbc11567e900d9f2dbaadec8885082f5bee770093cc024b089d34fc11906cc67171065b1ac2e7f514bbffce9fbfe673dd13b83f4dfc40 +DIST vivaldi-1.13.1008.36_p1-i386.deb 50137690 BLAKE2B 4e4e36bfd830076a5236d5a1a5711672f0235862f74186dcf9e5c1ed43b8727051fe86dd119afb3fc6043309844eddd888daa563c6276b1fff5ccd200f6b77de SHA512 abf2d654678c8194dc6a5ef7a0b856ba81320c90648268ffcd05aed9407053dfc99ce359a6ecfc0f32455fdb60cd76003819a9c900ee51e03baed409685f8af2 diff --git a/www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild b/www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild new file mode 100644 index 00000000000..2ac2dc21f15 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.13.1008.36_p1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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_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 ) + 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 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +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() { + iconv -c -t UTF-8 usr/share/applications/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die + mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die + + 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 + + epatch "${FILESDIR}"/${PN}-1.13.1008.32_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-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 +}