diff --git a/srcpkgs/dust3d/patches/QPainterPath.patch b/srcpkgs/dust3d/patches/QPainterPath.patch deleted file mode 100644 index 811b22a04e9eaa..00000000000000 --- a/srcpkgs/dust3d/patches/QPainterPath.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/texturegenerator.h 2019-07-11 15:02:38.000000000 +0200 -+++ b/src/texturegenerator.h 2020-09-01 01:01:14.662510375 +0200 -@@ -4,6 +4,7 @@ - #include - #include - #include -+#include - #include "outcome.h" - #include "meshloader.h" - #include "snapshot.h" diff --git a/srcpkgs/dust3d/patches/stdint.patch b/srcpkgs/dust3d/patches/stdint.patch deleted file mode 100644 index 117c70cb5adf54..00000000000000 --- a/srcpkgs/dust3d/patches/stdint.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/thirdparty/fbx/src/fbxnode.h -+++ b/thirdparty/fbx/src/fbxnode.h -@@ -2,6 +2,9 @@ - #define FBXNODE_H - - #include "fbxproperty.h" -+#include -+#include -+#include - - namespace fbx { - diff --git a/srcpkgs/dust3d/template b/srcpkgs/dust3d/template index ead52f35f2b04a..5d7166b1109a36 100644 --- a/srcpkgs/dust3d/template +++ b/srcpkgs/dust3d/template @@ -1,19 +1,26 @@ # Template file for 'dust3d' pkgname=dust3d -version=1.0.0b21 +version=1.0.3 revision=1 _version="${version/b/-beta.}" build_style=qmake +build_wrksrc="application" hostmakedepends="pkg-config qt5-host-tools qt5-qmake" -makedepends="qt5-devel cgal-devel" +makedepends="qt5-devel qt5-svg-devel qt5-multimedia-devel cgal-devel" short_desc="3D Modeling software" maintainer="Andrew Benson " license="MIT" homepage="https://dust3d.org/" distfiles="https://github.com/huxingyi/dust3d/archive/${_version}.tar.gz" -checksum=7c29e1153e6b568459ab8a8fadbec3398a43b5d60f295018c3f0cdcad2d2b4b1 +checksum=66048c0fcf50f4737e7855f1b23ebaae3ae93510024ff8a5bdd09af6b07c44ee + +pre_configure() { + export CFLAGS="-include stdint.h ${CFLAGS}" + export CXXFLAGS="-include cstdint ${CXXFLAGS}" +} do_install() { - vbin dust3d + cd ${wrksrc} + vbin application/dust3d vlicense LICENSE }