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 2F3EB1382C5 for ; Mon, 30 Apr 2018 16:09:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BAC8E07D4; Mon, 30 Apr 2018 16:09:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 5BA69E07D4 for ; Mon, 30 Apr 2018 16:09:15 +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 7C789335C92 for ; Mon, 30 Apr 2018 16:09:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4BD2A2A2 for ; Mon, 30 Apr 2018 16:09:13 +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: <1525104548.9a9bc5d3e245108b4f721e300609bc6b5008d976.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi-snapshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/vivaldi-snapshot/Manifest www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1170.3_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 9a9bc5d3e245108b4f721e300609bc6b5008d976 X-VCS-Branch: master Date: Mon, 30 Apr 2018 16:09:13 +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: c2f86a34-09fe-404f-aed6-88bbf97c2188 X-Archives-Hash: c06edc46f50fdd8ef54f09e3f655237b commit: 9a9bc5d3e245108b4f721e300609bc6b5008d976 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Apr 30 16:05:30 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Mon Apr 30 16:09:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a9bc5d3 www-client/vivaldi-snapshot: Version 1.16.1170.3_p1. Package-Manager: Portage-2.3.31, Repoman-2.3.9 www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-1.16.1170.3_p1.ebuild | 117 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 1e82bd9bd33..a136f883714 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,3 +1,6 @@ DIST vivaldi-snapshot-1.15.1147.32_p1-amd64.deb 53956742 BLAKE2B 68ca119d425be887744d0e642ca9d671a8b6b0ca7b752eeef22c58690238f960cad8e11d5530a82277091cbc933ba981774653664381cfc39da753ed42744bf3 SHA512 1802682d6a844903da7de7078a7e585707087ff7251cdfb0cde598a807fba93a54de1592c33bfcc885113b6009a5d22f6f1581a6782fcbfc24d6f8c27b757f79 DIST vivaldi-snapshot-1.15.1147.32_p1-armhf.deb 47718932 BLAKE2B 31050570e943fce4f3a7ace86634350d19ec4eaf654da2ed89ebda1d73502add8d9bd29a581b48a5a9f3d52fe336a8f19eba2a24fd05682768bf06fb8614954e SHA512 54c545e1f847bd3e68331f28e1b991c579c70ad7aa0235398e8944d03f015152f4c9dc30ef103ade213e3f3911a5049903425f456d0334e4b600304b4b7b5144 DIST vivaldi-snapshot-1.15.1147.32_p1-i386.deb 53516784 BLAKE2B 719849ffd149f12f90ae905eac5d4f3b615c4b0012527eaab9bd16d1b788d1516f89c69c478986e7569512d4b7fbe98bd65dbc989509afde344b5df8cb3e720e SHA512 3ce66e4d1a0a191f50669c023a651ad99af0400b9fd09204de595c3bbdc875e06dd8d7b83e37b5a071999743ecc17fd5a230774824f5218dd4c1b7d99e93a482 +DIST vivaldi-snapshot-1.16.1170.3_p1-amd64.deb 53985548 BLAKE2B 08fec53970742cedbf7644aefcf3762c64c8fdfd2a9c7b129f21af4842986d3847af69f204d9dcc51464b3426193e2c5bf1bc6ebe5f2208e470e006fdd7a189a SHA512 01f78969343d7bf4f27281514a16924b35cc4cbb2719d23655b2444993786957cfc1eda58ce03cca94f02d2436d5708c329bd29916acf19376ee36f2d990f396 +DIST vivaldi-snapshot-1.16.1170.3_p1-armhf.deb 47799872 BLAKE2B f163906e7671e32105300540078e792b0849b822d18594cb3a8ee1116efaa800af183f6dee151e1cb82f793e95e3e74b6488e9dcdaaf56ea9e49fa3def5257ce SHA512 ad0ffde292e4001567278c1971dc5e593464cd2223bc2e74b3d88474bbcbfcdeb40daf883f4abb8ea92d3a5c93744c98b9ee603e66f6d56f16df3f9393b0e25d +DIST vivaldi-snapshot-1.16.1170.3_p1-i386.deb 53635666 BLAKE2B 1f7b05594a9fae45f8083637e7782da8cdf27d269c668065d58d75e7b66dc9b31504c7679c675ff8a84f8f19eba3f0d90a19f715a7bb475caddd16e5bfc288c8 SHA512 1c5963428d8f79ceb6c4f185d55c67f799f1d61337e40c4773e0f8536b61a2fca99d1a0b93ed8c450864771973784a34074af734e6596c4bd172e7366e8a5c30 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1170.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1170.3_p1.ebuild new file mode 100644 index 00000000000..b70af0fb4cf --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1170.3_p1.ebuild @@ -0,0 +1,117 @@ +# 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_HOME="opt/${PN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${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/${PN}.desktop > "${T}"/${PN}.desktop || die + mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die + + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN} \ + ${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/${PN}.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + epatch "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-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 +}