From dee0be675eadd750edadf2409fae261273240d40 Mon Sep 17 00:00:00 2001 From: Jete O'Keeffe Date: Fri, 1 May 2020 10:39:24 -0400 Subject: [PATCH] added specific flatpak metadata and updated desktop file --- ci/dust3d.desktop | 7 +++++-- ci/org.dust3d.dust3d.appdata.xml | 23 +++++++++++++++++++++++ org.dust3d.dust3d.json | 5 ++++- 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 ci/org.dust3d.dust3d.appdata.xml diff --git a/ci/dust3d.desktop b/ci/dust3d.desktop index eec22357..109bcb67 100644 --- a/ci/dust3d.desktop +++ b/ci/dust3d.desktop @@ -1,7 +1,10 @@ [Desktop Entry] +Version=1.0 Type=Application + Name=Dust3D +Comment=A quick 3D modeling tool +Categories=Graphics;Engineering Icon=dust3d Exec=dust3d -Categories=Graphics; -Comment=A quick 3D modeling tool +Terminal=false diff --git a/ci/org.dust3d.dust3d.appdata.xml b/ci/org.dust3d.dust3d.appdata.xml new file mode 100644 index 00000000..7493eb95 --- /dev/null +++ b/ci/org.dust3d.dust3d.appdata.xml @@ -0,0 +1,23 @@ + + + org.dust3d.dust3d + + Dust3D + A quick 3D modeling tool + + FSFAP + MIT + + +

+ Dust3D is a brand new 3D modeling software. It helps you create a 3D watertight base model in seconds. Use it to speed up your character modeling in game making, 3D printing, and so on. +

+
+ + org.dust3d.dust3d.desktop + + + https://raw.githubusercontent.com/huxingyi/dust3d/master/ci/screenshot.png + + +
diff --git a/org.dust3d.dust3d.json b/org.dust3d.dust3d.json index 01e1f158..96d3faca 100644 --- a/org.dust3d.dust3d.json +++ b/org.dust3d.dust3d.json @@ -59,7 +59,10 @@ "cd thirdparty/instant-meshes/build && make -j $FLATPAK_BUILDER_N_JOBS", "qmake -config release", "make CXX=\"g++ -fext-numeric-literals\"", - "install -D dust3d /app/bin/dust3d" + "install -Dm755 dust3d -t /app/bin", + "install -Dm644 ./ci/org.dust3d.dust3d.appdata.xml -t /app/share/metainfo", + "install -Dm644 ./ci/dust3d.desktop /app/share/applications/${FLATPAK_ID}.desktop", + "install -Dm644 ./ci/dust3d.png /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.png" ], "sources": [ {