dust3d/org.dust3d.dust3d.json

81 lines
2.8 KiB
JSON
Raw Normal View History

{
"app-id": "org.dust3d.dust3d",
"runtime": "org.kde.Platform",
"runtime-version": "5.14",
"sdk": "org.kde.Sdk",
"command": "dust3d",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--device=dri"
],
"modules": [
{
"name": "boost",
"buildsystem": "simple",
"build-commands": [
"./bootstrap.sh --prefix=/app",
"./b2 -j $FLATPAK_BUILDER_N_JOBS",
"./b2 install"
],
"cleanup": [ "/lib/libboost_*.a" ],
"sources": [
{
"type": "archive",
"url": "https://downloads.sourceforge.net/project/boost/boost/1.63.0/boost_1_63_0.tar.bz2",
"sha256": "beae2529f759f6b3bf3f4969a19c2e9d6f0c503edcb2de4a61d1428519fcb3b0"
}
]
},
{
"name": "mpfr",
"buildsystem": "autotools",
"sources": [
{
"type": "archive",
"url": "https://www.mpfr.org/mpfr-current/mpfr-4.0.2.tar.gz",
"sha256": "ae26cace63a498f07047a784cd3b0e4d010b44d2b193bab82af693de57a19a78"
}
]
},
{
"name": "cgal",
"buildsystem": "cmake",
"sources": [
{
"type": "archive",
"url": "https://github.com/CGAL/cgal/archive/releases/CGAL-4.14.3.tar.gz",
"sha256": "05badca4025ec85012942533f5f1af6314ae10ce2f7effcc094b6844c4a54985"
}
]
},
{
"name": "dust3d",
"buildsystem": "simple",
"build-commands": [
"mkdir -p thirdparty/instant-meshes/build",
"cd thirdparty/instant-meshes/build && cmake ../",
"cd thirdparty/instant-meshes/build && make -j $FLATPAK_BUILDER_N_JOBS",
"qmake -config release",
"make CXX=\"g++ -fext-numeric-literals\"",
"install -Dm755 dust3d -t /app/bin",
2020-05-08 20:58:11 +00:00
"install -Dm644 ./ci/${FLATPAK_ID}.appdata.xml -t /app/share/metainfo",
"install -Dm644 ./ci/${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop",
"install -Dm644 ./ci/dust3d.png /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.png"
],
"sources": [
{
"type": "git",
2020-05-08 21:37:02 +00:00
"url": "https://github.com/huxingyi/dust3d.git",
"commit": "fc447fe8479bc8c4cd4308b4905837fc93371ac8"
},
{
"type": "patch",
"path": "dust3d.pro.flatpak.patch"
}
]
}
]
}