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 5D282138334 for ; Tue, 14 May 2019 13:07:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 499ABE08AA; Tue, 14 May 2019 13:07:33 +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 1A0ECE08AA for ; Tue, 14 May 2019 13:07:32 +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 564FD34422F for ; Tue, 14 May 2019 13:07:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE4A9452 for ; Tue, 14 May 2019 13:07:29 +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: <1557839247.d9f432e294d99e5b47d4251ad0cd9f566ec1c386.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.5.1525.41_p1.ebuild X-VCS-Directories: www-client/vivaldi/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: d9f432e294d99e5b47d4251ad0cd9f566ec1c386 X-VCS-Branch: master Date: Tue, 14 May 2019 13:07:29 +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: ed3a16a8-5941-47f3-a68e-c4b204f79100 X-Archives-Hash: a943cd204519e0b8ddd895024b433de8 commit: d9f432e294d99e5b47d4251ad0cd9f566ec1c386 Author: Jeroen Roovers gentoo org> AuthorDate: Tue May 14 13:06:20 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue May 14 13:07:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f432e2 www-client/vivaldi: Version 2.5.1525.41_p1 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi/Manifest | 3 + www-client/vivaldi/vivaldi-2.5.1525.41_p1.ebuild | 124 +++++++++++++++++++++++ 2 files changed, 127 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index f52b241d565..926728e7018 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-2.4.1488.38_p1-i386.deb 57296220 BLAKE2B 7dbbd877114aedee0f762ccec7 DIST vivaldi-2.5.1525.40_p1-amd64.deb 59496800 BLAKE2B a51968416dc4b05790330ea15a8076822911cc2ada72622617635de5fb2bf16a19a40fbc0b7f8bd9847be6e4ff6f046264a697c775345913a36f78392db4bcdc SHA512 f594dc20352f2f5f7a6fab1d3552b9756eebbbd7e8d6ec8a75d86e48cc8ce8353c9f96c0022dfab2283405b7e34d8ff8f9f6a93e4ab281e68561b64fa3ac55cc DIST vivaldi-2.5.1525.40_p1-armhf.deb 52879712 BLAKE2B 6bd7fc98740bf540458e8a668b3eddd23415575dc5e279dadcc663fa53c444e292d5568482ff29c322c09dd71004834119994d67ab34070c5945f6aea4eaea06 SHA512 fe338edf6186d49c32a0dd729182dc55838b132d5385fb1de914cd0439f85e9640ace2c9ceba0f05db5eff102670fd1429a0d5b429d13f9489913e664008f246 DIST vivaldi-2.5.1525.40_p1-i386.deb 58070740 BLAKE2B 88a0c7cdc7c33c4781bf76d28f9507f463c888854178f75b5b50a0b59173365eee0821b1ec2e7ee3082bd86b6cf131beef069013bfeeac862dab228370d6ec86 SHA512 b93f68ae37f2f8cdb88740aea91e23fbab9d9fb5380b4f58d07a506ab27d80eda1d138d1acfe8475330cc300761e83974c1f506fb2e12881ec510333af10bb95 +DIST vivaldi-2.5.1525.41_p1-amd64.deb 59511176 BLAKE2B 855011dede4287aaccaef01a983e5820c39bb7ae6d680813b4b8893528d678af488ca1e2ff642061f5cbbc896ebee4bf23f629d3ce1e196779d60023d0a2dab0 SHA512 ef53264bd01bf593883664b94fb821d3fd84a91a6c96ed26f03160c0d0f05b113c4767b95153d972e77e26fff61cb21023fe999959bd0923db5308b9bdfba529 +DIST vivaldi-2.5.1525.41_p1-armhf.deb 52878692 BLAKE2B ba76c656d4d67248e69a64cf328642a20a7c1a1428443272f5f04850e8a40f84baea6130a86e6789a7f93dc393d1c3c5456d2a26f27b491713998d086ce39d6b SHA512 37209067701f30d0718e320604987931f08beacdde96b33c2cd3cf487daef8f7f44a64bba1c3fa0578023a21510b61b83f061905bf4ad9e299b834d4bcfa0b29 +DIST vivaldi-2.5.1525.41_p1-i386.deb 58063596 BLAKE2B cfe3cf02bd910682d59f655f8e37e0b87390d445cfd7538442628b3e95bdf108e4a3eba0d1df0ff73b542ae1d67bf1c01409aa27f0bbdf855a76cab352c3fc23 SHA512 ad46c050e4642fc7ac040e0ae7179415133d3876f007f8a917e38f37e7b05d2b55febd712f5b51b777bd7ea672aa919f3f2e8a657e8fddf870dc6445170f8628 diff --git a/www-client/vivaldi/vivaldi-2.5.1525.41_p1.ebuild b/www-client/vivaldi/vivaldi-2.5.1525.41_p1.ebuild new file mode 100644 index 00000000000..69ed6a41d08 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.5.1525.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=" + 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 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 ) + 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 ~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} \ + ${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 + + 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 +}