[neon/snap-packaging/snapcraft-desktop-integration] kde-neon-6: Set WITH_GRAPHICS := true for gpu-2404.

Scarlett Moore null at kde.org
Mon Nov 18 17:48:01 GMT 2024


Git commit 4ef4e1652a824b09316b76b8a5441b0f45a8c6d8 by Scarlett Moore.
Committed on 18/11/2024 at 17:47.
Pushed by scarlettmoore into branch 'master'.

Set WITH_GRAPHICS        := true for gpu-2404.

M  +2    -1    kde-neon-6/Makefile

https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/4ef4e1652a824b09316b76b8a5441b0f45a8c6d8

diff --git a/kde-neon-6/Makefile b/kde-neon-6/Makefile
index adf36a2..5278941 100644
--- a/kde-neon-6/Makefile
+++ b/kde-neon-6/Makefile
@@ -8,6 +8,7 @@ LIB_DIR              := $(DESTDIR)/lib
 DEST_LAUNCHER        := desktop-launch6
 LOCALE_GENERATOR     := locale-gen
 DEST_CONFIGURE_HOOK  := hooks-configure-fonts
+WITH_GRAPHICS        := true
 
 build: $(DEST_LAUNCHER) $(DEST_CONFIGURE_HOOK)
 
@@ -19,7 +20,7 @@ clean:
 $(DEST_LAUNCHER):
 	@cat $(SRC_DIR)/init > $(DEST_LAUNCHER)
   # tail -n +2 to remove the shebang
-	@tail -n +2 $(SRC_DIR)/desktop-exports | sed -e "s/%PLATFORM_PLUG%/$${PLATFORM_PLUG:?}/" -e "s/%WITH_GRAPHICS%/$(WITH_GRAPHICS)/" >> $(DEST_LAUNCHER)
+        @tail -n +2 $(SRC_DIR)/desktop-exports | sed -e "s/%PLATFORM_PLUG%/$${PLATFORM_PLUG:?}/" -e "s/%WITH_GRAPHICS%/$(WITH_GRAPHICS)/" >> $(DEST_LAUNCHER)
 	@tail -n +2 $(SRC_DIR)/launcher-specific >> $(DEST_LAUNCHER)
 	@tail -n +2 $(SRC_DIR)/mark-and-exec >> $(DEST_LAUNCHER)
 


More information about the Neon-commits mailing list