From a2a7a7d941ee8aa70a9e80f9bfcfc44df828db23 Mon Sep 17 00:00:00 2001
From: "RichardAsh1981@gmail.com"
Date: Thu, 24 Oct 2013 15:43:42 +0000
Subject: [PATCH] provide an initial appdata file and associated rules
---
Makefile.in | 6 ++++++
help/audacity.appdata.xml | 27 +++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
create mode 100644 help/audacity.appdata.xml
diff --git a/Makefile.in b/Makefile.in
index 55c28dbce..a8baf7bb1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -91,6 +91,11 @@ install-extra-data:
$(INSTALL) -d $(DESTDIR)$(DATADIR)/mime/packages
$(INSTALL) -m 644 src/audacity.xml $(DESTDIR)$(DATADIR)/mime/packages
+ # install AppData file for package managers
+ $(INSTALL) -d $(DESTDIR)$(DATADIR)/appdata
+ $(INSTALL) -m 644 help/audacity.appdata.xml $(DESTDIR)$(DATADIR)/appdata/$(AUDACITY_NAME).appdata.xml
+
+
.PHONY: install-lrdf-data
install-lrdf-data:
# install basic LRDF ontology file
@@ -129,6 +134,7 @@ uninstall: $(EXTRAUNINSTALLTARGETS)
uninstall-extra-data:
rm -f $(DESTDIR)$(DATADIR)/applications/$(AUDACITY_NAME).desktop
rm -f $(DESTDIR)$(DATADIR)/mime/packages/audacity.xml
+ rm -f $(DESTDIR)$(DATADIR)/appdata/$(AUDACITY_NAME).appdata.xml
.PHONY: uninstall-lrdf-data
uninstall-lrdf-data:
diff --git a/help/audacity.appdata.xml b/help/audacity.appdata.xml
new file mode 100644
index 000000000..4891d5d8d
--- /dev/null
+++ b/help/audacity.appdata.xml
@@ -0,0 +1,27 @@
+
+
+ audacity.desktop
+ CC BY
+
+
+ Audacity® is a free, easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems. The interface is translated into many languages.
+
+
+ You can use Audacity to:
+
+ - Record live audio.
+ - Convert tapes and records into digital recordings or CDs.
+ - Edit WAV, AIFF, FLAC, MP2, MP3 or Ogg Vorbis sound files.
+ - Cut, copy, splice or mix sounds together.
+ - Change the speed or pitch of a recording.
+ - Apply a wide range of other effects to audio recordings.
+
+
+
+ http://audacity.sourceforge.net/
+
+ http://audacity.sourceforge.net/about/images/audacity-linux.png
+ http://audacity.sourceforge.net/about/images/recording.png
+
+ audacity-devel@lists.sourceforge.net
+