best way to handle the metadata

gh-pages
somas95 2018-05-05 22:16:41 +02:00
parent c8489c08c8
commit 6c7375c4d9
3 changed files with 32 additions and 5 deletions

View File

@ -9,7 +9,7 @@
<category>GTK</category>
</categories>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license>
<project_license>GPL-3.0+</project_license>
<url type="homepage">http://uberwriter.wolfvollprecht.de/</url>
<!-- <icon type="remote" height="375" width="375"></icon> -->
</application>

View File

@ -7,7 +7,7 @@
"separate-locales": false,
"appstream-compose": false,
"finish-args": [
],
],
"build-options" : {
"prefix": "/app/extensions/TexLive",
"cflags": "-O2 -g",
@ -37,9 +37,7 @@
"build-args": ["--share=network"],
"config-opts": ["--prefix=/app/extensions/TexLive"]
},
"post-install": [
"install -Dm644 --target-directory=/app/share/metainfo flatpak/de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml",
"appstream-compose --basename=de.wolfvollprecht.UberWriter.Plugin.TexLive --prefix=/app/ --origin=flatpak de.wolfvollprecht.UberWriter.Plugin.TexLive"
"build-commands": [
],
"sources": [
{
@ -48,6 +46,21 @@
"dest-filename": "configure"
}
]
},
{
"name": "appdata",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/extensions/TexLive/share/appdata",
"install -Dm644 de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml /app/extensions/TexLive/share/appdata/de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml",
"appstream-compose --basename=de.wolfvollprecht.UberWriter.Plugin.TexLive --prefix=/app/extensions/TexLive --origin=flatpak de.wolfvollprecht.UberWriter.Plugin.TexLive"
],
"sources": [
{
"type": "file",
"path": "de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml"
}
]
}
]
}

View File

@ -139,6 +139,20 @@
"dest-filename" : "configure"
}
]
},
{
"name": "appdata",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/share/appdata",
"install -Dm644 de.wolfvollprecht.UberWriter.appdata.xml /app/share/appdata/de.wolfvollprecht.UberWriter.appdata.xml"
],
"sources": [
{
"type": "file",
"path": "de.wolfvollprecht.UberWriter.appdata.xml"
}
]
}
]