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 0AC6F138334 for ; Fri, 6 Dec 2019 14:27:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50989E0880; Fri, 6 Dec 2019 14:27:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 28D0DE0880 for ; Fri, 6 Dec 2019 14:27:04 +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 ECAE134D812 for ; Fri, 6 Dec 2019 14:27:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82AA67F9 for ; Fri, 6 Dec 2019 14:27:01 +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: <1575642419.7845d35a63192cec6e3b62e361c6bf595d8af77a.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.9.1745.22_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 7845d35a63192cec6e3b62e361c6bf595d8af77a X-VCS-Branch: master Date: Fri, 6 Dec 2019 14:27:01 +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: 77eaf760-bb65-4a22-a578-2e317e52db49 X-Archives-Hash: 5d9d6ad24c2efeca18777e57fee857d7 commit: 7845d35a63192cec6e3b62e361c6bf595d8af77a Author: Jeroen Roovers gentoo org> AuthorDate: Fri Dec 6 14:25:53 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Dec 6 14:26:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7845d35a www-client/vivaldi-snapshot: Version 2.9.1745.22_p1 Package-Manager: Portage-2.3.80, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.9.1745.22_p1.ebuild | 115 +++++++++++++++++++++ 2 files changed, 119 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index b30c8c18939..4f09a777477 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,6 +2,10 @@ DIST vivaldi-snapshot-2.9.1735.3_p1-amd64.deb 66806608 BLAKE2B 3f75e37abc7272d9d DIST vivaldi-snapshot-2.9.1735.3_p1-arm64.deb 59668352 BLAKE2B 2bfae9ce27fa8773bc81dd76f0581ed715b77725498ad3b1fc21f7d65530eb22cf2cb54231c9c166e61cbeabd3fd20b1bb78e87596868dd10aa0bf3004366ef9 SHA512 c065d0e10ab3348a3bc385abc686f5f4d2edd0f223dab8312492cb13aa46334227e057e2e94d8d98fa0f6c0e789a1a6c805514ccd3b79fbbd0cadf0a2eac68af DIST vivaldi-snapshot-2.9.1735.3_p1-armhf.deb 58922388 BLAKE2B 6ed11e19b93ba1cb7a9bfed1dd6981c4a1425b2e869c560bcf2e2f89a1725f8e907d017897a80b8f3d6cd809477943e69d8b03ea36bd6185d961bacc4159c7f1 SHA512 fce2a04e8a2332748e38c622159a734e585c08c8a9b366596c4231803b521109b3520c709a6a5c4a5bd087e0308ed4fa0f0605ed197234a06941bd6f3f5486c2 DIST vivaldi-snapshot-2.9.1735.3_p1-i386.deb 65228100 BLAKE2B ba46a157ec19835fffadb53414e195e19998eefd8b18e24fe7594903e6472dd66ed9d79d0ca81395be7639bda9dbd794d4ca1731c4b8fe688e3aa12a81caed49 SHA512 72354b86869c786ceca847740d9e4b5e95022b19d384bec4522848d519010553bb6baac1cc3bbc8eea4824d6633abaa8087f4b6d4231349de92eb68155fa66cd +DIST vivaldi-snapshot-2.9.1745.22_p1-amd64.deb 66821948 BLAKE2B 57455f5e22ae08757b4f2d6b16ea012da87271b544a8b873eb3815350f1fb21f6b6930fa048d412c4179aa60e8a7dfba9f320c63f58aa1869c1da471d48826cd SHA512 e10e116f7a5d14223d60d098e9f36451dbaa2a4c3df32ce3d8c01c7fe654fee347023699b5705874174a80ecd37737786e3a12325b155802b308d50be05cee28 +DIST vivaldi-snapshot-2.9.1745.22_p1-arm64.deb 59685676 BLAKE2B 875437cc374012257af3af0de7fea1ba2bde7c86d3beb4c5147ddf8f25653233fb56a58c87d8d1d1e726df11512a5b9de811201e956af69a0bb6f4a2c73c8af3 SHA512 ad518219cf81e08ae00bbb072a318269d6575458c39de88c3e5806cd36664ee0fc5651742cb6d2f3d38854be07cc0c424a13e988b89b8b6ab2ed6324c2ee99e8 +DIST vivaldi-snapshot-2.9.1745.22_p1-armhf.deb 58961136 BLAKE2B 96c6647ddb15b2c7f74b8c47e01adbc2ed79f84c62b8a41ca982ef08a2ebd85527b86e1dcec2ca6d8d019a9fcbd501fe4a179fda93090f48d040e253e726e48a SHA512 4b6ec9e0023c984b535035e7077068b1241bacb794a97dc955a2087044705594610bebbbadbf999ba5c55c1ad836b74c6ba0b562b9e76f93afa0e8abd4e052cc +DIST vivaldi-snapshot-2.9.1745.22_p1-i386.deb 65264236 BLAKE2B e58245dfb5f516c58b430677039aefe1794d843420e69977a6a1f31c8894b7b18a36761b89722a2a42be2ade98244c6e5572cc71a6f0a5e5fe3a7a65f3107df8 SHA512 aa6db45c4e384d7db59a20886e7ecb5224c5e613824dd3572d4fd5bcbb1e66ff7fbe98bf42e2ecaa94b9614f89e338f0279a1e623a661ba36ffa35d489032802 DIST vivaldi-snapshot-2.9.1745.9_p1-amd64.deb 66839332 BLAKE2B effe7c052e3f5f36b5fd34cb1ac20b3a24de5028bf64836e9d05ea2d60805b323f8e01ed7cfc67ded3b3e976c1a9fb2d964614d2260f12320feb787fcd435414 SHA512 2f56272b150f538f4dfb03b31c1acf743f2de1df1baf2d52cc30d2b2bbc148ee0020161aeffc691ee5cf685ed69361654a84795134f51c49da0cd4d106c5c122 DIST vivaldi-snapshot-2.9.1745.9_p1-arm64.deb 59692056 BLAKE2B 18f82a3a5589b0560ad4e6ce8effea3f2b49ccf55bdd3a5e7d201aa7bef23f60f3169d0b19ac676b77392913352682ece23e060267db4627af443835d4dfa63a SHA512 6a94effe8e38962ae004802370ea4b958c50399dd0d23a5811042f43e125c1c110c88e0d8db51c407bcb3abc17daae16cf51076bd044bf3db52b117f93008785 DIST vivaldi-snapshot-2.9.1745.9_p1-armhf.deb 58961340 BLAKE2B c81c1acdba4d4f351e16e5ab8599613d2e89b1e9f5a00627186da9f07ae6d7baacfc9b1bc3a2f1b3261b1155bfe0cee94c7860b5d9a0b3bf2da9c421aa3c675a SHA512 0d951d10b3ac03df9057987aae1cf879f747cdf1a4f7b35920f54ce8c72a9657e565c8c8c1c863989fe46b6b52401df251cc7e4b3c07496de09aa53f8f307fd4 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1745.22_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1745.22_p1.ebuild new file mode 100644 index 00000000000..8c33fc17af4 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1745.22_p1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2019 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() { + 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 +}