[neon/snap-packaging/snapcraft-desktop-integration] kde-neon-6: Add back platform plug. It does exist...
Scarlett Moore
null at kde.org
Tue Nov 19 16:37:35 GMT 2024
Git commit 9a626b4814d16323f766cdc3cd9ac978196208df by Scarlett Moore.
Committed on 19/11/2024 at 16:36.
Pushed by scarlettmoore into branch 'master'.
Add back platform plug. It does exist...
M +2 -1 kde-neon-6/Makefile
https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/9a626b4814d16323f766cdc3cd9ac978196208df
diff --git a/kde-neon-6/Makefile b/kde-neon-6/Makefile
index 192ed5c..9d4ba29 100644
--- a/kde-neon-6/Makefile
+++ b/kde-neon-6/Makefile
@@ -9,6 +9,7 @@ DEST_LAUNCHER := desktop-launch6
LOCALE_GENERATOR := locale-gen
DEST_CONFIGURE_HOOK := hooks-configure-fonts
WITH_GRAPHICS := true
+PLATFORM_PLUG := kf6-core24
build: $(DEST_LAUNCHER) $(DEST_CONFIGURE_HOOK)
@@ -20,7 +21,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/%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