From 3b95575a6143d312ab2d7f395128e4c5574c7aa9 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 24 Feb 2024 19:58:38 +0100 Subject: app-editors/vscodium: add 1.86.2.24054, drop 1.86.2.24053 --- app-editors/vscodium/Manifest | 4 +- app-editors/vscodium/vscodium-1.86.2.24053.ebuild | 116 ---------------------- app-editors/vscodium/vscodium-1.86.2.24054.ebuild | 116 ++++++++++++++++++++++ 3 files changed, 118 insertions(+), 118 deletions(-) delete mode 100644 app-editors/vscodium/vscodium-1.86.2.24053.ebuild create mode 100644 app-editors/vscodium/vscodium-1.86.2.24054.ebuild (limited to 'app-editors') diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 31872cf..88467d7 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -2,6 +2,6 @@ AUX vscodium-url-handler-wayland.desktop 383 BLAKE2B c3e281318290826ce9451fe517b AUX vscodium-url-handler.desktop 315 BLAKE2B b514551e6256cb444f13bfda86a9e164ed926d8aedbfcb7de3a6b1c3d3c2e465c0ee158c74626814908a153c5f801434952865a708c89ffdf64bce24a83fcc20 SHA512 afcf89af009361b409330a223696013e1ee8973bc3b3068e778fb05c3355fed66063bd537a66685d6ad3578c2808532d4b9c5273a291c7d2f3a9c0b2f997f152 AUX vscodium-wayland.desktop 609 BLAKE2B 1b25dc9e98b5a12a10f85001b9c5acc9325368a2310a7d1e2aad20e22ae07fb000aa495b694612032e999f431c8f8e47f60eb162d0c7487fcfef6e37249622d4 SHA512 1d371978a5780c8d37e6e1359ca029659055a8d80de0d672d6eb3f21b890db2b92e368fd244be7cf83ec30935271cb269f1b9aef1c7deaaae36c3d739221d8f2 AUX vscodium.desktop 481 BLAKE2B 89f335edd1f7d0256f95eb96d335c2359d8fd984a29bdc3190218ea63ba9a19e64435eb50c7be818cf28243c8cdf9b385f8987f6917e52df565a4ca555a2a13b SHA512 234f79a5ea9b901b62fe0c094554de3b339a67e8f47ec4b3daa5c0653778b9f51d1ccd91e773b4ca27f27e30a5847d5a3172d0ed322ada4d47624028bd5d8c1b -DIST vscodium-1.86.2.24053-amd64.tar.gz 124387396 BLAKE2B 7825e202ad7c862e8fdb254f4832a9e88c1b9edf913c90c6e316bfb25c5b7143c848c86958ffd9dae4d21b8c2bc55236d6c7b4ab89fde0983187674ce485f014 SHA512 9553ea619146d1a969a0344e41ab663e7dbf770ef81bdd2a21a9235d10c8d3ff04cc9e37548017f086eb2c7a5f9efb21d74505c67b375d8479fa8ef7aabb46fe -EBUILD vscodium-1.86.2.24053.ebuild 2583 BLAKE2B 159db20e29b97139c91815c61a8d1cef38358a64e37791dde190c750093ea874ac15c552f1cf860b0f7424f199b055c24356b019eefb7a3028295f6c08c21cc6 SHA512 ef14119497f469b1cca718da06f6a2aa6e61cf73360af0b5bfbfae7024cbc113a4ae312f617cb313af847f8ff34de088f6d908222c4ebe1c813c807bc50af1a6 +DIST vscodium-1.86.2.24054-amd64.tar.gz 129068812 BLAKE2B 8a7c6413d7c66e85bcf4964f15025ddc7bd8557ed6be67ef761069fe9af48903381b242faf28e578fac6d83b280ca5ededb88215ba695d3bdd77c4c83f72bbe7 SHA512 b11bb780ca7f34107e46a9a6c946542b33847dc04a4230f08c1613d7bf8e5030b3b021b05ed6ba6eaa31467b6ef354a2f2a4026f2e7656a9d58844966bf145c7 +EBUILD vscodium-1.86.2.24054.ebuild 2583 BLAKE2B 159db20e29b97139c91815c61a8d1cef38358a64e37791dde190c750093ea874ac15c552f1cf860b0f7424f199b055c24356b019eefb7a3028295f6c08c21cc6 SHA512 ef14119497f469b1cca718da06f6a2aa6e61cf73360af0b5bfbfae7024cbc113a4ae312f617cb313af847f8ff34de088f6d908222c4ebe1c813c807bc50af1a6 MISC metadata.xml 1009 BLAKE2B b6d55ed2217637eac68413eb685a6219a38f80e0b4698877a0bc4d88e65f42c4fcbbd2ea50e810aadbda1de65df85fd724ee1b2ad7ef29dbc3f871efcd7069bf SHA512 c3edf84c187732debc55b847c7e707df13f8dfeffca06312ada10c531ec37d83c137e28db2f288b1b8a61ac5851754b52ba66866048a3765c689bcdc4f85ff7a diff --git a/app-editors/vscodium/vscodium-1.86.2.24053.ebuild b/app-editors/vscodium/vscodium-1.86.2.24053.ebuild deleted file mode 100644 index 3911101..0000000 --- a/app-editors/vscodium/vscodium-1.86.2.24053.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2023 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)" -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" -IUSE="egl kerberos 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/libcanberra[gtk3] - 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 - rm "${S}/resources/app/LICENSE.txt" || die - rm -r "${S}/resources/app/node_modules.asar.unpacked/kerberos" || 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 - if use egl; then - EXEC_EXTRA_FLAGS+=( "--use-gl=egl" ) - 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.md" - optfeature "keyring support inside vscode" "virtual/secret-service" -} diff --git a/app-editors/vscodium/vscodium-1.86.2.24054.ebuild b/app-editors/vscodium/vscodium-1.86.2.24054.ebuild new file mode 100644 index 0000000..3911101 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.86.2.24054.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2023 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)" +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" +IUSE="egl kerberos 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/libcanberra[gtk3] + 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 + rm "${S}/resources/app/LICENSE.txt" || die + rm -r "${S}/resources/app/node_modules.asar.unpacked/kerberos" || 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 + if use egl; then + EXEC_EXTRA_FLAGS+=( "--use-gl=egl" ) + 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.md" + optfeature "keyring support inside vscode" "virtual/secret-service" +} -- cgit v1.2.3-2-gb3c3