From 37efd0930b454a82bdf1e39ed5c049ea10260b8c Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 24 Jan 2025 10:16:55 +0100 Subject: app-editors/vscodium: add 1.96.4.25017, drop 1.96.2.24355 --- app-editors/vscodium/Manifest | 10 +- app-editors/vscodium/vscodium-1.96.2.24355.ebuild | 120 ---------------------- app-editors/vscodium/vscodium-1.96.4.25017.ebuild | 120 ++++++++++++++++++++++ 3 files changed, 125 insertions(+), 125 deletions(-) delete mode 100644 app-editors/vscodium/vscodium-1.96.2.24355.ebuild create mode 100644 app-editors/vscodium/vscodium-1.96.4.25017.ebuild diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index b6a043e..95658ce 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -1,8 +1,8 @@ AUX vscodium-url-handler.desktop 334 BLAKE2B 3e089403de3df453f9c35737911846105ebee07ba17cd61443f739a035755a3b17b7a76f54231950bb4d752e0853a1e920dc489487ed3b12230dbe96037e833b SHA512 548b2df53ee5975e543a8ce5f8ac48bcc5878a86e7b6759d8e6d6d5cf7a126d91326f801a3c3548b7390dc9113b9bf37ecc38276ddd0b3354c4be8ab58b466fa AUX vscodium.desktop 517 BLAKE2B dff4d6ebc64b2a937c2c3081239e88af85a61ca47efddafa5bc7f8e1da0da98248d0d81ee295e70c33548a29c6200678319ed9887bc22d2435c5abd63ea26f2c SHA512 8230df8c2fe2c1f5118687addb413beaa871ff989bcb76922812ee580162b6e0cc61445a905e0466ee2ff81668fcc651cb00a78f23aba6d882122dd6fd57c65d -DIST vscodium-1.96.2.24355-amd64.tar.gz 136733609 BLAKE2B 1033f3a58725c7ec0b1264a51a10fbb448b4c70c30b60e6aa63b8e72aeb0d14d64d1b9be4ff44ce7ee67915de6c79dde07125e22f9420b715ae79cf3dc6a20a1 SHA512 d3d8f150da9382a3a94a9fefab4c42d15ff23949e2e7f153f9e92ae48d3dc9c3322a547fdc5837b7c4511bf73caa2d993b6d59717307d31e1e587a108b183551 -DIST vscodium-1.96.2.24355-arm.tar.gz 122782157 BLAKE2B ab20f464ebb9406d68643998d9e5d6aa29ca1482705f763d1c24458b0295e9bc7ef1022ed41e59e507e5b6032425e9d69c2cefcf45e40359747a669ab5de9c4f SHA512 bdedec06c3cfd9954754706c3b69da8cb8e8cbfe17517816964aba8475a6fcc2ebba248f8310ad098ca73323e7057d2d2263dfd719b44177eb8566fc1c65c0bd -DIST vscodium-1.96.2.24355-arm64.tar.gz 134688898 BLAKE2B 873c01669c79f754ad5ca892afc0f09cba5c2423aad107ca99fc8197469921dc94e97df3d5c773635c497e7c67b43a71361cfd6fd05f16c41ef148b0ca3ac511 SHA512 cd2802cc250fc5cdfd41df7244c7629ace31c219f5ca132030b0a506b62b154c409cc44629212026e927fd83d54a60ade25e0df0572262f1c3358db4873e3700 -DIST vscodium-1.96.2.24355-loong.tar.gz 142669704 BLAKE2B 7241b0855e39d947b9fbb2797171db916dd95beed4799abe9335344d3ac9869daf0fc2d050dd242ae9a391042a0c1e8f7c64e6d42c5260a11155137c35f0477f SHA512 ff0f0706a111f896c7411808d2a4c2c93fde60f8bd9ccb40936f5ac0a6a7dc1e6159ce19c4f1956d2de94b71574133e29bcd329065f78d0c8c58adc9ea464e07 -EBUILD vscodium-1.96.2.24355.ebuild 2832 BLAKE2B 2f25240bfac7a1b4d57e6eec116127395c3d68098c57f753bd7e4277d50903154e8947ca4771526c96f230c1665d205bde9ab732a93148002f732485c0b45369 SHA512 357bbe920c1d51c992de638f9642c7a10bb6fce1a278c97dc40ed8dbfa6448c5f8e7b9bd67b5c899303e1522bab87edd75424e01883e159ccc81bfd5326e48b9 +DIST vscodium-1.96.4.25017-amd64.tar.gz 136744379 BLAKE2B 026a3ddb4fd9e8e7fc5fc0d6f6f4ddae1d9eb082d24774bbc87d298a93aa767b0eaf504ef11a703119888e93389dd279c399e31862fcd95de7b8ce33e5f9485f SHA512 77fbf2841669b3b0c37514cce22e4d9263febc3df242248a87d68284ef3b6fcc93e8d9d6066ae25fce71b85d7b0cd38ae15ce62ea311f141f18da0a8b7b7019f +DIST vscodium-1.96.4.25017-arm.tar.gz 122803904 BLAKE2B 4cbdb76f6506a2027b62de42d9c78104498dc29318a7c1dc5c0dcfd7c04b22f3f054b14a0394dea06f05b5d682c55ef6c54f0e45e8225f62de3b3920d61d997a SHA512 cb57aa02b7a888ff1b66708ce714bd4b53c48f665398c6ae26745c35017cfd823bb2ab499d03ca390c6d37ac98b650ea57d38420faa5efa0f48c2b8478afad61 +DIST vscodium-1.96.4.25017-arm64.tar.gz 134709728 BLAKE2B c490f8ce89a8978c6a1b7a6d770e34190348558f52c30d0389a632a110ca9ce8e59e495755684258737725249f61cf4a9aa54cec0358106975c34ceccb79d1eb SHA512 bbd7b3f10d72336d8ad130d7ad575590eb9c8c74d48f61c0f77e73676c923ff8d7892cb44fb730ecc1850b53676bf1ad22c43333b1a609b56204cfdea06322b9 +DIST vscodium-1.96.4.25017-loong.tar.gz 142672651 BLAKE2B 5d176dcbd52fb9bc3aa8d5c1295ae7b94f8ea8f1b552de5a0e88af8d06a513d1fbb63be4cbe6fc76ca57b7bce41e24f18b10101c96efa50d3ea644df8a7f50bd SHA512 6ab8eee14fa371580e34b022096742b9aba3cfdd679c78d73ad92d27d6dc67d51d85baeebc2dcd6ab544fb290ea699442961fe66069d8baa6d3ae2c6b7e172d4 +EBUILD vscodium-1.96.4.25017.ebuild 2832 BLAKE2B 2f25240bfac7a1b4d57e6eec116127395c3d68098c57f753bd7e4277d50903154e8947ca4771526c96f230c1665d205bde9ab732a93148002f732485c0b45369 SHA512 357bbe920c1d51c992de638f9642c7a10bb6fce1a278c97dc40ed8dbfa6448c5f8e7b9bd67b5c899303e1522bab87edd75424e01883e159ccc81bfd5326e48b9 MISC metadata.xml 1009 BLAKE2B b6d55ed2217637eac68413eb685a6219a38f80e0b4698877a0bc4d88e65f42c4fcbbd2ea50e810aadbda1de65df85fd724ee1b2ad7ef29dbc3f871efcd7069bf SHA512 c3edf84c187732debc55b847c7e707df13f8dfeffca06312ada10c531ec37d83c137e28db2f288b1b8a61ac5851754b52ba66866048a3765c689bcdc4f85ff7a diff --git a/app-editors/vscodium/vscodium-1.96.2.24355.ebuild b/app-editors/vscodium/vscodium-1.96.2.24355.ebuild deleted file mode 100644 index e609f58..0000000 --- a/app-editors/vscodium/vscodium-1.96.2.24355.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop pax-utils xdg optfeature - -# Usage: arch_src_uri -arch_src_uri() { - echo "${1}? ( - https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-${2}-${PV}.tar.gz - -> ${P}-${1}.tar.gz - )" -} - -DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" -HOMEPAGE="https://vscodium.com/" -SRC_URI=" - $(arch_src_uri amd64 x64) - $(arch_src_uri arm armhf) - $(arch_src_uri arm64 arm64) - $(arch_src_uri loong loong64) -" -S="${WORKDIR}" - -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 ~loong" -IUSE="wayland" -RESTRICT="strip bindist" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - app-crypt/libsecret[crypt] - app-misc/ca-certificates - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/libglvnd - media-libs/mesa - net-misc/curl - sys-libs/zlib - x11-libs/cairo - 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/pango - x11-misc/xdg-utils -" - -QA_PREBUILT="*" - -src_install() { - # Cleanup license file - it exists only in amd64 tarball - rm -f "${S}/resources/app/LICENSE.txt" || die - rm -r "${S}/resources/app/node_modules/kerberos" || die - - # Fix wrong desktopName, https://github.com/VSCodium/vscodium/issues/1901 (not flatpak-specific) - sed -i "s|codium-url-handler\.desktop|vscodium.desktop|g" "${S}/resources/app/package.json" || die - - # Install - pax-mark m codium - mkdir -p "${ED}/opt/${PN}" || die - cp -r . "${ED}/opt/${PN}" || die - fperms 4711 /opt/${PN}/chrome-sandbox - - dosym -r "/opt/${PN}/bin/codium" "usr/bin/vscodium" - dosym -r "/opt/${PN}/bin/codium" "usr/bin/codium" - - local EXEC_EXTRA_FLAGS=() - if use wayland; then - EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" ) - fi - - sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ - "${FILESDIR}/vscodium-url-handler.desktop" \ - > "${T}/vscodium-url-handler.desktop" || die - - sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ - "${FILESDIR}/vscodium.desktop" \ - > "${T}/vscodium.desktop" || die - - domenu "${T}/vscodium.desktop" - domenu "${T}/vscodium-url-handler.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/index.md" - optfeature "keyring support inside vscode" "virtual/secret-service" -} diff --git a/app-editors/vscodium/vscodium-1.96.4.25017.ebuild b/app-editors/vscodium/vscodium-1.96.4.25017.ebuild new file mode 100644 index 0000000..e609f58 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.96.4.25017.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +# Usage: arch_src_uri +arch_src_uri() { + echo "${1}? ( + https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-${2}-${PV}.tar.gz + -> ${P}-${1}.tar.gz + )" +} + +DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" +HOMEPAGE="https://vscodium.com/" +SRC_URI=" + $(arch_src_uri amd64 x64) + $(arch_src_uri arm armhf) + $(arch_src_uri arm64 arm64) + $(arch_src_uri loong loong64) +" +S="${WORKDIR}" + +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 ~loong" +IUSE="wayland" +RESTRICT="strip bindist" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/libglvnd + media-libs/mesa + net-misc/curl + sys-libs/zlib + x11-libs/cairo + 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/pango + x11-misc/xdg-utils +" + +QA_PREBUILT="*" + +src_install() { + # Cleanup license file - it exists only in amd64 tarball + rm -f "${S}/resources/app/LICENSE.txt" || die + rm -r "${S}/resources/app/node_modules/kerberos" || die + + # Fix wrong desktopName, https://github.com/VSCodium/vscodium/issues/1901 (not flatpak-specific) + sed -i "s|codium-url-handler\.desktop|vscodium.desktop|g" "${S}/resources/app/package.json" || die + + # Install + pax-mark m codium + mkdir -p "${ED}/opt/${PN}" || die + cp -r . "${ED}/opt/${PN}" || die + fperms 4711 /opt/${PN}/chrome-sandbox + + dosym -r "/opt/${PN}/bin/codium" "usr/bin/vscodium" + dosym -r "/opt/${PN}/bin/codium" "usr/bin/codium" + + local EXEC_EXTRA_FLAGS=() + if use wayland; then + EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" ) + fi + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/vscodium-url-handler.desktop" \ + > "${T}/vscodium-url-handler.desktop" || die + + sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \ + "${FILESDIR}/vscodium.desktop" \ + > "${T}/vscodium.desktop" || die + + domenu "${T}/vscodium.desktop" + domenu "${T}/vscodium-url-handler.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/index.md" + optfeature "keyring support inside vscode" "virtual/secret-service" +} -- cgit v1.2.3-2-gb3c3