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 0DB571382C5 for ; Mon, 14 May 2018 17:26:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 373ADE0930; Mon, 14 May 2018 17:26:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 F0145E0930 for ; Mon, 14 May 2018 17:26:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8110A335C73 for ; Mon, 14 May 2018 17:26:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60A4B27B for ; Mon, 14 May 2018 17:26:25 +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: <1526318687.3352ef467008dd0f4493d276866e6a687b386d0b.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.15.1147.42_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 3352ef467008dd0f4493d276866e6a687b386d0b X-VCS-Branch: master Date: Mon, 14 May 2018 17:26:25 +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: 80118ad5-65e9-456f-8dd0-07404e6b2cfc X-Archives-Hash: e40539b0512d06a7739b8933e4ce2c93 commit: 3352ef467008dd0f4493d276866e6a687b386d0b Author: Jeroen Roovers gentoo org> AuthorDate: Mon May 14 17:24:47 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Mon May 14 17:24:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3352ef46 www-client/vivaldi: Version 1.15.1147.42_p1. Package-Manager: Portage-2.3.36, Repoman-2.3.9 www-client/vivaldi/Manifest | 3 + www-client/vivaldi/vivaldi-1.15.1147.42_p1.ebuild | 127 ++++++++++++++++++++++ 2 files changed, 130 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 4e841aad925..553e25b19ce 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,6 @@ DIST vivaldi-1.15.1147.36_p1-amd64.deb 52848048 BLAKE2B ab10837423cd6c0f300bccc482c118da054e81504d072b2eda08fb366bb4a11226a44c432d23ca619b702315c879fba46b82371cf12d93e9427becd533ea895e SHA512 35ee2d20f7448cd968b22336a9cfc6b12400fba2b4bcb6cadc79e992da8b7cbd6365c98bcb61ae51342479191e38fe7e73c48d8ff2bdb9291824e83f970779b0 DIST vivaldi-1.15.1147.36_p1-armhf.deb 46834630 BLAKE2B bb62b63dce82e397d93300757df025a7c2cb8f62a27a1373157079f581a92afa22340f2a19a9667408565a8e34de4de815bacf1c424ea847e8deb3827ecd4931 SHA512 74592afba850aa155f5b58fd4c383d39c5b87a0c7c532f5c52a0504d2437c2663a5fe6a75ab758269e2c5add7eed64db13ac16122c76440660cfa342dab33e2d DIST vivaldi-1.15.1147.36_p1-i386.deb 52483148 BLAKE2B 113b6640373f7e6d0989379e5a20b116a92ea8f7f1e9745ee5a15097b13abd6e1df91bb4a805ac0fef9d0d9d1c578b92cc3c974ed116932eac41d33575366bc3 SHA512 6ba0a2633ba4da5fe96e3d6d754587ffea572f5581cfdec76b4085848f52147fa0a253e023e5dc0e8f824a820a77570ac30a5124f74e34dc2818eee0b1570699 +DIST vivaldi-1.15.1147.42_p1-amd64.deb 52832888 BLAKE2B f978b6a4bc9b7d987da5bb918223f1949cd2e69db123cd39b2a429ad3ebe25c74156243619607c792193c7ff1a60ba63e3efc88e726bf436b92d5c2e044f9251 SHA512 c50e323b38fc885abe2af2768657fa509f3be10ce65921b180025257b8e703d641b65c8ae8c38de059f13b6885b8f9a29fc36c97cd33410abeeb12f528d26c0e +DIST vivaldi-1.15.1147.42_p1-armhf.deb 46821578 BLAKE2B bbd764ade5139578df67d026baf61eda81a24931df531b7f400532d1d472ab1a1d5e69b7d031f63606f7d168d2f7261d3c78e45d88b25abaabee3c91b39e3354 SHA512 f6c27871c4c142f20fbcb23a65890d58472b58139fbf99a1ada47dd51ec2f9ec3134401cd2512c60614bb1b315d00d8f00aa89acd8932a04ff14461df33ce245 +DIST vivaldi-1.15.1147.42_p1-i386.deb 52494812 BLAKE2B 69ed16baf62567465f6fee14f7920203330c1ab7479ac6be7a97c2532f0d52922667cd33bc3ac1eaf061bb47951c4b317b377460b74ca39d25a7e7b49f52322b SHA512 8bbbbea4527a76e7980333ab8077df1b00480213dc6c5e033eece8f5650f61e20e2da31f086e2a2ad734930e6daff167eb28b9f9877d88f17d18f0a6831a555a diff --git a/www-client/vivaldi/vivaldi-1.15.1147.42_p1.ebuild b/www-client/vivaldi/vivaldi-1.15.1147.42_p1.ebuild new file mode 100644 index 00000000000..9a671c805d0 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.15.1147.42_p1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2018 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 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/speex + 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.14.1077.45_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 +}