aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-03-22 23:19:35 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2022-03-22 23:19:35 +0100
commit8210fa7a088655cb22c01e8c63916ee1c2d7e72d (patch)
tree1cea8f8327df3fa4364bc8cfcd64032b8e40a84d
parent16ba0c7f97a7dca1cc499ee959982c5e97400afe (diff)
downloadmessenger-gtk-8210fa7a088655cb22c01e8c63916ee1c2d7e72d.tar.gz
messenger-gtk-8210fa7a088655cb22c01e8c63916ee1c2d7e72d.zip
Add appdata.xml with metadata about the application
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r--Makefile3
-rw-r--r--resources/org.gnunet.Messenger.appdata.xml24
2 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1c2a8bd..da81bf9 100644
--- a/Makefile
+++ b/Makefile
@@ -121,6 +121,8 @@ install:
121 $(foreach SIZE,$(ICON_SIZES),$(call install-icon,$(SIZE));) 121 $(foreach SIZE,$(ICON_SIZES),$(call install-icon,$(SIZE));)
122 install -Dm644 $(addprefix $(APPICON_DIR), full_color.svg) $(addprefix $(INSTALL_DIR), share/icons/hicolor/scalable/apps/$(APP_ID).svg) 122 install -Dm644 $(addprefix $(APPICON_DIR), full_color.svg) $(addprefix $(INSTALL_DIR), share/icons/hicolor/scalable/apps/$(APP_ID).svg)
123 desktop-file-install --dir=$(addprefix $(INSTALL_DIR), share/applications/) $(addprefix $(RESOURCES_DIR), $(APP_ID).desktop) 123 desktop-file-install --dir=$(addprefix $(INSTALL_DIR), share/applications/) $(addprefix $(RESOURCES_DIR), $(APP_ID).desktop)
124 mkdir -p $(addprefix $(INSTALL_DIR), share/appdata/)
125 install -Dm644 $(addprefix $(RESOURCES_DIR), $(APP_ID).appdata.xml) $(addprefix $(INSTALL_DIR), share/appdata/)
124 gtk-update-icon-cache -f -t $(addprefix $(INSTALL_DIR), share/icons/hicolor) 126 gtk-update-icon-cache -f -t $(addprefix $(INSTALL_DIR), share/icons/hicolor)
125 127
126.PHONY: uninstall 128.PHONY: uninstall
@@ -134,6 +136,7 @@ uninstall:
134 $(foreach SIZE,$(ICON_SIZES),$(call uninstall-icon,$(SIZE));) 136 $(foreach SIZE,$(ICON_SIZES),$(call uninstall-icon,$(SIZE));)
135 $(GNU_RM) -f $(addprefix $(INSTALL_DIR), share/icons/hicolor/scalable/apps/$(APP_ID).svg) 137 $(GNU_RM) -f $(addprefix $(INSTALL_DIR), share/icons/hicolor/scalable/apps/$(APP_ID).svg)
136 $(GNU_RM) -f $(addsuffix $(APP_ID).desktop, $(addprefix $(INSTALL_DIR), share/applications/)) 138 $(GNU_RM) -f $(addsuffix $(APP_ID).desktop, $(addprefix $(INSTALL_DIR), share/applications/))
139 $(GNU_RM) -f $(addsuffix $(APP_ID).appdata.xml, $(addprefix $(INSTALL_DIR), share/appdata/))
137 140
138.PHONY: clean 141.PHONY: clean
139 142
diff --git a/resources/org.gnunet.Messenger.appdata.xml b/resources/org.gnunet.Messenger.appdata.xml
new file mode 100644
index 0000000..6f0152e
--- /dev/null
+++ b/resources/org.gnunet.Messenger.appdata.xml
@@ -0,0 +1,24 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright 2022 GNUnet e.V. -->
3<component type="desktop">
4 <id>org.gnunet.Messenger</id>
5 <metadata_license>CC0-1.0</metadata_license>
6 <project_license>AGPL-3.0</project_license>
7 <content_rating type="oars-1.1" />
8
9 <name>GNUnet Messenger</name>
10 <summary>A GTK based GUI for the Messenger service of GNUnet.</summary>
11 <description>
12 </description>
13
14 <screenshots>
15 </screenshots>
16
17 <url type="homepage">https://www.gnunet.org</url>
18
19 <update_contact>thejackimonster_at_gmail.com</update_contact>
20
21 <launchable type="desktop-id">org.gnunet.Messenger.desktop</launchable>
22 <releases>
23 </releases>
24</component>