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 4C352138335 for ; Sat, 22 Sep 2018 08:15:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3C91E0869; Sat, 22 Sep 2018 08:15:01 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 AC603E0869 for ; Sat, 22 Sep 2018 08:15:01 +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 0CF2E335CF8 for ; Sat, 22 Sep 2018 08:14:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 495F63D7 for ; Sat, 22 Sep 2018 08:14:57 +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: <1537603536.6d80bd0bfb25f258fd042f28b789508c33c38862.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.0.1309.17_p2.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 6d80bd0bfb25f258fd042f28b789508c33c38862 X-VCS-Branch: master Date: Sat, 22 Sep 2018 08:14:57 +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-Archives-Salt: 345fb7dd-4809-4c3b-86dd-d388aade3e13 X-Archives-Hash: c6fffd65561bef1a9a50003a53440cf5 commit: 6d80bd0bfb25f258fd042f28b789508c33c38862 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Sep 22 08:05:36 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Sep 22 08:05:36 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d80bd0b www-client/vivaldi-snapshot: Version 2.0.1309.17_p2. Package-Manager: Portage-2.3.49, Repoman-2.3.10 www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.0.1309.17_p2.ebuild | 116 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 135d62bf4c5..208bc7006f6 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,6 +2,10 @@ DIST vivaldi-snapshot-2.0.1308.5_p2-amd64.deb 58854576 BLAKE2B ad129e024b5ee97c2 DIST vivaldi-snapshot-2.0.1308.5_p2-arm64.deb 51159840 BLAKE2B a6d10077c09418b917626ce555b17b0a9cfcd62d5478e006f40400c3ae6c22ae3c69daa1197bf3be00af73dc9a94c177373991f6d91b8d88ed6292398a8a6034 SHA512 461648528b63f0d52426db1815a1baa004d7e653dd6e8386da5b5c5f658f26ce3ca19f68396f520057741c274e85d2cead9495b8f902a16af042e548c1f3c045 DIST vivaldi-snapshot-2.0.1308.5_p2-armhf.deb 51986344 BLAKE2B bc03e182ac68b525e290c2a78ca3ec0e49f7c585173d5b286048c11e95a78433ca3896426f874c14bb3b9f1785ee5c770ecd2129530234db2a9a8df26290949a SHA512 e5b9265db19077527a37aef36d5955e968cc298277622ffbcabcdd5d2cbf699d7b39eeeaf875a9b8d92fdb87a633a1c8941a7935e2701195193161bf82c56fc4 DIST vivaldi-snapshot-2.0.1308.5_p2-i386.deb 58081422 BLAKE2B 53f4d35a6c30e090269fc81e64359a91d5433507ff8bd2ea3a34df85e7d2f2840d06120135fc61ef341902eb2453bdfaa2c96ff809a57d58e6f0f00f88bfd285 SHA512 5480c3ae6431767f4af44ce5415b435f90b8852eef5faa370b3be242742b8060d2368d3b7b47dc2a5668d6774dc96ca14fdba1ee9296471ecdd853ace9d52145 +DIST vivaldi-snapshot-2.0.1309.17_p2-amd64.deb 58851522 BLAKE2B 8f3a3937ca283ba3b426a236b06b6ec9690ea1ae60ce1e8464445d2484500121ffe33465088311f8ac401a61630c4a26c3c87c01221a688bbf2646ffd575f9e8 SHA512 d6fab8585afe6ca58aa9c24caaac53c0416e6b339b5c263856afcee63c0cca5a5b6978fa40937fc13cb467b268931e414e26fc74f7fe8ec5993d162f2baf48c1 +DIST vivaldi-snapshot-2.0.1309.17_p2-arm64.deb 51158208 BLAKE2B 5287d730866f689c8e7861a339639a56cdd3ac8a3f12a417002a5596cadd450333d6cfb04700f3acdb6e60bed8a898660a1951b15a3fc676c99916a2bf7908d1 SHA512 47c7533cfcc94356830b93ff7f1aeefae01aa4a002b1c9396e9d00a5c83e285f7545f5a700c043918ce494e11692a3048013a14154c0d678115530748248ea96 +DIST vivaldi-snapshot-2.0.1309.17_p2-armhf.deb 51985124 BLAKE2B 3d3b8482b766a5e876c84f19a578d58479ffc570bc67eae5810c74d52bba291a073bcf443efba313a7c1ac09e56a290d241dd5419eef77af7ab23335876a93af SHA512 4e9c793a5ae5be2fb0468760af17954bf1088303d1393d7d25cef4ee9a2bb94cb71da3fc82b86d28a6f17b3dd675f64b8c877186d77a09c04d2c8ea0eaa121f6 +DIST vivaldi-snapshot-2.0.1309.17_p2-i386.deb 58080212 BLAKE2B c97d50efa9425a47231eec89a44ba4ff696d78b1955ea01c9c7515217a55aacb03f60712466363d67ba080ccd3e7acdc233f2b4a1354c563f2f5a0aeeef77cfd SHA512 c5dc681f605868496443963fc9daac6d6b013b90650e3ceea283200fb88063c4f42c197eef1816925ebea01510ce1b6e1f3aea97d039b43950a8b00bbcd85392 DIST vivaldi-snapshot-2.0.1309.3_p2-amd64.deb 58856290 BLAKE2B 1663fc631f45d6e4330ede44b5c2a632340438edc92005e94681d13498ab93cd49141f9cd7991f5b2725ea66c2fec4bca1625fd7eab8de249c6492332afbe96a SHA512 d11d0cb2e5537c104cc973e0f4df19693ea06a773c432a026f208966e01689b72112397392b65b0ece65f7e421f9195cded32182eeca6e0876195e24280dd8fa DIST vivaldi-snapshot-2.0.1309.3_p2-arm64.deb 51163578 BLAKE2B f1a82154a26368539049f5168f6b29859c5fe8fb2a4e4f8ebb563d0c984c0346e7e98a17730ba851e3ee57f75089efe6cb632144056dc0eeb4ce14a68af4a9f8 SHA512 66aa8bc38b362715394f445a9a27cb66b57f1fe8c818fe7805d73b05f715029ef30d68c4942cfa1e04d11820d57ff63d25aa2095405d4238a0de531658b6f410 DIST vivaldi-snapshot-2.0.1309.3_p2-armhf.deb 52000054 BLAKE2B 39167c93f9c65ea6fadc343db5544708bd8f46d69dd0b4cb0be633afff94ee6ea7e2995d46572f979a138b6ae3313ced25f3677a33e515ded46ae2254e891a84 SHA512 cf4227c2a2911d412ed87711a797bf56f60e92b6526fe7e6ece5273c05525bf8e4138e8a986c7c08d1d463ff07fe4aae63ab5384c6aff3712bfaa51e6d058a1c diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1309.17_p2.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1309.17_p2.ebuild new file mode 100644 index 00000000000..20db390fedd --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1309.17_p2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 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+:2 + 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 + + 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 +}