From 7fd623c372f8dd4836f10294103f63fa70b4ec32 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 21 Jul 2024 15:53:46 +0200 Subject: app-editors/vscodium: add 1.91.1.24193, drop 1.91.0.24190 --- app-editors/vscodium/Manifest | 4 +- app-editors/vscodium/vscodium-1.91.0.24190.ebuild | 116 ---------------------- app-editors/vscodium/vscodium-1.91.1.24193.ebuild | 116 ++++++++++++++++++++++ 3 files changed, 118 insertions(+), 118 deletions(-) delete mode 100644 app-editors/vscodium/vscodium-1.91.0.24190.ebuild create mode 100644 app-editors/vscodium/vscodium-1.91.1.24193.ebuild (limited to 'app-editors/vscodium') diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index ad5a5ca..94016da 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.91.0.24190-amd64.tar.gz 128378291 BLAKE2B 3e52dc94b7834aec239221a41fec6e66670f396e6d2324a8af1018fbca1fe0790bf001a5c1bf0cb4b5dc0bb86800a1c4e99d12006db811522da4da2728e53875 SHA512 13dce86fb52e19911b1f21725a1043e0d17e51eff10008ce046ab0286ef360704d5b5b7bab45c7058f34c5f4518558d280d7b984be04d58908ffea3712c3f330 -EBUILD vscodium-1.91.0.24190.ebuild 2583 BLAKE2B 159db20e29b97139c91815c61a8d1cef38358a64e37791dde190c750093ea874ac15c552f1cf860b0f7424f199b055c24356b019eefb7a3028295f6c08c21cc6 SHA512 ef14119497f469b1cca718da06f6a2aa6e61cf73360af0b5bfbfae7024cbc113a4ae312f617cb313af847f8ff34de088f6d908222c4ebe1c813c807bc50af1a6 +DIST vscodium-1.91.1.24193-amd64.tar.gz 128383899 BLAKE2B d51c4c502540107f196a6e89b03a4b4602b4b79ace646828e11abe3387d1f188d3dad27f4f47b8a08200b1d993c494ae5c36aadc86fb30da30f01c137622b417 SHA512 8d3d9497076cea4ed26bb111ce6d19eb542e3f5a4dc458493781077f0249fac7bca91015de3b3b6150a0992e41243a2d93ea1b4f628895c787e2abd1136f68bd +EBUILD vscodium-1.91.1.24193.ebuild 2583 BLAKE2B 159db20e29b97139c91815c61a8d1cef38358a64e37791dde190c750093ea874ac15c552f1cf860b0f7424f199b055c24356b019eefb7a3028295f6c08c21cc6 SHA512 ef14119497f469b1cca718da06f6a2aa6e61cf73360af0b5bfbfae7024cbc113a4ae312f617cb313af847f8ff34de088f6d908222c4ebe1c813c807bc50af1a6 MISC metadata.xml 1009 BLAKE2B b6d55ed2217637eac68413eb685a6219a38f80e0b4698877a0bc4d88e65f42c4fcbbd2ea50e810aadbda1de65df85fd724ee1b2ad7ef29dbc3f871efcd7069bf SHA512 c3edf84c187732debc55b847c7e707df13f8dfeffca06312ada10c531ec37d83c137e28db2f288b1b8a61ac5851754b52ba66866048a3765c689bcdc4f85ff7a diff --git a/app-editors/vscodium/vscodium-1.91.0.24190.ebuild b/app-editors/vscodium/vscodium-1.91.0.24190.ebuild deleted file mode 100644 index 3911101..0000000 --- a/app-editors/vscodium/vscodium-1.91.0.24190.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.91.1.24193.ebuild b/app-editors/vscodium/vscodium-1.91.1.24193.ebuild new file mode 100644 index 0000000..3911101 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.91.1.24193.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