From fc0c4c9cf127f5a4ac57885a4724af8536254558 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 17 Oct 2024 14:11:10 +0200 Subject: app-editors/vscodium: add 1.94.2.24286, drop 1.94.1.24283 --- app-editors/vscodium/Manifest | 8 +- app-editors/vscodium/vscodium-1.94.1.24283.ebuild | 119 ---------------------- app-editors/vscodium/vscodium-1.94.2.24286.ebuild | 119 ++++++++++++++++++++++ 3 files changed, 123 insertions(+), 123 deletions(-) delete mode 100644 app-editors/vscodium/vscodium-1.94.1.24283.ebuild create mode 100644 app-editors/vscodium/vscodium-1.94.2.24286.ebuild (limited to 'app-editors') diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index cdb77c0..c91955f 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.94.1.24283-amd64.tar.gz 130462425 BLAKE2B 18869686c76fcaa066650df59fd138875fe67e8d2e3f1abf644b2d6d3f35e1e9a7e4635cf8af39edb40860dabef1238fd59da106027751537dcfc31bdf44bf4e SHA512 b81be4773a9d2843ebbc3882561932e12aabe1972a2f8ed7c018bdf18ee69e01ebb67b946981c24f8f2da6798010acbd64904a233bd3a3bd4ccaa324efdcc575 -DIST vscodium-1.94.1.24283-arm.tar.gz 118802719 BLAKE2B 5452fc7a0b454cd7b96378c45614c4f6f8cfb20ce0335aadca94ccb833faf48f135d3530421724765911dfae3282740ca0348b4233a4df336628e8485855676e SHA512 44a6af108df428f8db9e055134057e487c1f50dec1be36a461eeec61fd5987b63e2a1ba56e5f573d0507a8053095a398f67b781881584d4b742656a405bb63bc -DIST vscodium-1.94.1.24283-arm64.tar.gz 130400583 BLAKE2B 4991ab4c8e30326efa6966b9bd745487fe55afae9fdf136a6f99c64b4eb16f99dd213d6c94fde176137d0843e2a05344555e1ce0b7ef0b754a45688b1c7f70a3 SHA512 056c91d8d85c39e7d1258d94a445cd70a99ea7844e535ab0e748110a6da59787b07f1ae06e21d57726fa8148350e41700885283dd091368dfc7e9e219a5da97e -EBUILD vscodium-1.94.1.24283.ebuild 2794 BLAKE2B db1ea0aebe3c72dfae39918ae60eab2e72f1d2d21cb88a32578eb89ded4a9f89c8b1e672d41d310dcc0af82ae39490a634b4279ccd72343ecf1c8f120dc7031e SHA512 f6553ffc8cb3c58ea18fa0c9e232b9bdba5b07d085be54be3be3a47ea842ec6948dc0ba3a3c0a2cbd50ac799e2f007c58dc0ee1cb8a55dc8bee57cd81bf64832 +DIST vscodium-1.94.2.24286-amd64.tar.gz 130462753 BLAKE2B aaa4491f2159b4f158174d73f41188d88efd99fe247a75d36b967950be8eb7d5095d4447477ad531dcfdd403ee71f2300a6636c4a269d5eb83f4b08cbcf78c16 SHA512 7c6c32582a688088aa7cbcd7dbbab1ee44325d4134b78aa1a7278ea4a4d903193a76923466d302aa9a89ef70b6869358d2acb1fcc07975a722edd43ccba91ae3 +DIST vscodium-1.94.2.24286-arm.tar.gz 118804173 BLAKE2B 8e20f8b111141114c79077922f8292c636582a403fd0042c2050a34f7b79eadcb294526b885b326ca0d02b5bc98cd5c0a50edf9607424bdfa004112cc4aaa46e SHA512 af7aa92c4b7c1397bd6411f5b2edd86adb7bc48922108bd46c4ceab663d3c1262c25441e75651238bc999849ce589a8768413a293522c882e4a32d92a864d625 +DIST vscodium-1.94.2.24286-arm64.tar.gz 130400501 BLAKE2B 3520c0ec2d3794ce6449c6dcab64a8dee95e09d0f6ae98a7510ef3bf534e1e4b862b00b27684e51c3eb6ad51ca82df1e49bef92d8bfa6e95bf70773e46631228 SHA512 dfb84f9946352beeba0b138d661a96f94d378cd50ba2a2eaf72400951314b95d1582032ba64f9c6ea95d706f9e3fcb453680ff35ab9579c64024e76d17df9edc +EBUILD vscodium-1.94.2.24286.ebuild 2794 BLAKE2B db1ea0aebe3c72dfae39918ae60eab2e72f1d2d21cb88a32578eb89ded4a9f89c8b1e672d41d310dcc0af82ae39490a634b4279ccd72343ecf1c8f120dc7031e SHA512 f6553ffc8cb3c58ea18fa0c9e232b9bdba5b07d085be54be3be3a47ea842ec6948dc0ba3a3c0a2cbd50ac799e2f007c58dc0ee1cb8a55dc8bee57cd81bf64832 MISC metadata.xml 1009 BLAKE2B b6d55ed2217637eac68413eb685a6219a38f80e0b4698877a0bc4d88e65f42c4fcbbd2ea50e810aadbda1de65df85fd724ee1b2ad7ef29dbc3f871efcd7069bf SHA512 c3edf84c187732debc55b847c7e707df13f8dfeffca06312ada10c531ec37d83c137e28db2f288b1b8a61ac5851754b52ba66866048a3765c689bcdc4f85ff7a diff --git a/app-editors/vscodium/vscodium-1.94.1.24283.ebuild b/app-editors/vscodium/vscodium-1.94.1.24283.ebuild deleted file mode 100644 index 9535316..0000000 --- a/app-editors/vscodium/vscodium-1.94.1.24283.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/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.2.24286.ebuild b/app-editors/vscodium/vscodium-1.94.2.24286.ebuild new file mode 100644 index 0000000..9535316 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.94.2.24286.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