[aravis] build: add an appdata file for the viewer
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] build: add an appdata file for the viewer
- Date: Fri, 15 Aug 2014 14:58:25 +0000 (UTC)
commit e74aa2f51bf90cdc320553e80310db9c090f199b
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Fri Aug 15 16:57:55 2014 +0200
build: add an appdata file for the viewer
configure.ac | 4 ++++
po/POTFILES.in | 1 +
viewer/Makefile.am | 13 ++-----------
viewer/data/Makefile.am | 19 +++++++++++++++++++
viewer/data/aravis.png | Bin 0 -> 403365 bytes
viewer/data/arv-viewer.appdata.xml.in | 24 ++++++++++++++++++++++++
6 files changed, 50 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 43df920..60ebfde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -173,11 +173,15 @@ GOBJECT_INTROSPECTION_CHECK([0.10.0])
GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
AM_CONDITIONAL([BUILD_GTK_DOC], [test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"])
+APPDATA_XML
+
AC_CONFIG_FILES([
Makefile
src/Makefile
viewer/Makefile
+viewer/data/Makefile
viewer/data/arv-viewer.desktop.in
+viewer/data/arv-viewer.appdata.xml
gst/Makefile
gst-0.10/Makefile
tests/Makefile
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e09b352..688d922 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
# List of source files containing translatable strings.
[type: gettext/glade]viewer/arv-viewer.ui
viewer/data/arv-viewer.desktop.in.in
+viewer/data/arv-viewer.appdata.xml.in
diff --git a/viewer/Makefile.am b/viewer/Makefile.am
index 2d8be06..0539ebb 100644
--- a/viewer/Makefile.am
+++ b/viewer/Makefile.am
@@ -2,6 +2,8 @@ EXTRA_DIST =
include $(top_srcdir)/Makefile.decl
+SUBDIRS = data
+
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
@@ -47,14 +49,3 @@ install-update-icon-cache:
uninstall-update-icon-cache:
$(AM_V_at)$(POST_UNINSTALL)
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
-
- INTLTOOL_DESKTOP_RULE@
-desktopdir = $(datadir)/applications
-desktop_in_files = data/arv-viewer.desktop.in
-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
-
-dist_noinst_DATA = \
- $(desktop_in_files)
-
-CLEANFILES = \
- $(desktop_DATA)
diff --git a/viewer/data/Makefile.am b/viewer/data/Makefile.am
new file mode 100644
index 0000000..4b2e1c9
--- /dev/null
+++ b/viewer/data/Makefile.am
@@ -0,0 +1,19 @@
+ APPDATA_XML_RULES@
+ INTLTOOL_XML_RULE@
+
+appdata_in_files = arv-viewer.appdata.xml.in
+appdata_XML = $(appdata_in_files:.xml.in=.xml)
+
+EXTRA_DIST = $(appdata_in_files)
+
+ INTLTOOL_DESKTOP_RULE@
+desktopdir = $(datadir)/applications
+desktop_in_files = arv-viewer.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+dist_noinst_DATA = \
+ $(desktop_in_files)
+
+CLEANFILES = \
+ $(appdata_XML) \
+ $(desktop_DATA)
diff --git a/viewer/data/aravis.png b/viewer/data/aravis.png
new file mode 100644
index 0000000..d3b87b5
Binary files /dev/null and b/viewer/data/aravis.png differ
diff --git a/viewer/data/arv-viewer.appdata.xml.in b/viewer/data/arv-viewer.appdata.xml.in
new file mode 100644
index 0000000..38e3a4a
--- /dev/null
+++ b/viewer/data/arv-viewer.appdata.xml.in
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Emmanuel Pacaud <emmanuel gnome org> -->
+<application>
+ <id type="desktop">arv-viewer.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>Aravis Viewer</name>
+ <summary>Simple viewer of video stream acquired using Aravis</summary>
+ <description>
+ <p>
+ Aravis Viewer is a simple viewer used to display video streams from
+ GENICAM based ethernet industrial cameras.
+ </p>
+ <p>
+ It allows to control basic acquisition parameters, i.e. framerate, exposure and gain,
and to save raw still images.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default" width="1024"
height="576">https://people.gnome.org/~emmanuel/fedora/screenshots/aravis.png</screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/Projects/Aravis</url>
+ <updatecontact>emmanuel gnome org</updatecontact>
+ <project_group>GNOME</project_group>
+</application>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]