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 4D253138334 for ; Thu, 19 Dec 2019 19:58:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3EF2E0934; Thu, 19 Dec 2019 19:58:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B07FEE0934 for ; Thu, 19 Dec 2019 19:58:27 +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 6EA7534DA38 for ; Thu, 19 Dec 2019 19:58:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F144E8D6 for ; Thu, 19 Dec 2019 19:58:23 +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: <1576785499.8fc2133747c297ebf436a64764f91d4d2aaeee36.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.10.1745.21_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 8fc2133747c297ebf436a64764f91d4d2aaeee36 X-VCS-Branch: master Date: Thu, 19 Dec 2019 19:58:23 +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: 9e394451-2f6a-443c-a84e-7b42772d2aac X-Archives-Hash: 76eb62fdb35b6b9c7068552273fe80a4 commit: 8fc2133747c297ebf436a64764f91d4d2aaeee36 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Dec 19 08:09:09 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Dec 19 19:58:19 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc21337 www-client/vivaldi: Version 2.10.1745.21_p1 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi/Manifest | 4 + www-client/vivaldi/vivaldi-2.10.1745.21_p1.ebuild | 124 ++++++++++++++++++++++ 2 files changed, 128 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index efb94a173fb..a614bab0012 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,7 @@ +DIST vivaldi-2.10.1745.21_p1-amd64.deb 64747464 BLAKE2B 582226b660ca2bd5a13ce9aa80abaf07e2663fd6a4b754e28076d8513807a88198de64360622c192e920376c349014d3be3ea3e14d29b0184e87669e4fda0ac4 SHA512 35a0033ba5ce461fa77ea511df6ce012f9acf9e1d59101590b15a63b8f2d380539e08cb2ede3a41da8743fa794cdcae7f902813d44226e255c3a6a397a1d63ad +DIST vivaldi-2.10.1745.21_p1-arm64.deb 57904008 BLAKE2B c0d7cd9692f5d8da32dc3da7369e1d3db3e06c3220ec4e8ae714e002fcb5117259c86ca7c0f5b3e1d185b1cf8316a1169d583819289bf956dc6634083b96c5e2 SHA512 eb02039613a398d12b007a2bc1d41d6179fa74637a0dda1084fe237f85512baa1954aadb6e9a81cacc2a8bad19f1c21aaae54e22be2d6de923fddaf4c2e56714 +DIST vivaldi-2.10.1745.21_p1-armhf.deb 57142544 BLAKE2B ebb7399602ece7deb7419d7de7370f627b548e3c2ac8dde97d13a8cd36bd0334388b29a947f99aeaf130bc291dcde623091303d6e2c542e35e5487234adf4da7 SHA512 ac8e05713b947c24989c7106a43d3bf3401a5cbdc26a22f30ac23d22150444222a088099192a209c168221973d1e081b0a0db4ac3c9258ba5d2a614239c564d5 +DIST vivaldi-2.10.1745.21_p1-i386.deb 63124088 BLAKE2B 931740c02b076ee3f35c13a1d5dd61c28ff6afaba01cc53ad6514d01be0482db9cb164ddb14e7ca5a8bfa2c77e73d2711032ba324e5cbaf7795bfc8b25c0f0ee SHA512 89f8d27681b3334a765ec659cb4b055da5b5e0f1afdc7f6c184ba9ded143e07198edcd0b7d01f741378deced220f245528ddb046f82ef26446b7d1a52e267d79 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 diff --git a/www-client/vivaldi/vivaldi-2.10.1745.21_p1.ebuild b/www-client/vivaldi/vivaldi-2.10.1745.21_p1.ebuild new file mode 100644 index 00000000000..db417712f6b --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.10.1745.21_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 +}