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 5D073139694 for ; Mon, 19 Jun 2017 19:58:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DE6CE0D34; Mon, 19 Jun 2017 19:58:57 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E8E1E0D34 for ; Mon, 19 Jun 2017 19:58:57 +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 D2B403419F4 for ; Mon, 19 Jun 2017 19:58:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 478707488 for ; Mon, 19 Jun 2017 19:58:54 +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: <1497902332.5981ae751600fac4b4d2e00e74846ba68b8bed75.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.10.867.38_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5981ae751600fac4b4d2e00e74846ba68b8bed75 X-VCS-Branch: master Date: Mon, 19 Jun 2017 19:58:54 +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: f05aab2b-9632-4dd7-8ab8-bcbc76352b9e X-Archives-Hash: eb48a9fcaecb75a909b1ffbdf5c8b633 commit: 5981ae751600fac4b4d2e00e74846ba68b8bed75 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Jun 19 19:58:28 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Mon Jun 19 19:58:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5981ae75 www-client/vivaldi: Version bump. Package-Manager: Portage-2.3.6, Repoman-2.3.2 www-client/vivaldi/Manifest | 1 + www-client/vivaldi/vivaldi-1.10.867.38_p1.ebuild | 114 +++++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index d0896b27571..971555126f6 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,2 +1,3 @@ +DIST vivaldi-1.10.867.38_p1-amd64.deb 49267896 SHA256 71a7865e83cc6fbb8373947a300c3558ade4f133555d60eb2c2b0fbefff371c0 SHA512 191b505f7655ef597c05f34caaed61f2877a8c25eb9c6b7d8cad7fc7abcb3db40f6a358cfe04cfb1e5e30e57f72e52501a10512a4d8d87150924a4d220e8cbbd WHIRLPOOL 3b2ce4e9a6660a581fca2c9a00f456a2955f858240c6e587cce2fc5e16188ac925b35fd4dfafff63fb24f1529cfd81e32b25c72b84abfdef32febe2d7eb52c3f DIST vivaldi-1.9.818.50_p1-amd64.deb 47502088 SHA256 701ceb20f6f802c4a7162c08a528b679e6ae0215c49b5e78ca12191c3d2fe3c6 SHA512 e21d0c6592aa7d9a1fe378cb9db37b503a1b269604a286d0968ebbe8ab17dec00443aa8fe265d13138f58cf2ac1efbc79238cea32277b07d7b11408017e93114 WHIRLPOOL dc289755ad9a1c2efe41a3a6eac8925a893a02c126d63edec0c2cf830aaca969b44466bdc533d0f9fa8fbe00354796536c2a9dbb01f9bf4a010cf8e921cadcaf DIST vivaldi-1.9.818.50_p1-i386.deb 47957224 SHA256 4ca0306a9336124a4ab23049be8e16f2aa5c9f48ce614b4cb551477843e952ce SHA512 858cde8ecaecd17bc732457c828e5b02e7e85d659685ef1b263c190c5430989701fad9dacb3c8f5eef8c99e51254a689d486afda8568e8c15212878b0ba9f73c WHIRLPOOL 5e569d027a4fdfe2110d95d9fd1b7342fde9cb3b506f352f9194e783fbf4f9ab03921944636dec879145bc1fc0e01516ba6a22440e0ea7d2832dbc51c565206c diff --git a/www-client/vivaldi/vivaldi-1.10.867.38_p1.ebuild b/www-client/vivaldi/vivaldi-1.10.867.38_p1.ebuild new file mode 100644 index 00000000000..662928e756e --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.10.867.38_p1.ebuild @@ -0,0 +1,114 @@ +# 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 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 ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64" + +RESTRICT="bindist mirror" + +S=${WORKDIR} + +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 + +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +}