{ "app-id": "org.dust3d.dust3d", "runtime": "org.kde.Platform", "runtime-version": "5.14", "sdk": "org.kde.Sdk", "branch": "stable", "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 4", "qmake -config release", "make CXX=\"g++ -fext-numeric-literals\"", "install -D dust3d /app/bin/dust3d" ], "sources": [ { "type": "git", "url": "https://github.com/huxingyi/dust3d.git", "tag": "1.0.0-rc.6" }, { "type": "patch", "path": "dust3d.pro.flatpak.patch" } ] } ] }