2020-04-15 13:15:13 +00:00
|
|
|
{
|
|
|
|
"app-id": "org.dust3d.dust3d",
|
|
|
|
"runtime": "org.kde.Platform",
|
2020-04-18 15:20:36 +00:00
|
|
|
"runtime-version": "5.14",
|
2020-04-15 13:15:13 +00:00
|
|
|
"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 ../",
|
2020-04-18 15:20:36 +00:00
|
|
|
"cd thirdparty/instant-meshes/build && make -j $FLATPAK_BUILDER_N_JOBS",
|
2020-04-15 13:15:13 +00:00
|
|
|
"qmake -config release",
|
|
|
|
"make CXX=\"g++ -fext-numeric-literals\"",
|
2020-05-01 14:39:24 +00:00
|
|
|
"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"
|
2020-04-15 13:15:13 +00:00
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/huxingyi/dust3d.git",
|
2020-04-17 13:28:17 +00:00
|
|
|
"tag": "1.0.0-rc.6"
|
2020-04-15 13:15:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "patch",
|
|
|
|
"path": "dust3d.pro.flatpak.patch"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|