diff options
author | Wolfgang Müller | 2024-09-16 11:37:17 +0200 |
---|---|---|
committer | Wolfgang Müller | 2024-09-16 11:37:17 +0200 |
commit | b964513abf61b393536c2fd55a2a1b01a677b548 (patch) | |
tree | 1a483f971f27e582c8f588531d08e967b8f1c040 /app-editors/vscodium/vscodium-1.92.2.24228.ebuild | |
parent | c97d0d93f39ad6c51ad551fc4fe9d2301a2824a0 (diff) | |
download | pramantha-b964513abf61b393536c2fd55a2a1b01a677b548.tar.gz |
app-editors/vscodium: Bump to 1.92.2.24228-r1
This includes updates and fixes to the .desktop files as well as a local
modification that has desktop environments show the right icon.
Diffstat (limited to '')
-rw-r--r-- | app-editors/vscodium/vscodium-1.92.2.24228-r1.ebuild (renamed from app-editors/vscodium/vscodium-1.92.2.24228.ebuild) | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/app-editors/vscodium/vscodium-1.92.2.24228.ebuild b/app-editors/vscodium/vscodium-1.92.2.24228-r1.ebuild index 3911101..9f4deaf 100644 --- a/app-editors/vscodium/vscodium-1.92.2.24228.ebuild +++ b/app-editors/vscodium/vscodium-1.92.2.24228-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,11 @@ arch_src_uri() { DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" HOMEPAGE="https://vscodium.com/" -SRC_URI="$(arch_src_uri amd64 x64)" +SRC_URI=" + $(arch_src_uri amd64 x64) + $(arch_src_uri arm armhf) + $(arch_src_uri arm64 arm64) +" S="${WORKDIR}" LICENSE=" @@ -37,8 +41,8 @@ LICENSE=" W3C " SLOT="0" -KEYWORDS="amd64" -IUSE="egl kerberos wayland" +KEYWORDS="-* amd64 ~arm ~arm64" +IUSE="wayland" RESTRICT="strip bindist" RDEPEND=" @@ -50,7 +54,6 @@ RDEPEND=" dev-libs/nspr dev-libs/nss media-libs/alsa-lib - media-libs/libcanberra[gtk3] media-libs/libglvnd media-libs/mesa net-misc/curl @@ -74,10 +77,13 @@ RDEPEND=" QA_PREBUILT="*" src_install() { - # Cleanup - rm "${S}/resources/app/LICENSE.txt" || die + # 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 @@ -91,9 +97,6 @@ src_install() { 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" \ @@ -111,6 +114,6 @@ src_install() { 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" + elog "More information at: https://github.com/VSCodium/vscodium/blob/master/docs/index.md" optfeature "keyring support inside vscode" "virtual/secret-service" } |