diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 12 insertions, 26 deletions
@@ -1,7 +1,7 @@ pkgbase = dust3d pkgdesc = 3D watertight modeling software - pkgver = 1.0.0rc.6 - pkgrel = 2 + pkgver = 1.0.0rc.7 + pkgrel = 1 url = https://dust3d.org/ arch = x86_64 license = MIT @@ -9,13 +9,10 @@ pkgbase = dust3d makedepends = cmake makedepends = qt5-tools depends = qt5-base - depends = cgal - source = dust3d-1.0.0-rc.6.tar.gz::https://github.com/huxingyi/dust3d/archive/1.0.0-rc.6.tar.gz - source = qt5.15_painterpath.patch + depends = qt5-svg + source = dust3d-1.0.0-rc.7.tar.gz::https://github.com/huxingyi/dust3d/archive/1.0.0-rc.7.tar.gz source = dust3d.desktop - sha256sums = 171a12dad39ffd40551126e304a05f036958145fab2a45631929831e2c6bbee9 - sha256sums = 038dc92c464e9ca768fa2d21ee5272a87e5ed6bf0b1293582905cd56768e23c7 + sha256sums = fa1b00d437f680eddf983fa46d29e2e223bfaef82c5c331d0cb672fa04ecccdb sha256sums = f4742bc1a2795b435f8343f20516763522b8f710fefbb3e75ce7a02ea634a691 pkgname = dust3d - @@ -1,45 +1,34 @@ # Maintainer: Blair Bonnett <blair dot bonnett @ gmail dot com> pkgname=dust3d -_pkgver=1.0.0-rc.6 +_pkgver=1.0.0-rc.7 pkgver="${_pkgver//-/}" -pkgrel=2 +pkgrel=1 pkgdesc="3D watertight modeling software" url="https://dust3d.org/" license=('MIT') -depends=('qt5-base' 'cgal') +depends=('qt5-base' 'qt5-svg') makedepends=('boost' 'cmake' 'qt5-tools') arch=('x86_64') source=( "dust3d-$_pkgver.tar.gz::https://github.com/huxingyi/dust3d/archive/$_pkgver.tar.gz" - 'qt5.15_painterpath.patch' 'dust3d.desktop' ) sha256sums=( - '171a12dad39ffd40551126e304a05f036958145fab2a45631929831e2c6bbee9' - '038dc92c464e9ca768fa2d21ee5272a87e5ed6bf0b1293582905cd56768e23c7' + 'fa1b00d437f680eddf983fa46d29e2e223bfaef82c5c331d0cb672fa04ecccdb' 'f4742bc1a2795b435f8343f20516763522b8f710fefbb3e75ce7a02ea634a691' ) -prepare() { - cd "dust3d-$_pkgver" - patch -p0 -i "$srcdir/qt5.15_painterpath.patch" # Include needed with Qt 5.15.0. -} - build() { - cd "$srcdir/dust3d-$_pkgver/thirdparty/instant-meshes" - cmake -B build - make -C build - - cd "$srcdir/dust3d-$_pkgver" - qmake -config release "QMAKE_LFLAGS+=-Wl,--sort-common,--as-needed,-z,relro,-z,now" dust3d.pro + cd "dust3d-$_pkgver/application" + qmake make } package() { install -t "$pkgdir/usr/share/applications" -Dm644 dust3d.desktop cd "$srcdir/dust3d-$_pkgver" - install -t "$pkgdir/usr/bin" -D dust3d + install -t "$pkgdir/usr/bin" -D application/dust3d install -t "$pkgdir/usr/share/licenses/dust3d" -Dm644 LICENSE } |