aboutsummaryrefslogtreecommitdiffstats
path: root/app-editors/vscodium
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app-editors/vscodium/Manifest13
-rw-r--r--app-editors/vscodium/files/vscodium-url-handler-wayland.desktop12
-rw-r--r--app-editors/vscodium/files/vscodium-url-handler.desktop2
-rw-r--r--app-editors/vscodium/files/vscodium-wayland.desktop18
-rw-r--r--app-editors/vscodium/files/vscodium.desktop6
-rw-r--r--app-editors/vscodium/vscodium-1.97.2.25045.ebuild (renamed from app-editors/vscodium/vscodium-1.89.1.24130.ebuild)28
6 files changed, 27 insertions, 52 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index e7a444e..0f023b8 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -1,7 +1,8 @@
-AUX vscodium-url-handler-wayland.desktop 383 BLAKE2B c3e281318290826ce9451fe517b52bd8dee6da01fcb62c57906496bb6f5b369c55571aeffdab020820029186c5ee8722c02ef611c487d81044717bb31519b512 SHA512 77347572def1aae0d643ca4166a9b4db9aa6f80e267ff93474ee3a773491e4f0ebc95a15d25ddd1d23e819a739c56a86dec2d612c566c10f56811c10ac4d41ac
-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.89.1.24130-amd64.tar.gz 129589433 BLAKE2B 02e189604bf0648bf7c6ac6d4db48ed85214a4b1d704d5a0329cfbc31566756bead943534368052147c5131cf48ba8f485e7b62abcfe7cb479b64b869d78efc2 SHA512 0898504c6814d0d050377c54b4196a6a811c7763647863e8f13fa249166d18e5e62c627d78df3d1cafeb28fa83114e9b7c4aaab8209cc6df0451de5ae6f381f7
-EBUILD vscodium-1.89.1.24130.ebuild 2583 BLAKE2B 159db20e29b97139c91815c61a8d1cef38358a64e37791dde190c750093ea874ac15c552f1cf860b0f7424f199b055c24356b019eefb7a3028295f6c08c21cc6 SHA512 ef14119497f469b1cca718da06f6a2aa6e61cf73360af0b5bfbfae7024cbc113a4ae312f617cb313af847f8ff34de088f6d908222c4ebe1c813c807bc50af1a6
+AUX vscodium-url-handler.desktop 334 BLAKE2B 3e089403de3df453f9c35737911846105ebee07ba17cd61443f739a035755a3b17b7a76f54231950bb4d752e0853a1e920dc489487ed3b12230dbe96037e833b SHA512 548b2df53ee5975e543a8ce5f8ac48bcc5878a86e7b6759d8e6d6d5cf7a126d91326f801a3c3548b7390dc9113b9bf37ecc38276ddd0b3354c4be8ab58b466fa
+AUX vscodium.desktop 517 BLAKE2B dff4d6ebc64b2a937c2c3081239e88af85a61ca47efddafa5bc7f8e1da0da98248d0d81ee295e70c33548a29c6200678319ed9887bc22d2435c5abd63ea26f2c SHA512 8230df8c2fe2c1f5118687addb413beaa871ff989bcb76922812ee580162b6e0cc61445a905e0466ee2ff81668fcc651cb00a78f23aba6d882122dd6fd57c65d
+DIST vscodium-1.97.2.25045-amd64.tar.gz 138066826 BLAKE2B 3471e6065704b577aab674921bf409e02df40e8bb20506cf49f1fb389a3ef5b54b6af0377e0d5264d3bc27cecbe327a67fa2f1e68334552e5c4781f4d6c5b6a4 SHA512 6f8f3e720b9ca1edff31d9c605f6ac23b27ef4e0b4f05ad5b4bff88a2b778e62d73a33cc87752df8f2dd7d1dd44f68c7f6a47a4beb0d9aba2640c593005da15f
+DIST vscodium-1.97.2.25045-arm.tar.gz 124146372 BLAKE2B 85fd308fc02945c36e8c8667b025dd972a29affce3cab11dd39e0c06aec7556a55919b6fa5e0290c51f5b96ab991de9bf4af180844f2bb7afcb91caeb0e2f5de SHA512 11a8c7fe7203230750878baca4142b336c1faac1546db6741f05d14bc5a2d06eb12bba5685189289702298bae82f84230ae4a9c293b90e60a0b2c6fac9cf6731
+DIST vscodium-1.97.2.25045-arm64.tar.gz 136052627 BLAKE2B 8e83153caa985c141c8f26a16b23f0fba03e180d40f490b1cb5335bb268605f76cfca9893dcb259b6450cc940634b09b534d691a6fce6d9a34c61ade5e833983 SHA512 8d3acd7c1e7823d85c23c00370f71bc3cb7773d04a7bddc48409df0430a68836f25413c0d4751192901a1c384329c7dc3ab07ed778a97e56b77c78f2d275a5aa
+DIST vscodium-1.97.2.25045-loong.tar.gz 144033211 BLAKE2B ed13b445139b8dcf9f320dc1d6e1000e0374355151d791f75640a83d56a06ad78613f2abe02614c775085380885818ab6724d83d5701d8f5d2a94b297c216d8d SHA512 314deb75bc7af227532be8e2e8017ea543042ba1b9ca1c25aaffa7807218d9e82f33d9181d770b748cae39964b91ddd1c465926d015e2ec83ea3641e3673d5ba
+EBUILD vscodium-1.97.2.25045.ebuild 2832 BLAKE2B 2f25240bfac7a1b4d57e6eec116127395c3d68098c57f753bd7e4277d50903154e8947ca4771526c96f230c1665d205bde9ab732a93148002f732485c0b45369 SHA512 357bbe920c1d51c992de638f9642c7a10bb6fce1a278c97dc40ed8dbfa6448c5f8e7b9bd67b5c899303e1522bab87edd75424e01883e159ccc81bfd5326e48b9
MISC metadata.xml 1009 BLAKE2B b6d55ed2217637eac68413eb685a6219a38f80e0b4698877a0bc4d88e65f42c4fcbbd2ea50e810aadbda1de65df85fd724ee1b2ad7ef29dbc3f871efcd7069bf SHA512 c3edf84c187732debc55b847c7e707df13f8dfeffca06312ada10c531ec37d83c137e28db2f288b1b8a61ac5851754b52ba66866048a3765c689bcdc4f85ff7a
diff --git a/app-editors/vscodium/files/vscodium-url-handler-wayland.desktop b/app-editors/vscodium/files/vscodium-url-handler-wayland.desktop
deleted file mode 100644
index d853f3e..0000000
--- a/app-editors/vscodium/files/vscodium-url-handler-wayland.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Name=VSCodium Wayland - URL Handler
-Comment=Editing evolved
-GenericName=Code Editor
-Exec=/usr/bin/vscodium --enable-features=UseOzonePlatform --ozone-platform=wayland --open-url %U
-Icon=vscodium
-Type=Application
-NoDisplay=true
-StartupNotify=true
-Categories=Utility;TextEditor;Development;IDE;
-MimeType=x-scheme-handler/vscodium;
-Keywords=vscode;vscodium;code;codium;
diff --git a/app-editors/vscodium/files/vscodium-url-handler.desktop b/app-editors/vscodium/files/vscodium-url-handler.desktop
index 48c7d3d..0ca181b 100644
--- a/app-editors/vscodium/files/vscodium-url-handler.desktop
+++ b/app-editors/vscodium/files/vscodium-url-handler.desktop
@@ -2,7 +2,7 @@
Name=VSCodium - URL Handler
Comment=Editing evolved
GenericName=Code Editor
-Exec=/usr/bin/vscodium --open-url %U
+Exec=/usr/bin/vscodium @exec_extra_flags@ --open-url %U
Icon=vscodium
Type=Application
NoDisplay=true
diff --git a/app-editors/vscodium/files/vscodium-wayland.desktop b/app-editors/vscodium/files/vscodium-wayland.desktop
deleted file mode 100644
index 7719bf1..0000000
--- a/app-editors/vscodium/files/vscodium-wayland.desktop
+++ /dev/null
@@ -1,18 +0,0 @@
-[Desktop Entry]
-Name=VSCodium Wayland
-Comment=Editing evolved
-GenericName=Code Editor
-Exec=/usr/bin/vscodium --enable-features=UseOzonePlatform --ozone-platform=wayland --unity-launch %F
-Icon=vscodium
-Type=Application
-StartupNotify=false
-StartupWMClass=VSCodium
-Categories=Utility;TextEditor;Development;IDE;
-MimeType=text/plain;inode/directory;application/x-code-workspace;
-Actions=new-empty-window;
-Keywords=vscode;vscodium;code;codium;
-
-[Desktop Action new-empty-window]
-Name=New Empty Window
-Exec=/usr/bin/vscodium --enable-features=UseOzonePlatform --ozone-platform=wayland --new-window %F
-Icon=vscodium
diff --git a/app-editors/vscodium/files/vscodium.desktop b/app-editors/vscodium/files/vscodium.desktop
index f3557c1..6eb9e55 100644
--- a/app-editors/vscodium/files/vscodium.desktop
+++ b/app-editors/vscodium/files/vscodium.desktop
@@ -2,11 +2,11 @@
Name=VSCodium
Comment=Editing evolved
GenericName=Code Editor
-Exec=/usr/bin/vscodium --unity-launch %F
+Exec=/usr/bin/vscodium @exec_extra_flags@ --unity-launch %F
Icon=vscodium
Type=Application
StartupNotify=false
-StartupWMClass=VSCodium
+StartupWMClass=codium
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Actions=new-empty-window;
@@ -14,5 +14,5 @@ Keywords=vscode;vscodium;code;codium;
[Desktop Action new-empty-window]
Name=New Empty Window
-Exec=/usr/bin/vscodium --new-window %F
+Exec=/usr/bin/vscodium @exec_extra_flags@ --new-window %F
Icon=vscodium
diff --git a/app-editors/vscodium/vscodium-1.89.1.24130.ebuild b/app-editors/vscodium/vscodium-1.97.2.25045.ebuild
index 3911101..e609f58 100644
--- a/app-editors/vscodium/vscodium-1.89.1.24130.ebuild
+++ b/app-editors/vscodium/vscodium-1.97.2.25045.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,12 @@ 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)
+ $(arch_src_uri loong loong64)
+"
S="${WORKDIR}"
LICENSE="
@@ -37,8 +42,8 @@ LICENSE="
W3C
"
SLOT="0"
-KEYWORDS="amd64"
-IUSE="egl kerberos wayland"
+KEYWORDS="-* amd64 ~arm ~arm64 ~loong"
+IUSE="wayland"
RESTRICT="strip bindist"
RDEPEND="
@@ -50,7 +55,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,9 +78,12 @@ RDEPEND="
QA_PREBUILT="*"
src_install() {
- # Cleanup
- rm "${S}/resources/app/LICENSE.txt" || die
- rm -r "${S}/resources/app/node_modules.asar.unpacked/kerberos" || 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/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
@@ -91,9 +98,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 +115,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"
}