From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1061676-garchives=archives.gentoo.org@lists.gentoo.org> 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 0A2F8138335 for <garchives@archives.gentoo.org>; Tue, 11 Dec 2018 14:04:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9280E0AF4; Tue, 11 Dec 2018 14:04:24 +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 98AB7E0AF2 for <gentoo-commits@lists.gentoo.org>; Tue, 11 Dec 2018 14:04:24 +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 26E4E335CCB for <gentoo-commits@lists.gentoo.org>; Tue, 11 Dec 2018 14:04:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CA9A4CE for <gentoo-commits@lists.gentoo.org>; Tue, 11 Dec 2018 14:04:21 +0000 (UTC) From: "Jeroen Roovers" <jer@gentoo.org> 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" <jer@gentoo.org> Message-ID: <1544537058.3c7712e193654d8b21ebd0bff0744df2cb029e04.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-2.2.1388.29_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 3c7712e193654d8b21ebd0bff0744df2cb029e04 X-VCS-Branch: master Date: Tue, 11 Dec 2018 14:04:21 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 25c1f98f-2421-4c26-82e7-2e8ead13814e X-Archives-Hash: f4ca41e6f5808e755cba08c7e1102677 commit: 3c7712e193654d8b21ebd0bff0744df2cb029e04 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Tue Dec 11 14:03:09 2018 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Tue Dec 11 14:04:18 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c7712e1 www-client/vivaldi-snapshot: Version 2.2.1388.29_p1 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.2.1388.29_p1.ebuild | 119 +++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 8b107e224b8..535a6647c77 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -8,6 +8,10 @@ DIST vivaldi-snapshot-2.2.1388.23_p1-amd64.deb 59287656 BLAKE2B 82d930149dcb32ff DIST vivaldi-snapshot-2.2.1388.23_p1-arm64.deb 51049186 BLAKE2B cce314c83960abba83e3556bca7ded8f0e3e60bbb259566e7944b5f344c3f53040c4c4a6941b3489bf78763a4a1c267d7523eee64e46b5b8b6b0bab295efd1af SHA512 76af2b3f469e9ead7b8fb9263959c85f0f7ce8dc02c04078dcc7f7feb46eef1c017fda6679b80b1d9f93d452c662196c7c84ea0afeacd38d13c306d930bb6a05 DIST vivaldi-snapshot-2.2.1388.23_p1-armhf.deb 51881642 BLAKE2B 3475f87317c3bb29add067f678fd14a9f83a67d8687e5808c981845e1e7b44af558f1fcca81499cd1586922a561b5a64727ae8036845adc81b44050df776a202 SHA512 68527cd5829126526b486cd32f244d0e11732db03e9b8cc26a82487239f7d10bc4054018454f39c5a6ec3da19d25ed3255ec8bdd3993c95606db3324ede9101e DIST vivaldi-snapshot-2.2.1388.23_p1-i386.deb 58134484 BLAKE2B f06d3f5d3d20a33ec5dbc20c7e8e89187bb1a7aba02de181c8fec5eb7ec25877c8873affb6a41475430671e6811247b66143a395d9653848566419c5ca386418 SHA512 5d452a75cfb492c2d1c97f4c999297e46cb93ade6a402fa73e42ef7fbcc352ed8bff5a9141bbaf438ebba04f117bebaa386270a704f790200ca085a0ae1aa4db +DIST vivaldi-snapshot-2.2.1388.29_p1-amd64.deb 59288276 BLAKE2B ef8ccd0eaffd66493e783be09978a33047b8d27d3a47b8082509ad5539b2d0c91ccf76457d61a9eed013d4775a442990b609759894bdedc88274487f0432a50c SHA512 08dc39428e8d6c87f9cbb93aab6c9afad4f6e91a002d1ffa39378a7cdf36f17da4e1bebd84b2bbd358fa72fe082ca9bdac8271f13d39e9721d107d288d07ae5d +DIST vivaldi-snapshot-2.2.1388.29_p1-arm64.deb 51056896 BLAKE2B a603d162f9e0c013788682c9d3d8208178565f19313a751c3bb683e198948be0951e1de2a2fe04f7b9d3856d9a0402ee721c24d0524f80b8ec502021e998b726 SHA512 9aacd7c65c304fc5e2781643e9ae4dea23f622b28d112e22da96b7e03817e63969ef800aef5cac45810cb3c5321519d62482deacd4af50ddf2fb5e58f751ad55 +DIST vivaldi-snapshot-2.2.1388.29_p1-armhf.deb 51885220 BLAKE2B b8af2092c28df676d6fefc106ff798d99862bcc8f10d96611f11231a3260bec7e75412fbae7a6f0adae711eabca9cd73104022c92fad872a5365b0a3986b23f8 SHA512 ab2d06361982f28c4badbd65667eb5963b49612d21fea112a7878be02b2896ab22f9bc2731d709fec1c00210912b7b5720d81e5fd5134ccc93d1a9abef23b158 +DIST vivaldi-snapshot-2.2.1388.29_p1-i386.deb 58144740 BLAKE2B e7aea147831eb4fe7763362d6a804e20a4453681ba9ec145589a354bc569e65bb07672d8f090a443cbae9c701d252f5722c464060ed149b94f0e33ee1b2d3164 SHA512 0debce946d14cf4baa3ce0386fe0d74c951246a6ca546258ad2e4307d7bc90cafb78454b927326a7460b9c25b24f8d696c98cca3edcf625629132f0a6511c638 DIST vivaldi-snapshot-2.2.1388.6_p1-amd64.deb 59268532 BLAKE2B bf40e2f41ea8ef24e86321c30d7b4da920b96091484267bef0834f23138cd5fab7ab9ef29bda16a6d2bcc7c7a746853b75c66b3395c137f5d49381c6a1aa54c5 SHA512 710d4afbde7093b62a36391acad74b402b087a646a22672b8dec38563eb304fea494aee6db9f18394fafd8335e441a38f233250c80dfa5dab716aa1772c306f2 DIST vivaldi-snapshot-2.2.1388.6_p1-arm64.deb 51086016 BLAKE2B 69f6bf9f8ae1a308e524e4023cf20ab5cab2f4d933fa0bd046d1a70bd56438796be5f4aa147af8159c497a4fedbbb728ec0e607d1981e19c27f8ed85e87e71ec SHA512 93d8abd440f7845c759a48ae88fcb2b2fad90eb2ebff4f764cac91d3b0d1d50fe1b6ac5fafe0656492a3dd9a806fe5dec55a35c9147dcd5c7c7fb6f8af7a0564 DIST vivaldi-snapshot-2.2.1388.6_p1-armhf.deb 51870478 BLAKE2B 76f28406b5e88d27b9b75c4b58932567f112e5926d2d73a7f2ff862ab8789d0b659bdb53d095e72e102ccd4220f91a7bb379e7d9e0521da7d6f87503b54fb5c1 SHA512 21fbecd0575f024096371a8e1e2b3225f42924c0c299394be8a4b0c95bd1ce728c1a3ac2a7277f82a38e9d3b38599b828493a4a487368234825ce4442bbfa928 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1388.29_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1388.29_p1.ebuild new file mode 100644 index 00000000000..b45ca4cd152 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1388.29_p1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi + fil fr fy gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt lv mk ml + mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq 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 browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.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 ~arm64 ~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 + + gunzip usr/share/doc/${PF}/changelog.gz || 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_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 +}