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 6FFA3139695 for ; Tue, 25 Apr 2017 14:17:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C6FDE0CC2; Tue, 25 Apr 2017 14:17:56 +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 6C83AE0CC2 for ; Tue, 25 Apr 2017 14:17:56 +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 D876F33BEA7 for ; Tue, 25 Apr 2017 14:17:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48A337427 for ; Tue, 25 Apr 2017 14:17:53 +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: <1493129742.d688455fb674bacf424a554acd297b215553227d.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.9.818.29_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: d688455fb674bacf424a554acd297b215553227d X-VCS-Branch: master Date: Tue, 25 Apr 2017 14:17:53 +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: 9565b193-a0ba-4c15-82f3-03824702cd49 X-Archives-Hash: b606cda86eaf16e163095ef9c21af593 commit: d688455fb674bacf424a554acd297b215553227d Author: Jeroen Roovers gentoo org> AuthorDate: Tue Apr 25 14:15:42 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Apr 25 14:15:42 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d688455f www-client/vivaldi: Version bump. Package-Manager: Portage-2.3.5, Repoman-2.3.2 www-client/vivaldi/Manifest | 2 + www-client/vivaldi/vivaldi-1.9.818.29_p1.ebuild | 115 ++++++++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index ded5e2525ff..631b90ccfbc 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.9.818.22_p1-amd64.deb 48860242 SHA256 87804956270129ca05f61c20613 DIST vivaldi-1.9.818.22_p1-i386.deb 49449230 SHA256 b61e4a99666fd8e376095ce82fb55efed71ae4809d7f3d9540171eb9d1c42b4e SHA512 de4fd44df468298db33264b36586194c43850a3d470a21b7e53fefbf371a7eb72861a25ccf3a4e9808ce5d3f997877f2941a68b8c2661e32b9a880db94c1b7f5 WHIRLPOOL 80b5e66b7441334054cae30a028ea77cbed4e37d2c596df8e3841c2e7f3071202eff6a932cecf50cda5982b0f258c6cbaefa0d5d1653512b1442fe35b816eb90 DIST vivaldi-1.9.818.25_p1-amd64.deb 48831172 SHA256 f1f67ff98b55db53bb56f292f03c41f9a553142b38d89cdc73bb5a68952d09af SHA512 bddfcdde9d89640f36619fd8dd7c4b16f232066bf295692d971c6ff9c78004ba4bd1df5b6fd3a5deddd028f54a3864ea28d979c952b5cba7b7c3d2d43684aff0 WHIRLPOOL df5f9f7e83fd35abd198717e0128bac86f48fff6e02ffcd45fb0091bc6c0c89ec66cb7f13c1666ffdb8da4b3613c749108efd67d2e4b8b0aa494f81b21415c85 DIST vivaldi-1.9.818.25_p1-i386.deb 49462276 SHA256 aa6c48711c3dfc9ce739a639d314c461619d5b453b7c52278c3e156b6be10822 SHA512 435b560f4faebadfac653451b251ad5ac53f8bc4bda0565b08b9fe1325e614f6e79e08c3dc187b0309b4bd2e9450d7f9b0aa1d5a485159ba757d0527180f81cc WHIRLPOOL 0e7dcaa95cb6e8c43952f925e1c08a28a5740101a540d93a5692452891bef86c3c744b14562cd6ef4b5f3addffec886caf9ca5a8d01eeb4035bc57429bec1dec +DIST vivaldi-1.9.818.29_p1-amd64.deb 48842006 SHA256 eae7831144efa0439026760afc120879d1f04cd4dfc818034ccf761c9b0de719 SHA512 de0ea3eb717b40eee1ccc9dea0719619107c79c5cc26d4cc4e22011624f92a8b373780217f83fb0fde68c2ef87ba0b4ca4ee926c2557b3929a61a54765bf51df WHIRLPOOL 631e4a34e6f44d79755c9723c74cb263f43c493a4961d57381b5bf70fa770f9c119e90c0ddaf0411db9af9aed0a33ed5a14808b20e9f7baf51435b63ca92d8f8 +DIST vivaldi-1.9.818.29_p1-i386.deb 49453212 SHA256 db1823fd4f2ed3a67efa8e26702430d01d7224090eb0da2b1b6c21872835b022 SHA512 4e87e235147433eb8afd5efad3b707e356f1c415ef412b1af7dcf1821427451508632ee1f54073f0586c67c8307480ab7d5175dc54540b37147e23e3979d5bbe WHIRLPOOL 1f26a70affc58fda0bfa8f134f80de68a7050f57bfeab510e046f299014cc604e1d71a1119f2a7757f5d94429f3db2198a2decdc094e0008014dab09d93deaf7 diff --git a/www-client/vivaldi/vivaldi-1.9.818.29_p1.ebuild b/www-client/vivaldi/vivaldi-1.9.818.29_p1.ebuild new file mode 100644 index 00000000000..5d07a6a24a7 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.9.818.29_p1.ebuild @@ -0,0 +1,115 @@ +# 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 ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +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 +}