From 2d9405f453dd9215409cca4b0a4e87a2bf8149c6 Mon Sep 17 00:00:00 2001 From: actionless Date: Sat, 14 Sep 2024 01:46:49 +0200 Subject: [PATCH] chore(makefile: install_gui): put metadata into /usr/share/metainfo/ instead of /usr/share/appdata/ --- Makefile | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 638cd94e..5932d8a1 100644 --- a/Makefile +++ b/Makefile @@ -66,22 +66,14 @@ install_gui: install_import_random sed -i -e 's|/opt/oomox/|$(APPDIR)/|g' $(PACKAGING_TMP_DIR)/packaging/bin/* chmod a+x "$(PACKAGING_TMP_DIR)/packaging/bin/"* - install -d $(DEST_PREFIX)/bin/ - install -Dp -m 755 "$(PACKAGING_TMP_DIR)/packaging/bin/oomox-gui" "$(DEST_PREFIX)/bin/" - install -Dp -m 755 "$(PACKAGING_TMP_DIR)/packaging/bin/themix-gui" "$(DEST_PREFIX)/bin/" - install -Dp -m 755 "$(PACKAGING_TMP_DIR)/packaging/bin/themix-multi-export" "$(DEST_PREFIX)/bin/" - - install -d $(DEST_PREFIX)/share/applications/ - install -Dp -m 644 "$(PACKAGING_TMP_DIR)/packaging/com.github.themix_project.Oomox.desktop" "$(DEST_PREFIX)/share/applications/" - - install -d $(DEST_PREFIX)/share/appdata/ - install -Dp -m 644 "$(PACKAGING_TMP_DIR)/packaging/com.github.themix_project.Oomox.appdata.xml" "$(DEST_PREFIX)/share/appdata/" - - install -d $(DEST_PREFIX)/share/icons/hicolor/symbolic/apps/ - install -Dp -m 644 "$(PACKAGING_TMP_DIR)/packaging/com.github.themix_project.Oomox-symbolic.svg" "$(DEST_PREFIX)/share/icons/hicolor/symbolic/apps/com.github.themix_project.Oomox-symbolic.svg" - - install -d $(DEST_PREFIX)/share/icons/hicolor/scalable/apps/ - install -Dp -m 644 "$(PACKAGING_TMP_DIR)/packaging/com.github.themix_project.Oomox.svg" "$(DEST_PREFIX)/share/icons/hicolor/scalable/apps/com.github.themix_project.Oomox.svg" + install -Dp -m 755 "$(PACKAGING_TMP_DIR)/packaging/bin/oomox-gui" -t "$(DEST_PREFIX)/bin/" + install -Dp -m 755 "$(PACKAGING_TMP_DIR)/packaging/bin/themix-gui" -t "$(DEST_PREFIX)/bin/" + install -Dp -m 755 "$(PACKAGING_TMP_DIR)/packaging/bin/themix-multi-export" -t "$(DEST_PREFIX)/bin/" + + install -Dp -m 644 "$(PACKAGING_TMP_DIR)/packaging/com.github.themix_project.Oomox.desktop" -t "$(DEST_PREFIX)/share/applications/" + install -Dp -m 644 "$(PACKAGING_TMP_DIR)/packaging/com.github.themix_project.Oomox.appdata.xml" -t "$(DEST_PREFIX)/share/metainfo/" + install -Dp -m 644 "$(PACKAGING_TMP_DIR)/packaging/com.github.themix_project.Oomox-symbolic.svg" -t "$(DEST_PREFIX)/share/icons/hicolor/symbolic/apps/com.github.themix_project.Oomox-symbolic.svg" + install -Dp -m 644 "$(PACKAGING_TMP_DIR)/packaging/com.github.themix_project.Oomox.svg" -t "$(DEST_PREFIX)/share/icons/hicolor/scalable/apps/com.github.themix_project.Oomox.svg" $(RM) -r $(PACKAGING_TMP_DIR)