From 9403b1a3068b3e690abee572dab5730bacf64fce Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 10 Oct 2024 10:18:34 +0200 Subject: app-editors/vscodium: add 1.94.0.24281, drop 1.93.1.24256 --- app-editors/vscodium/Manifest | 8 +- app-editors/vscodium/vscodium-1.93.1.24256.ebuild | 119 ---------------------- app-editors/vscodium/vscodium-1.94.0.24281.ebuild | 119 ++++++++++++++++++++++ 3 files changed, 123 insertions(+), 123 deletions(-) delete mode 100644 app-editors/vscodium/vscodium-1.93.1.24256.ebuild create mode 100644 app-editors/vscodium/vscodium-1.94.0.24281.ebuild (limited to 'app-editors/vscodium') diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index acd540e..656cbea 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -1,7 +1,7 @@ AUX vscodium-url-handler.desktop 334 BLAKE2B 3e089403de3df453f9c35737911846105ebee07ba17cd61443f739a035755a3b17b7a76f54231950bb4d752e0853a1e920dc489487ed3b12230dbe96037e833b SHA512 548b2df53ee5975e543a8ce5f8ac48bcc5878a86e7b6759d8e6d6d5cf7a126d91326f801a3c3548b7390dc9113b9bf37ecc38276ddd0b3354c4be8ab58b466fa AUX vscodium.desktop 519 BLAKE2B 9bb65cb1b0618deba7db401f314f00611970eb34a82988f349d215759aba195c3d61b51f1e2f1e58ecef0fff952d68a25551a55d75c44a817d8de6dd65562732 SHA512 12db368ca425b707e6c0d9437e987aa0e5a773ac3f8fe51c5aec8eb82768dec0494988a0fef1a8be781e238d9fb9dd22097166ac8eea924154d7481998b0c18e -DIST vscodium-1.93.1.24256-amd64.tar.gz 131547349 BLAKE2B a1061b739e51e55c6570171f85982cadab7474e44ef797ea77f4fb7278d2b5360446369e4342969aae55840766978afbdbb4c73c2794a8a470242c4254b7c916 SHA512 5a7bc33613e5dc1f53c91b907a15544af6d57897bcf9a9493ed477496e8a30eea587f36c65403ded809b866ec2853014b9fb3cb3ed0ab51736390e008f00fbb5 -DIST vscodium-1.93.1.24256-arm.tar.gz 119891939 BLAKE2B fde94eb14c87a52079866aaf8b0d9326417f59706ef6ce1e2ebace42952d9773a87b0c1ab8fded9936401ec5d6547027f25c21a47c8beb83b8bf050965944170 SHA512 55c642834551f88be9a6c50e5f98e206043670725ad166fb9f5f9ca11559b01cdd6e0433d72c66c2ec5b10b5390ff2d7d17a68369c2d53d022f6673e7ecb4893 -DIST vscodium-1.93.1.24256-arm64.tar.gz 131494186 BLAKE2B 62715b6aa8f42dd76b8d3daad7a2bbb0d61612a631e0f34e1db309d4cdad41c4dcbe3dc2eb429a12bcebeb0dc71e437dd566910c3e10d536abadc9522b2e48e8 SHA512 468815c0e5c27ad397da5c6c99aa1a37a22ec3072d35fbd3e0d67a79233688a01104f43db69833f88bf8124b1532766eaac2cee61ffd70450780d5641206de87 -EBUILD vscodium-1.93.1.24256.ebuild 2808 BLAKE2B efdcf8573ce1a07ec828e9cd9169add6c03e2185e47a5347ecfe99b66d0d448a4885d566982150ef8c1ddd0cda8462200cdfa2d95bea27e94bd8c241ca5103fe SHA512 ea3f092776cdb39fbc38a8634dd70346242309e71c30b287b11b02d37f69605c784e8c2ed199c0ca36cc8c4ab42ebb5cebbcadc0264f0ac9b9d73fa3938d6f4f +DIST vscodium-1.94.0.24281-amd64.tar.gz 130452164 BLAKE2B 7ce5a04313b00f9dd71e44b5ef73d1607964652569476540012114a1a6151ce5d01f89ed034f272f1ad43e5db554e102af55b301d43d160523ebcb6a4fc9a192 SHA512 4bdb44ea95c3332b2c3b566574353afd9526db09e34a6deef6e6c1af4daa99415ca996967e59099b978b8a2d016edcb447ea26993ccbe71d6d6d535d5c1c8f4d +DIST vscodium-1.94.0.24281-arm.tar.gz 118802288 BLAKE2B be3b5920ef79dae480872e64ac31e41feea33e70562750dfd4313f8edfa18106380ee12b4b1f04dbaef68011c5e25b09bc41a25969d5ab6a9a2b4d12aff02919 SHA512 d5f18667053b2f2812a2648d17c5fafd9f41f577e263d6b8e16561fa898bf6b90dbd89405c847db52cef328ff7018465338515ca64d8dd331a801361ecdcc035 +DIST vscodium-1.94.0.24281-arm64.tar.gz 130387346 BLAKE2B a1bc80624a0b6535dc1fceda94de361a1c1bcfc930c1d2874fd2eb82677b4ed0093b1f9e81ae70992d316b93e6ff6148369f2cde5b3c7d5103e8086c6c01b5ce SHA512 e6178563d723d83d45b07200508095b85bc633ef5e0ed3eb502e0b1ccb38e1674d65eb6a26cfdf04fb8073de284c8bb878fc3a13cb6c131ecbb6d6b6c4de6b65 +EBUILD vscodium-1.94.0.24281.ebuild 2794 BLAKE2B db1ea0aebe3c72dfae39918ae60eab2e72f1d2d21cb88a32578eb89ded4a9f89c8b1e672d41d310dcc0af82ae39490a634b4279ccd72343ecf1c8f120dc7031e SHA512 f6553ffc8cb3c58ea18fa0c9e232b9bdba5b07d085be54be3be3a47ea842ec6948dc0ba3a3c0a2cbd50ac799e2f007c58dc0ee1cb8a55dc8bee57cd81bf64832 MISC metadata.xml 1009 BLAKE2B b6d55ed2217637eac68413eb685a6219a38f80e0b4698877a0bc4d88e65f42c4fcbbd2ea50e810aadbda1de65df85fd724ee1b2ad7ef29dbc3f871efcd7069bf SHA512 c3edf84c187732debc55b847c7e707df13f8dfeffca06312ada10c531ec37d83c137e28db2f288b1b8a61ac5851754b52ba66866048a3765c689bcdc4f85ff7a diff --git a/app-editors/vscodium/vscodium-1.93.1.24256.ebuild b/app-editors/vscodium/vscodium-1.93.1.24256.ebuild deleted file mode 100644 index 9f4deaf..0000000 --- a/app-editors/vscodium/vscodium-1.93.1.24256.ebuild +++ /dev/null @@ -1,119 +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) -" -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" -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.asar.unpacked/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.94.0.24281.ebuild b/app-editors/vscodium/vscodium-1.94.0.24281.ebuild new file mode 100644 index 0000000..9535316 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.94.0.24281.ebuild @@ -0,0 +1,119 @@ +# 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) +" +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" +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