From 62ef06fb0ff90f567367207c4238ed92a965e4b3 Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 10 Nov 2014 00:13:36 +0100 Subject: appdata: Add autotool bits for appdata --- mate-screenshot/Makefile.am | 19 +++++++++++------- mate-screenshot/mate-screenshot.appdata.xml | 27 -------------------------- mate-screenshot/mate-screenshot.appdata.xml.in | 27 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 34 deletions(-) delete mode 100644 mate-screenshot/mate-screenshot.appdata.xml create mode 100644 mate-screenshot/mate-screenshot.appdata.xml.in (limited to 'mate-screenshot') diff --git a/mate-screenshot/Makefile.am b/mate-screenshot/Makefile.am index e8e54cad..1fa3cdc7 100644 --- a/mate-screenshot/Makefile.am +++ b/mate-screenshot/Makefile.am @@ -58,12 +58,15 @@ ui_DATA = \ mate-screenshot.ui \ $(NULL) +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = mate-screenshot.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + gsettingsschema_in_files = org.mate.screenshot.gschema.xml.in gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) .PRECIOUS: $(gsettings_SCHEMAS) -@INTLTOOL_XML_NOMERGE_RULE@ - @GSETTINGS_RULES@ convertdir = $(datadir)/MateConf/gsettings @@ -71,17 +74,19 @@ convert_DATA = mate-screenshot.convert EXTRA_DIST = \ $(gsettingsschema_in_files) \ + $(appdata_in_files) \ $(mate_screenshot_in_files) \ $(man_MANS) \ $(ui_DATA) \ - $(convert_DATA) \ + $(convert_DATA) \ $(NULL) CLEANFILES = \ - $(BUILT_SOURCES) \ - $(gsettings_SCHEMAS) \ - $(mate_screenshot_DATA) \ - $(sys_DATA) + $(BUILT_SOURCES) \ + $(gsettings_SCHEMAS) \ + $(mate_screenshot_DATA) \ + $(sys_DATA) \ + mate-screenshot.appdata.xml dist-hook: cd $(distdir) ; rm -f $(CLEANFILES) diff --git a/mate-screenshot/mate-screenshot.appdata.xml b/mate-screenshot/mate-screenshot.appdata.xml deleted file mode 100644 index 62df49e1..00000000 --- a/mate-screenshot/mate-screenshot.appdata.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - mate-screenshot.desktop - CC0-1.0 - GPL-2.0+ - Mate Screenshot - A screenshot utility for MATE Desktop - -

- Mate Screenshot is a simple utility that lets you capture screenshots - of your desktop or of application windows. You can select to copy them - to the system clipboard or save them in Portable Network Graphics (.png) - image format. -

-
- - - - https://alexpl.fedorapeople.org/AppData/mate-screenshot/screens/mate-screenshot_01.png - - - - http://www.mate-desktop.org - mate-dev@ml.mate-desktop.org - MATE -
diff --git a/mate-screenshot/mate-screenshot.appdata.xml.in b/mate-screenshot/mate-screenshot.appdata.xml.in new file mode 100644 index 00000000..62df49e1 --- /dev/null +++ b/mate-screenshot/mate-screenshot.appdata.xml.in @@ -0,0 +1,27 @@ + + + + mate-screenshot.desktop + CC0-1.0 + GPL-2.0+ + Mate Screenshot + A screenshot utility for MATE Desktop + +

+ Mate Screenshot is a simple utility that lets you capture screenshots + of your desktop or of application windows. You can select to copy them + to the system clipboard or save them in Portable Network Graphics (.png) + image format. +

+
+ + + + https://alexpl.fedorapeople.org/AppData/mate-screenshot/screens/mate-screenshot_01.png + + + + http://www.mate-desktop.org + mate-dev@ml.mate-desktop.org + MATE +
-- cgit v1.2.1