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 C2A1813835B for ; Sat, 23 Jan 2021 14:27:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEBDCE0BBC; Sat, 23 Jan 2021 14:27:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 7EC9CE0BB3 for ; Sat, 23 Jan 2021 14:27:26 +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 0A36E340871 for ; Sat, 23 Jan 2021 14:27:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B215B2C5 for ; Sat, 23 Jan 2021 14:27:23 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1611412020.4506a5c14430212071126a513e95342018d9bc8d.chewi@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-3.6.2165.22.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 4506a5c14430212071126a513e95342018d9bc8d X-VCS-Branch: master Date: Sat, 23 Jan 2021 14:27: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: a44315af-c20c-409d-8ea4-57944c09dfd1 X-Archives-Hash: 50b0cc0877fe9a49bab1d04f0c7219c1 commit: 4506a5c14430212071126a513e95342018d9bc8d Author: James Le Cuirot gentoo org> AuthorDate: Sat Jan 23 14:20:55 2021 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sat Jan 23 14:27:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4506a5c1 www-client/vivaldi-snapshot: Add version 3.6.2165.22 Package-Manager: Portage-3.0.14, Repoman-3.0.1 Signed-off-by: James Le Cuirot gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-3.6.2165.22.ebuild | 202 +++++++++++++++++++++ 2 files changed, 206 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 6955b06a1f4..be5b1dfd089 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,6 +2,10 @@ DIST vivaldi-snapshot_3.6.2160.3-1_amd64.deb 77539500 BLAKE2B c674e6145379cfea70 DIST vivaldi-snapshot_3.6.2160.3-1_arm64.deb 69765872 BLAKE2B fed663612c53a93cfee896353155b56935273af2d8377bb98c8efeda089ae3ffd3b509f0fb7bbeb617570e39cdc2e08185cececb8004558e52a56ce3eb41228f SHA512 0768a32e3a7a63ae6e7ffcf02ec9fc1308d29dce45d9107f79a12d3cf03ef4679e99bd77509d9642ce60e9c71bda2786719fbafc664e680d4ced6b10e8864b34 DIST vivaldi-snapshot_3.6.2160.3-1_armhf.deb 68592504 BLAKE2B 9c9571110da3427a3f89d0994c2f3d006a310e0f14f4868f503febaf11e7c1b42b95a46f2ac46b601af9e2bcff6899bfb2265e12822f8d4b1a3306a1c9eea3c4 SHA512 e15c4fc58fd2211cdece0ae119cc4af2d1c72a81ee5ec770d5714d81ed5995247a9d10ec8c9f8af50cde4f74ab77b3c518855d768fc60154958deefff16db5ce DIST vivaldi-snapshot_3.6.2160.3-1_i386.deb 74246948 BLAKE2B b7ac2a25b8dfb7aa0c6e6d974933bc2714e1c274ae9c62d68391780bcbc1fb8f0ca66ac9ac86a5e5fa188aca8f5762d6fc1e13c9cdfe8b0c5792927123c5ed1c SHA512 56330e75e6b0cc187bbefd833eb21453f858db0334e3632da7afd6565f65791906f794ff2bfff04341aa0dbf14be6aca2d7fe84fcf314c2037c0c1edfd50be78 +DIST vivaldi-snapshot_3.6.2165.22-1_amd64.deb 77580020 BLAKE2B a35e59be7501e6dd0ff54116d21856c2887aa4cd6cb1f45e73c3c7f2b88c1f299619b8bfbacc994a286af51a09a48d3814dbf2670048b1588457f14cb461ad8c SHA512 a2b0c8e995cbd3c58c1cd93ee9f7c2a7ba29a1f4f7e1d7fdcbfba958c1569b823945cdbda29bc76a1c0c9160f34f84be3e9d4ad41b890319d4a0ae2fadb3a9b4 +DIST vivaldi-snapshot_3.6.2165.22-1_arm64.deb 69778528 BLAKE2B 948be83d7b8422b1482f1a837147d190caac30d1bb10b4a3a5dc8636f347da6f41da51332087239ffdf3428333d731a503de162ade5c59aa46657244503c0827 SHA512 9722f7625af7669348e5e241895fed469a76f398347e5f3f976320664550fc0d64c10c5944dfe68957a45f5f34afaafa1e78623ba20ec3ca008ef3ad13058c52 +DIST vivaldi-snapshot_3.6.2165.22-1_armhf.deb 68599120 BLAKE2B e594ec892c437016bf6be06b516b09167baeaea0def10deaf983f4eded12adb031b6c82806ce088a3557b3af048945e23be56cc4e5ea842da177a940d1cf1b82 SHA512 16e8255e3650a54d747ff2a30f6a41d717ac5969bc672068a13d13c7ca4341bccb147c688d68673cab33166fc3fdaad0c1e164771b81abab7bcc5290d7ab104c +DIST vivaldi-snapshot_3.6.2165.22-1_i386.deb 74260324 BLAKE2B d2ac290079a5186ee6a2ee3902140b9a8e7e481c6083726584a722b032f23561a33517d4d91592edb5523c59e3f60f3759c925aff704c6009aca73b4be4229e7 SHA512 4627e881b17600a7d49f493be2365070161b6c86eb71c56862ad2dfaee2ca71e46f7db9b182342c36e51c7f4d5dcbfff538035fe321399d0ef64ad286451c8d7 DIST vivaldi-snapshot_3.6.2165.3-1_amd64.deb 77545364 BLAKE2B af19ff89ad46e3544bb93f8dfcde000e3b503ff237fa67c1a95a7216bda310e5626f9484ee2dc2bfcf9f8f04145d2be350373a39fc34e8a2eab76c9e151c74cf SHA512 8f53df219c56a378f6f8bdbf658dd91bdd8c4498b9cea496f2cf39af41aca81f359f7be5b24af6ee5a05429ae1c77f5cae264e22da61320f1d67ec6ce49142d6 DIST vivaldi-snapshot_3.6.2165.3-1_arm64.deb 69192596 BLAKE2B a5bb6f2b4989bf8e2139353cfdab0cd0eeea1b88484ada1b12370201519f469dabab257e9147c0e170272966f1ccaf86961b1e479aafd8d82b97c3fba93f1f9f SHA512 7beee64499d70fdf74ccdcc10e5cf2c135b74d8c0337850d7e2244e951d50d4fc932cf9af947135a37d7251d918abee51fd8a0652c2d0db5e141730e8a122beb DIST vivaldi-snapshot_3.6.2165.3-1_armhf.deb 68624428 BLAKE2B 15e482ce38b54379830133e0602049786182e944ce5c3838baa9818ef79609d7af8e8c5d601b3e1e5fea5e31b8c2619fea21796ac462ef5eb9c73254cabcfe75 SHA512 729118f519964b8bc33419a6bbf0f7e79ec471b3a1a29b956a5e4123b37c585e3a20304c9e3cd7f60d40b0308abe4c14973775a3c17c77fd4470ab567991a536 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.22.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.22.ebuild new file mode 100644 index 00000000000..e3d12da4e30 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2165.22.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2021 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 desktop unpacker xdg + +VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" + +if [[ ${PV} = *_p* ]]; then + DEB_REV="${PV#*_p}" +else + DEB_REV=1 +fi + +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" +IUSE="proprietary-codecs widevine" +RESTRICT="bindist mirror" + +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] + proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +S="${WORKDIR}" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + # Rename docs directory to our needs. + mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die + + # Decompress the docs. + gunzip usr/share/doc/${PF}/changelog.gz || die + + # The appdata directory is deprecated. + mv usr/share/{appdata,metainfo}/ || die + + # Remove cron job for updating from Debian repos. + rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die + rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die + + # Remove scripts that will most likely break things. + rm ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die + + pushd ${VIVALDI_HOME}/locales > /dev/null || die + rm ja-KS.pak || die # No flag for Kansai as not in IETF list. + chromium_remove_language_paks + popd > /dev/null || die + + if use proprietary-codecs; then + rm ${VIVALDI_HOME}/lib/libffmpeg.so || die + rmdir ${VIVALDI_HOME}/lib || die + fi + + eapply_user +} + +src_install() { + mv */ "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox + + local logo size + for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do + size=${logo##*_} + size=${size%.*} + newicon -s "${size}" "${logo}" ${PN}.png + done + + if use proprietary-codecs; then + dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so \ + /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2) + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ + /${VIVALDI_HOME}/WidevineCdm + else + rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die + fi + + [[ ${PN} = vivaldi-snapshot ]] && + dosym ${PN} /${VIVALDI_HOME}/vivaldi +}