[gnome-sdk-images] Add appdata
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sdk-images] Add appdata
- Date: Wed, 18 Jan 2017 15:48:18 +0000 (UTC)
commit f95eaf87039e967a3dc49cc2a85c5d41662bde57
Author: Alexander Larsson <alexl redhat com>
Date: Wed Jan 18 16:47:10 2017 +0100
Add appdata
org.gnome.Platform.appdata.xml | 13 +++++++++++++
org.gnome.Sdk.appdata.xml | 13 +++++++++++++
org.gnome.Sdk.json.in | 8 ++++++++
os-release-configure | 9 +++++++--
4 files changed, 41 insertions(+), 2 deletions(-)
---
diff --git a/org.gnome.Platform.appdata.xml b/org.gnome.Platform.appdata.xml
new file mode 100644
index 0000000..41f6ebe
--- /dev/null
+++ b/org.gnome.Platform.appdata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2017 Richard Hughes <richard hughsie com> -->
+<component type="runtime">
+ <id>org.gnome.Platform</id>
+ <metadata_license>CC0</metadata_license>
+ <!-- FIXME -->
+ <project_license>GPL-2.0+</project_license>
+ <name>GNOME Application Platform</name>
+ <summary>Shared libraries used by GNOME applications</summary>
+ <url type="homepage">http://www.gnome.org/</url>
+ <project_group>GNOME</project_group>
+</component>
+
diff --git a/org.gnome.Sdk.appdata.xml b/org.gnome.Sdk.appdata.xml
new file mode 100644
index 0000000..10c7933
--- /dev/null
+++ b/org.gnome.Sdk.appdata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2017 Richard Hughes <richard hughsie com> -->
+<component type="runtime">
+ <id>org.gnome.Sdk</id>
+ <metadata_license>CC0</metadata_license>
+ <!-- FIXME -->
+ <project_license>GPL-2.0+</project_license>
+ <name>GNOME Software Development Kit</name>
+ <summary>Tools and headers for developing applications using the GNOME application platform</summary>
+ <url type="homepage">http://www.gnome.org/</url>
+ <project_group>GNOME</project_group>
+</component>
+
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 0422cc5..5b28245 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -822,6 +822,14 @@
},
{
"type": "file",
+ "path": "org.gnome.Sdk.appdata.xml"
+ },
+ {
+ "type": "file",
+ "path": "org.gnome.Platform.appdata.xml"
+ },
+ {
+ "type": "file",
"path": "os-release-configure",
"dest-filename": "configure"
}
diff --git a/os-release-configure b/os-release-configure
index edb8529..1094d64 100755
--- a/os-release-configure
+++ b/os-release-configure
@@ -4,6 +4,11 @@ cat <<EOF > Makefile
all:
install:
- mkdir -p $(DESTDIR)/usr/lib
- install os-release $(DESTDIR)/usr/lib
+ mkdir -p ${DESTDIR}/usr/lib
+ install os-release ${DESTDIR}/usr/lib
+ mkdir -p ${DESTDIR}/usr/share/appdata
+ install org.gnome.Platform.appdata.xml ${DESTDIR}/usr/share/appdata
+ install org.gnome.Sdk.appdata.xml ${DESTDIR}/usr/share/appdata
+ appstream-compose --basename=org.gnome.Platform --prefix=/usr --origin=flatpak org.gnome.Platform
+ appstream-compose --basename=org.gnome.Sdk --prefix=/usr --origin=flatpak org.gnome.Sdk
EOF
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]