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 17D51138334 for ; Fri, 22 Mar 2019 14:34:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19D92E08D4; Fri, 22 Mar 2019 14:34:46 +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 C88BBE08D4 for ; Fri, 22 Mar 2019 14:34:45 +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 E973D335D0E for ; Fri, 22 Mar 2019 14:34:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A7E3554 for ; Fri, 22 Mar 2019 14:34:42 +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: <1553265279.53c63451807237272372ddf2fc08198aad642e36.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.4.1488.26_p1.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 53c63451807237272372ddf2fc08198aad642e36 X-VCS-Branch: master Date: Fri, 22 Mar 2019 14:34:42 +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: d9ab407a-9001-4e2f-add4-1d601b890a96 X-Archives-Hash: 6906090e641d0cbf8f276563a2f18c83 commit: 53c63451807237272372ddf2fc08198aad642e36 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Mar 22 14:31:26 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Mar 22 14:34:39 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c63451 www-client/vivaldi-snapshot: Version 2.4.1488.26_p1 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.4.1488.26_p1.ebuild | 119 +++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 64e20f53bcf..58a55e9f08f 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,6 +2,10 @@ DIST vivaldi-snapshot-2.4.1488.25_p1-amd64.deb 60475324 BLAKE2B b138b107d19968fe DIST vivaldi-snapshot-2.4.1488.25_p1-arm64.deb 54242268 BLAKE2B ff5242db54992f97a60d4c27821bc797e9075f4c3330e1cca038aabdc0b165d1fdcc887036c5596b826abb037d2e0b42a1104ebfefd3fc07965bc0c7cf4b849e SHA512 2ef48a9e50b7bde04179fcf84b670516fd8af1123267f57146ad572bcc3f70713cdf69c70be1b2975a40ddba431707fa56748914285018af67dcce132cd1a86a DIST vivaldi-snapshot-2.4.1488.25_p1-armhf.deb 53318456 BLAKE2B 6505b3b92a8daa0531752abb47d24ed04928eb3898b0d79da753b31213015cf6d0859e984a9869e1191c71b93f74b55dbc09daaab4db2795255e6a914550b2b5 SHA512 290844dbc3c08e05d24e98eb956823930884bc8f17f729eb1d3d30d605044d9ca0676fd881f0be45b9e26503dd6ba0efc0786fb2a394cac83ff850b6372981fb DIST vivaldi-snapshot-2.4.1488.25_p1-i386.deb 58535212 BLAKE2B 033a2d77a26a124efb219886e1afa48e62fba69610efd9edb0a5c137149c5bc72388bb8c57c1b53beae717c14d150c87feb403a370ad5ad138bf151c0079dd88 SHA512 e47a3acc78fb1f9b41d177b3e600420df53bd9e4891782289521d6e511f0838b5d675ab77d58a7b78999c0d65bd232e4ed1e23d3437e9902c75deb2226b8cdf6 +DIST vivaldi-snapshot-2.4.1488.26_p1-amd64.deb 60474800 BLAKE2B 7dbd851d2c785dc5920586688813390857c0599fc5eccb9e4d8e2823a49089097e58e547f3445ffdd5ad8bbea641e07bbb251e8c9fa81785c09177f112ae8457 SHA512 fa5a59c0ed5e9626f38c66305ee11b8833f7f2f445cce3efb5b0d8874fb9722c59e00d01999c3eacab0a3a7b589331f9eb399152216bf5ace19afd01bd6b02f5 +DIST vivaldi-snapshot-2.4.1488.26_p1-arm64.deb 54240588 BLAKE2B d4667dde4db75f6799a1edf84fdd27f30909b804a119a2bfa6b85d04891e0c2b6cdcb5c67a84108c074df2a17504249c72180da13e13e7485941d378410017aa SHA512 5ca4b4514c421fee5e42edaa976533fa1d16f579880de79a391fcf39b7ef25edfba4b6ff94684bff5c5c81ce7880694992119136dd82e9c6e341a8f95b9e39be +DIST vivaldi-snapshot-2.4.1488.26_p1-armhf.deb 53336568 BLAKE2B c9faafdfc09ed4286c2e68f39d1c2b9033561417be703596fed11c62f012ca826a9fd854affcee734443a8897dafee72499b87197d0a2900a8c48c2ea379ebc6 SHA512 02eee702a2db3fcc57796e347c1588e98c4b82e420011e39e116e23f7cbc6132b93895acfba358bc0f0f0e86b7cc68db9ede2ac5f2fdf26ec90cf288cf3e44f3 +DIST vivaldi-snapshot-2.4.1488.26_p1-i386.deb 58540508 BLAKE2B 4be57548184f924e16476b6ff397382e26a02641104f910f7b0b71fbb220672a053beb3e3d704e4e5922fb963b96cc8ae1b02fd2590fa0ab41fbbcbf84fbb872 SHA512 87f6ff82ecbd93076f68ce6c5b93b5f3a4829102a641be4ee606e8a7fb3b88c49639cad4584745457208d9a7e4a9fe914dfc6b8bc063dd1ae2fc2eba53da0dc3 DIST vivaldi-snapshot-2.4.1488.4_p1-amd64.deb 60446284 BLAKE2B 3018d0dde1d283ce07e1ce0148e65917d92a4e9c86f0ea10ff6344bffa7120bb22fed136b9c47e155e287336c787a52e8d62bef560073f0ec484d080f16b281f SHA512 2fc44b8f3de2205b13cee31fa162bd50ccb6baad675d020738364c0860475515cc74e3e4afb84dee69e164facf37039099fd8b559afaa6749705a7490ffa260a DIST vivaldi-snapshot-2.4.1488.4_p1-arm64.deb 54229320 BLAKE2B d12049ad241d070d613453e93f97c0eda31cce103c114276ff8cb6cc967695cc9b0605f27d9dd7b2d5c217a662e8205a0217dc464d5eb65df67b201bc48afcb0 SHA512 483be1a1f8850420ed484b0b9ea044f05863cb9aa55ba2dd6b6cc0b61387cadc72c0b9e849183ec086c55c5d698c989153f9df1369b278bdb3a97a3cf89a8a45 DIST vivaldi-snapshot-2.4.1488.4_p1-armhf.deb 53316756 BLAKE2B be45bdb212a504efd32208df4f830dd35119c013da0e16c64275999748239d20f226ebb3b8b084cf8f9b12699cba37c96e8828aa02208a45bff0cef3f2a81abd SHA512 46a595659a807c5891038f1812def98e22989c6ce217a11adb258a6c53749e5ca6549e2a8e8aabacea3c0a71658516bf9786e5381633ab0fc698d42dba33afd5 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.26_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.26_p1.ebuild new file mode 100644 index 00000000000..91bde2d5746 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.26_p1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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 eutils gnome2-utils 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} \ + ${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 + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +}