added specific flatpak metadata and updated desktop file

master
Jete O'Keeffe 2020-05-01 10:39:24 -04:00
parent dc54723f84
commit dee0be675e
3 changed files with 32 additions and 3 deletions

View File

@ -1,7 +1,10 @@
[Desktop Entry] [Desktop Entry]
Version=1.0
Type=Application Type=Application
Name=Dust3D Name=Dust3D
Comment=A quick 3D modeling tool
Categories=Graphics;Engineering
Icon=dust3d Icon=dust3d
Exec=dust3d Exec=dust3d
Categories=Graphics; Terminal=false
Comment=A quick 3D modeling tool

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.dust3d.dust3d</id>
<name>Dust3D</name>
<summary>A quick 3D modeling tool</summary>
<metadata_license>FSFAP</metadata_license>
<project_license>MIT</project_license>
<description>
<p>
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.
</p>
</description>
<launchable type="desktop-id">org.dust3d.dust3d.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/huxingyi/dust3d/master/ci/screenshot.png</image>
</screenshot>
</screenshots>
</component>

View File

@ -59,7 +59,10 @@
"cd thirdparty/instant-meshes/build && make -j $FLATPAK_BUILDER_N_JOBS", "cd thirdparty/instant-meshes/build && make -j $FLATPAK_BUILDER_N_JOBS",
"qmake -config release", "qmake -config release",
"make CXX=\"g++ -fext-numeric-literals\"", "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": [ "sources": [
{ {