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 27FF4138334 for ; Thu, 9 Aug 2018 06:05:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F2D8E0917; Thu, 9 Aug 2018 06:05:22 +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 02973E0917 for ; Thu, 9 Aug 2018 06:05:12 +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 1AC28335C94 for ; Wed, 8 Aug 2018 20:20:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB386380 for ; Wed, 8 Aug 2018 20:20:03 +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: <1533759595.4689356f1e4f8149bbf9f4e04458698707e11b82.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.64_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 4689356f1e4f8149bbf9f4e04458698707e11b82 X-VCS-Branch: master Date: Wed, 8 Aug 2018 20:20:03 +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: 614feab3-8294-4e20-80a9-827a20eaaccc X-Archives-Hash: efbb183aa2adc778d93c93e115a6214d commit: 4689356f1e4f8149bbf9f4e04458698707e11b82 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Aug 8 19:06:36 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Aug 8 20:19:55 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4689356f www-client/vivaldi: Version 1.15.1147.64_p1. Package-Manager: Portage-2.3.45, Repoman-2.3.10 www-client/vivaldi/Manifest | 3 + www-client/vivaldi/vivaldi-1.15.1147.64_p1.ebuild | 125 ++++++++++++++++++++++ 2 files changed, 128 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 5f87c74c3c4..b0d5719b2e7 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-1.15.1147.52_p1-i386.deb 52486988 BLAKE2B 17b32ff290880683775dbc724 DIST vivaldi-1.15.1147.55_p1-amd64.deb 52880244 BLAKE2B 5bfcc57713a586b7534bbc2be88c4ade155d6af15be4b9626b73b3b9ecbd90cfaefd53fce5865a8c1eea863dcdd64c8e2f3118705294b7b0a4911055b1da698a SHA512 0d9e2971bd471e4a4e045421dde6eb1bd3431e0d843ae806e8068c75a8f5137e24367eb708201ae2f9ba127045462061632fe43660f193a6e0c3cbbe0728b8de DIST vivaldi-1.15.1147.55_p1-armhf.deb 46831370 BLAKE2B a9f61c8ce04921884f418a1ec708fd9011ddf7521a9dc23f44f6b93bbb2356a40b705e1add1ba527d437512b3482749e7eb4e2703786af988091e6f45ce2e3f8 SHA512 7dbcfdd12b51cbf1849933e1104fac69f8cafbef8bc78d4776dca030809ca321c4fd12733f1a176d527fd89cf128010f5a282637917c12d99ce4bb8c4808d04d DIST vivaldi-1.15.1147.55_p1-i386.deb 52490106 BLAKE2B 4437ae3263286477da9507393c93f502c63d3ccbba223ca3b702407ea1e3a79a165790505f8f25a319e1b8c0c6beec2fc1ef1a2e0d67ce73dc8e532b136c063f SHA512 ed42481a1db6d6bf163ba3c2e2cbe6a90eefa730b93d2f2122502cceadf0ea601ef48d687bfd63a87c57be930d986b92da2ac3afa7340ca1bfa3346ee840c24e +DIST vivaldi-1.15.1147.64_p1-amd64.deb 52878648 BLAKE2B d08f55f4e2e3a831d4a50a7401eaa7385452f47f28d1194cf8549f27244bf2ea0985d77602149be20b0eba6cecf6acb28d7f3029b19497db7063198f4e09a856 SHA512 f9f2d4073d87a57bfcf28d3d51e78f45a69e4db86c44eb9fb89bd1fcf14561239f90f112f8c07d0004ed740fe2495d10c66f49bb7d99f9c104f28df38d40013b +DIST vivaldi-1.15.1147.64_p1-armhf.deb 46832630 BLAKE2B 9daa424babfb71dcaba253a98e88a3aba1cbcee9a1aa870070b89ef58a48bd01dc54d3de0e9641b3f1b43f7523ad13a3a873f300304b60b2a8d86b0facdf2125 SHA512 8159afec10f8c6584dc8f28350fe30de155977d1e7b14a269bdd0bf3818a39381fe341e0fadf0d9cc9a683d9c4e2115dc3ae796dca41da4efd4703de572734ec +DIST vivaldi-1.15.1147.64_p1-i386.deb 52496664 BLAKE2B 3b246203e11c0654bc455ca96194e236c931453f4889fb474a07a0875358642c57425f208ca3a739bdac76d6bb36982c56930bbf290983e666dbc165454dcb8b SHA512 7c5278cb3341bc8932d82005b062324a71fd025e67f3c5d9eaea83ff636a5b7462c33e2cde6efd37e7095df2a229a4dcc8a82b27bccc61905f46a19163134fc2 diff --git a/www-client/vivaldi/vivaldi-1.15.1147.64_p1.ebuild b/www-client/vivaldi/vivaldi-1.15.1147.64_p1.ebuild new file mode 100644 index 00000000000..6792e850ebb --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.15.1147.64_p1.ebuild @@ -0,0 +1,125 @@ +# 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 browser for our friends" +HOMEPAGE="https://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_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 +}