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 CCD0F13835C for ; Tue, 19 Jan 2021 13:44:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F41F6E08A8; Tue, 19 Jan 2021 13:44:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 D0DABE08A8 for ; Tue, 19 Jan 2021 13:44:23 +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 2130E340E29 for ; Tue, 19 Jan 2021 13:44:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC3D24A2 for ; Tue, 19 Jan 2021 13:44:19 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1610992933.479416efd5e6e2098e0ef0788b45a3dcab60bb8e.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-editors/vscodium-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-editors/vscodium-bin/Manifest app-editors/vscodium-bin/metadata.xml app-editors/vscodium-bin/vscodium-bin-1.52.1.ebuild X-VCS-Directories: app-editors/vscodium-bin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 479416efd5e6e2098e0ef0788b45a3dcab60bb8e X-VCS-Branch: master Date: Tue, 19 Jan 2021 13:44:19 +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: 15d60a85-a119-4dff-a1e3-bac127a70bb8 X-Archives-Hash: 5486336acc40d055bd186fe20ce118f0 commit: 479416efd5e6e2098e0ef0788b45a3dcab60bb8e Author: Maciej Barć protonmail com> AuthorDate: Mon Jan 18 17:55:49 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Jan 18 18:02:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=479416ef app-editors/vscodium-bin: add myself to maintainers; unbundle ripgrep Also fix permissions of installed scripts to /opt/vscodium/resources/app/out/vs/base/node, remove ARM32 support because ripgrep is not available on the "arm" profile, add conditional libsecret USE flag, restrict test, add description from "https://vscodium.com", add upstream, Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Maciej Barć protonmail.com> app-editors/vscodium-bin/Manifest | 1 - app-editors/vscodium-bin/metadata.xml | 22 ++++++++-- .../vscodium-bin/vscodium-bin-1.52.1.ebuild | 50 ++++++++++++---------- 3 files changed, 46 insertions(+), 27 deletions(-) diff --git a/app-editors/vscodium-bin/Manifest b/app-editors/vscodium-bin/Manifest index cbf5b35c..5d1f6190 100644 --- a/app-editors/vscodium-bin/Manifest +++ b/app-editors/vscodium-bin/Manifest @@ -1,3 +1,2 @@ DIST VSCodium-linux-arm64-1.52.1.tar.gz 99006948 BLAKE2B 933e5b283e011873b7da60a838e7778d8ff1cf69006e5bf370fdeba7aa6709c2b8ea427936d353c75c0331d1a78defb7c0983d73d59c71163cde6ca32cf1ac32 SHA512 e96c79b1176a07f6cbd1a1d30d4a4d0d66d519d854bc0aa0e24e9baa4b0f6fe959e12b4888330188210957763febc644601f958b635deaa7e900f55f0eb5550f -DIST VSCodium-linux-armhf-1.52.1.tar.gz 85288104 BLAKE2B 3df56d4708f44e5029a9cfed05185957951ead696885f16e8d3da8587f812f9e088e37e2b355157989a0e272661f367a1bd2d70cfbc7953a1f07f166b7b8292d SHA512 ffd5b2b476896d4aed67ed0bd157ca14819f493534c9e15eba247998becb06042c6c0caa88ee2db7e76529da252dac57c43c86371430b57a5819ce392cdcdcb5 DIST VSCodium-linux-x64-1.52.1.tar.gz 96026417 BLAKE2B 0d06ddef0de3af3d22de4757bd5b81742cdfb6605192c61374857fdacfd8df374adf180aaa1f31f0397ead97e7f668320125ef1f806c71689348ac4a3c8bab8d SHA512 9a60f6821e7a796eaca842817fd3853c8099d74418ccabeacabed01c4f7b46b49c52bb11a032c317c27e3cef7ef2c49d2cf967ca2d2d79013790994a6aa9159f diff --git a/app-editors/vscodium-bin/metadata.xml b/app-editors/vscodium-bin/metadata.xml index 2a0f0b7f..dfc5f239 100644 --- a/app-editors/vscodium-bin/metadata.xml +++ b/app-editors/vscodium-bin/metadata.xml @@ -5,9 +5,23 @@ rossbridger.cc@gmail.com Ross Charles Campbell - -This is not a fork. This is a repository of scripts to automatically -build Microsoft's vscode repository into freely-licensed binaries with -a community-driven default configuration. + + xgqt@protonmail.com + Maciej Barć + + + Enable libsecret support + + + VSCodium/vscodium + + + Microsoft’s vscode source code is open source (MIT-licensed), + but the product available for download (Visual Studio Code) + is licensed under this not-FLOSS license + and contains telemetry/tracking. + The VSCodium project exists so that you don’t have to download+build + from source. These binaries are licensed under the MIT license. + Telemetry is disabled. diff --git a/app-editors/vscodium-bin/vscodium-bin-1.52.1.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.52.1.ebuild index c18d9b7b..e05dd8ce 100644 --- a/app-editors/vscodium-bin/vscodium-bin-1.52.1.ebuild +++ b/app-editors/vscodium-bin/vscodium-bin-1.52.1.ebuild @@ -9,52 +9,58 @@ MY_PN="${PN/-bin}" DESCRIPTION="Free/Libre Open Source Software Binaries of VSCode" HOMEPAGE="https://vscodium.com" - SRC_URI=" - amd64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz ) - arm? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz ) - arm64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz )" - -RESTRICT="strip bindist" + amd64? ( + https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz + ) + arm64? ( + https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz + ) +" +RESTRICT="bindist strip test" LICENSE="MIT" SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64" +KEYWORDS="-* ~amd64 ~arm64" +IUSE="libsecret" RDEPEND=" app-accessibility/at-spi2-atk - app-crypt/libsecret[crypt] dev-libs/nss media-libs/libpng:0/16 + sys-apps/ripgrep x11-libs/cairo x11-libs/gtk+:3 - x11-libs/libnotify x11-libs/libXScrnSaver x11-libs/libXtst - x11-libs/pango" + x11-libs/libnotify + x11-libs/pango + libsecret? ( app-crypt/libsecret[crypt] ) +" -QA_PRESTRIPPED="*" +S="${WORKDIR}" -QA_PREBUILT=" - opt/${MY_PN}/codium - opt/${MY_PN}/libEGL.so - opt/${MY_PN}/libffmpeg.so - opt/${MY_PN}/libGLESv2.so - opt/${MY_PN}/libvk_swiftshader.so - opt/${MY_PN}/libvulkan.so - opt/${MY_PN}/swiftshader/libEGL.so - opt/${MY_PN}/swiftshader/libGLESv2.so" +src_prepare() { + default -S="${WORKDIR}" + # Unbundle ripgrep + rm "resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" || die +} src_install() { pax-mark m codium insinto "/opt/${MY_PN}" doins -r * - fperms +x /opt/${MY_PN}/{,bin/}codium dosym "../../opt/${MY_PN}/bin/codium" "usr/bin/codium" + domenu "${FILESDIR}/codium.desktop" domenu "${FILESDIR}/codium-url-handler.desktop" + + fperms +x /opt/${MY_PN}/{,bin/}codium + fperms +x /opt/${MY_PN}/chrome-sandbox + fperms -R +x /opt/${MY_PN}/resources/app/out/vs/base/node + + dosym "../../../../../../../usr/bin/rg" "${EPREFIX}/opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" dodoc resources/app/LICENSE.txt resources/app/ThirdPartyNotices.txt newicon resources/app/resources/linux/code.png ${MY_PN}.png }