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 C3937138334 for ; Fri, 8 Nov 2019 20:09:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D1F2E0899; Fri, 8 Nov 2019 20:09:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 D6564E0899 for ; Fri, 8 Nov 2019 20:09:57 +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 A474C34CAAE for ; Fri, 8 Nov 2019 20:09:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21522889 for ; Fri, 8 Nov 2019 20:09:54 +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: <1573243791.ee20ea94e12558ea615a80cf68cc0bafa1503f92.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-2.9.1705.41_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: ee20ea94e12558ea615a80cf68cc0bafa1503f92 X-VCS-Branch: master Date: Fri, 8 Nov 2019 20:09:54 +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: 78667398-47b2-42ce-9ec0-f7c2cea973fd X-Archives-Hash: a278a8f2efe14b33128b4df4d5ac1b32 commit: ee20ea94e12558ea615a80cf68cc0bafa1503f92 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Nov 8 20:06:54 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Nov 8 20:09:51 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee20ea94 www-client/vivaldi: Version 2.9.1705.41_p1 See, nobody's hogging CVEs. Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi/Manifest | 4 + www-client/vivaldi/vivaldi-2.9.1705.41_p1.ebuild | 124 +++++++++++++++++++++++ 2 files changed, 128 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 37bbadea866..8c92b26c546 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-2.9.1705.38_p1-amd64.deb 63627584 BLAKE2B 93b13540d24f2f94b84039f07 DIST vivaldi-2.9.1705.38_p1-arm64.deb 57133532 BLAKE2B c79701e0ca6abc194f71cff40b8a9784f1e4bf0d51e40b88b974aeeaeefd993b7858c885561146e6234d006b0edf716ae80d6f79c8ec8bd502c611fa41dd2f9a SHA512 2c4dfa27f5fa61ad2fc43439d99e65fe0aff8796fdaced95ef7a77399be191c97563aab4ab7efa2073ae35c8b8a02caf596481eb951c204692724318bf4a3eb0 DIST vivaldi-2.9.1705.38_p1-armhf.deb 56154964 BLAKE2B 52e063d6e3cee7a8f3f06eab578aa3609be5ad13c324342d903e969e6ef681495b49e0e5e21978c79aad7267da6c92b7ba54618667511b19c316ba1745c127df SHA512 d65358e868ae0f705bc0f491514880b03aa3ca472caf7b7e735885f45e5527a29ff0459be459728312020f2f44fde5b189eeeaf0373baacf17224ee0c944343b DIST vivaldi-2.9.1705.38_p1-i386.deb 62001220 BLAKE2B 3846c69c0e81407ecc8b37f9e3b103595c82de0527586672a3fcad3351a63b050a91e4023e755dc0fd910528213f8324e27c6aa658543e544c07a474391f4f40 SHA512 601eb73ebc4a5b2d06bd14b9059cd56cc6aa159c17341d4edcac5ffe5b81c176ed23f335e359d8b86b210452d892db0f08883308c287cf688434c786b81bee23 +DIST vivaldi-2.9.1705.41_p1-amd64.deb 63702208 BLAKE2B dcc49aba3b1f5dc83434e39d5fac6cc63e7b02b49222ffd3dd5af16e9e686703c6ef9e69040accb4de848164a750844d1d94b40150ad9168d7d611d9e69c26b4 SHA512 9d4f4941d48a84dda793c03b2a8ecb3b1a5fb879234f2b3a96452974d216728475ef2d1804a41fe61afc6ce9df1bc2c1e0faf2ee3a7d856644d2a60e06e538a0 +DIST vivaldi-2.9.1705.41_p1-arm64.deb 57077508 BLAKE2B fb20da9a688e8828d2ba467d8a3a7660e0065860ec3bf36c00ee7e8cf1671d5aeb7ed4e2efa97f38975aaf53ac8a2a1eacaa685d0120411951d11a770be7615a SHA512 1d9a734dba7959e5c2aa113c5cb7294b9c66d5e83597778048a24e83099c56d480f5e5a031f2d29283f141b9804ab3ec5e8e2b3413d40cc2fdc5c26c1d5b2610 +DIST vivaldi-2.9.1705.41_p1-armhf.deb 56264460 BLAKE2B ae5c737b059a3fdd61a049feb8ec042399b631bb1a62a2f51876aae70e10371d34ca37367d3f6f622f3325597197456f5db182c1c7ccc74956178cf59a0d9859 SHA512 4bb1fd8ce637611480d970c65b13c9e70a5d3f950fbe99ed78c152e73d6a4df3251edbc1981a313aa40f942b7c450ded3b9c21dac76c7fe484bff8e9af335a4c +DIST vivaldi-2.9.1705.41_p1-i386.deb 62149600 BLAKE2B 10d454f4c22556ca9bbd03948390428eb4c20c294a7b2ab9983a9043a680df4d982abca77566510a0101e6da7b8f2346c50578e11ba817672488898950224455 SHA512 bcac85762c72feecf3f601996d9d74b3df94708f10250c36f0c73b03cc8630ba3da50c4b277338cb9d191c2389a7ba5bc34b4613c22a8e8336a15d417dac54ff diff --git a/www-client/vivaldi/vivaldi-2.9.1705.41_p1.ebuild b/www-client/vivaldi/vivaldi-2.9.1705.41_p1.ebuild new file mode 100644 index 00000000000..db417712f6b --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.9.1705.41_p1.ebuild @@ -0,0 +1,124 @@ +# 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_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.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/${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 + + gunzip usr/share/doc/${PF}/changelog.gz || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${VIVALDI_BIN} \ + || 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}/${PN}-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +}