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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EBA24158020 for ; Tue, 13 Dec 2022 20:40:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 544E9E0886; Tue, 13 Dec 2022 20:40:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3AC3EE0886 for ; Tue, 13 Dec 2022 20:40:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6DF54341064 for ; Tue, 13 Dec 2022 20:40:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCA18780 for ; Tue, 13 Dec 2022 20:40:20 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1670964017.b40a802546a33509400fa024e2574a58900a9bdb.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vscodium/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/vscodium/Manifest app-editors/vscodium/vscodium-1.74.0.22342.ebuild X-VCS-Directories: app-editors/vscodium/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: b40a802546a33509400fa024e2574a58900a9bdb X-VCS-Branch: master Date: Tue, 13 Dec 2022 20:40:20 +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: 821311c6-95fb-46bc-b911-8f4e5564c55b X-Archives-Hash: 4e77dfabd2f927588e1ac436e0707bd2 commit: b40a802546a33509400fa024e2574a58900a9bdb Author: Arthur Zamarin gentoo org> AuthorDate: Tue Dec 13 20:38:58 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Dec 13 20:40:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b40a8025 app-editors/vscodium: add 1.74.0.22342 Signed-off-by: Arthur Zamarin gentoo.org> app-editors/vscodium/Manifest | 3 + app-editors/vscodium/vscodium-1.74.0.22342.ebuild | 121 ++++++++++++++++++++++ 2 files changed, 124 insertions(+) diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 270ff1ea88f9..93f2585714f1 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -7,3 +7,6 @@ DIST vscodium-1.73.0.22306-arm64.tar.gz 112892547 BLAKE2B 81cbaa37d557d2e67eab28 DIST vscodium-1.73.1.22314-amd64.tar.gz 119819615 BLAKE2B 5937f0cdb22098eef709c84ca1f9efd9a7af094e8d1a236385d79ccba7499224b7097429b8ecdbb17ee7b879790557fd069bda1094c9dd3a5cd3ae34b92b6e73 SHA512 ab92cdceebbf6352b9c0f882f79d2c3d4c2d7ee301b7942dd703ad02406b9fcec9bdac3eb2c46cc921b21d5170780404f72b961a33a91fcbfa630daa29da7262 DIST vscodium-1.73.1.22314-arm.tar.gz 101865243 BLAKE2B b414e5a07b8dd1b64e260227abc6771a864c7604161e7df6a7c4ed865fbda8f500f4d0734d0b87e13e6f0a9ea5a5a93ece551c0ce1cc7a320c71b9a12ebc7dfc SHA512 4f1c03941922b6e5e0c8c846a2f9a7435ed697b83006841492d9622901e83b5b39812a6c8c053fc856ec92060bbb0fab3509f34c5dc147cd4a35f651efa79fa0 DIST vscodium-1.73.1.22314-arm64.tar.gz 112895655 BLAKE2B 78889f118f2c6eccd14a365c7224775ba1e078eb9c65feffc8919493d06e36f4abf007b5596b354eebd1c0ae94cdaa4e11acf0add494d38d82bf334adfc5ec36 SHA512 c7bd117dcbbe03117befe73e112fffd3c754ca921e3b37b3b4fd78b0e1689201c5e7cd39ad206a7dd157565664536d493701bc583d870b28d01d9abd18016e96 +DIST vscodium-1.74.0.22342-amd64.tar.gz 121392818 BLAKE2B d2fa5baa17ff3e1b77d7086cab0c38b3de7e35e0eac131408b8e2d34ae6578300622fac1d419024903c3e32367eb4fb872410e647b83c90cf76621898472d0e7 SHA512 8e254d411f91636b77086ee9f491e0179348fd26aaf149d3fa5af61770aabb7062bbb3574ae3dd27fd891e2877279719f0b37e6023151b7d4d8f6af9b5a5d774 +DIST vscodium-1.74.0.22342-arm.tar.gz 103442460 BLAKE2B 9deddff7c84a03b466de29caf8ca43c5b8ad4277ca4cee72171eed3acb37d1b49f27e6c6fe658d04b61840008c77ef581e2bba76c677482f851f6e1981991a59 SHA512 1396d573f2fa02406f8b62a94e0fab19a5989dc4baffa77c6c60f81fed6e6a723a0a786ac5fff833c1ee1ce9d38be20e4f7078a05a0d844703c9477c3051d168 +DIST vscodium-1.74.0.22342-arm64.tar.gz 114462026 BLAKE2B 56f965056b826868e3c89c54760a5dfe16842c93c09bd67b00a12a19645ee10722e34a5b7d32b029967f73cfbf8035f96a61d30823e9308993bd20442804c869 SHA512 c03c6b2a486b0ec1101f62b94322e027a9416cf4d93c286024ae31e83e81237a503e52f63ef0828d38eb4d97cd49a58288128f7472def01d2231d454751409c9 diff --git a/app-editors/vscodium/vscodium-1.74.0.22342.ebuild b/app-editors/vscodium/vscodium-1.74.0.22342.ebuild new file mode 100644 index 000000000000..64ee4a6f829e --- /dev/null +++ b/app-editors/vscodium/vscodium-1.74.0.22342.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" +HOMEPAGE="https://vscodium.com/" +SRC_URI=" + amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz ) + arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz ) + arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz ) +" + +RESTRICT="strip bindist" + +LICENSE=" + Apache-2.0 + BSD + BSD-1 + BSD-2 + BSD-4 + CC-BY-4.0 + ISC + LGPL-2.1+ + MIT + MPL-2.0 + openssl + PYTHON + TextMate-bundle + Unlicense + UoI-NCSA + W3C +" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +IUSE="" + +RDEPEND=" + || ( + >=app-accessibility/at-spi2-core-2.46.0:2 + ( app-accessibility/at-spi2-atk dev-libs/atk ) + ) + app-crypt/libsecret[crypt] + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/util-linux + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libxshmfence + x11-libs/pango +" + +QA_PREBUILT=" + /opt/vscode/bin/code-tunnel + /opt/vscodium/chrome_crashpad_handler + /opt/vscodium/chrome-sandbox + /opt/vscodium/codium + /opt/vscodium/libEGL.so + /opt/vscodium/libffmpeg.so + /opt/vscodium/libGLESv2.so + /opt/vscodium/libvk_swiftshader.so + /opt/vscodium/libvulkan.so* + /opt/vscodium/resources/app/extensions/* + /opt/vscodium/resources/app/node_modules.asar.unpacked/* + /opt/vscodium/swiftshader/libEGL.so + /opt/vscodium/swiftshader/libGLESv2.so +" + +S="${WORKDIR}" + +src_install() { + # Cleanup + rm "${S}/resources/app/LICENSE.txt" || die + + # Disable update server + sed -i "/updateUrl/d" "${S}"/resources/app/product.json || die + + # Install + pax-mark m codium + insinto "/opt/${PN}" + doins -r * + fperms +x /opt/${PN}/{,bin/}codium + fperms +x /opt/${PN}/chrome_crashpad_handler + fperms 4711 /opt/${PN}/chrome-sandbox + fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor}{,-empty}.sh + fperms -R +x /opt/${PN}/resources/app/out/vs/base/node + fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg + dosym "../../opt/${PN}/bin/codium" "usr/bin/vscodium" + dosym "../../opt/${PN}/bin/codium" "usr/bin/codium" + domenu "${FILESDIR}/vscodium.desktop" + domenu "${FILESDIR}/vscodium-url-handler.desktop" + domenu "${FILESDIR}/vscodium-wayland.desktop" + domenu "${FILESDIR}/vscodium-url-handler-wayland.desktop" + newicon "resources/app/resources/linux/code.png" "vscodium.png" +} + +pkg_postinst() { + xdg_pkg_postinst + elog "When compared to the regular VSCode, VSCodium has a few quirks" + elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md" + optfeature "keyring support inside vscode" "gnome-base/gnome-keyring" +}