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 136E6138359 for ; Wed, 6 May 2020 19:23:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E327E0891; Wed, 6 May 2020 19:23:42 +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 E6C96E0891 for ; Wed, 6 May 2020 19:23:41 +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 53E6734F549 for ; Wed, 6 May 2020 19:23:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F0411E7 for ; Wed, 6 May 2020 19:23:38 +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: <1588793016.b784380cd83e20e3fc7c8168051bb721bd6fb358.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-3.1.1906.3_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: b784380cd83e20e3fc7c8168051bb721bd6fb358 X-VCS-Branch: master Date: Wed, 6 May 2020 19:23:38 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cecdf60c-13fe-41df-b461-88632783ccb8 X-Archives-Hash: 3cf6f0dc4ed81d975c359635228a52f0 commit: b784380cd83e20e3fc7c8168051bb721bd6fb358 Author: Jeroen Roovers gentoo org> AuthorDate: Wed May 6 19:04:49 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed May 6 19:23:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b784380c www-client/vivaldi-snapshot: Version 3.1.1906.3_p1 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-3.1.1906.3_p1.ebuild | 116 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index d5f7f92e4e2..e67f6123e15 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-3.0.1874.27_p1-amd64.deb 68844032 BLAKE2B 249c6363047c93d6 DIST vivaldi-snapshot-3.0.1874.27_p1-arm64.deb 61890716 BLAKE2B 52de70ae1b8a1a1c342bdf9a14a25926ce95cc7df1bd974a35e951233ad981399f33b360a2ad34055d49022df0d061b7119967d650f0a8379c5159feef4fc3b9 SHA512 62630ea697e7a6623eb8e2c4052a8486a50b3bd1ff94ce5ec4138717e088196910d9f59523ea920836e412c477b4d5105ab83fef3b7ec633bf0abd2dc4586af6 DIST vivaldi-snapshot-3.0.1874.27_p1-armhf.deb 61252540 BLAKE2B 0c3326aaed43e2fdc37ee0f10b10cba059e124a42a56050ff3d7b65b35d040a295675ca26d17e3c098aaf48dc12f859901856ee8fe979c29dff3f6e10a0b13c5 SHA512 5e029081bfc046dcc62cfdfde364f2957e0168cd1839b5031861c29cd2625b118ff819f9d8b8163136af5042fbe601d90b935d8d5a0e455197d3b023fd4fd769 DIST vivaldi-snapshot-3.0.1874.27_p1-i386.deb 67559000 BLAKE2B 90beee730c4095bb7e589f39490feb96803254b659ad9676fe750ca945340fda71e2df99ee642477d4c5d029f7a9b35076c833fd45242c8a13df1f868117c6cc SHA512 a89ab64d99556c5e1eb7c92a33f2998d0f4294719b187d77f8b58048c3d35f9654ddb85d4b646f25a39b82f8d2947898c2bb8ef8452b12da765e07778770f3a3 +DIST vivaldi-snapshot-3.1.1906.3_p1-amd64.deb 68860928 BLAKE2B 099c40e7ce49e994a73c94374b4f6f3a06fd4ea3ace137fc21ad5a357d737c7c92ada16aacf92355bb1f893279a6c44c12d44b1a847ac974cb9b649799c74168 SHA512 f6139c82d64e1a1868b5ad2be8db35b3c523b1c4426c2dfbef8473c5c3fcc91c06d4608e077161f198930b1a7ee34872df7d6dd22e13d511a330823ec4ee0abc +DIST vivaldi-snapshot-3.1.1906.3_p1-arm64.deb 61939484 BLAKE2B 40a4880cebae0464c16740956d065333fbc1515435ab49b9742dbb81f82a8a128f8d7350660d99d538fc32db19686b4a367370f17f344938b31314faf14164c5 SHA512 b007657413160083d79e8284e543f5f550258fa1a837f7ba828c7b31acd63565b06e9bc55d7b1c7af333b2469dcfa7c6494998a41057ec715eafb7328b09d033 +DIST vivaldi-snapshot-3.1.1906.3_p1-armhf.deb 61267236 BLAKE2B 17ae4d820b70a10250fbb24fa0614f391a07f3f893ab6643d882f0a988a54dab5582cb28803d1d4b44a6c0f06bbe72b3e2d3f04d8bb7ec2f859ed43bebbd3da4 SHA512 1fbe0caba0962d24d34f507650a9ecc9a35c9488c9f9f7d50dc17e1f87d81e28a424917af20117aee5065a16988fd22e057aa191cb7e1bb9f4677fe6c991a1dc +DIST vivaldi-snapshot-3.1.1906.3_p1-i386.deb 67612300 BLAKE2B 1b27a9226f48265962d359999d37c9086b0c333a2f6fdd815b1033bda61c2928b5f05288fd882b7066f3177fd51a22eb6d309145a576f50a2e11da50ca5c3bae SHA512 33379cec7ce85528ec6b4dee6af443ed06a0b6610acfde1656f86c35f57ef7a0398806e48c77f9ea8aefe97d6037fabe034a58e52dd88e5346e12e4f0cb75867 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1906.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1906.3_p1.ebuild new file mode 100644 index 00000000000..db3613b057e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.1.1906.3_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CHROMIUM_LANGS=" + af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu + fa fi fil fr fy gd 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 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+:3 + 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} \ + || 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 + + eapply_user +} + +src_install() { + rm -r usr/share/appdata || die + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +}