# Contributor: David Demelier # Maintainer: David Demelier pkgname=tiled pkgver=1.10.1 pkgrel=1 pkgdesc="powerful tile map editor" url="http://mapeditor.org" # ppc64le: Segfault. # riscv64: qt5 fails to ever be found on riscv64 # armhf: hangs in build # 32-bit: no qbs arch="all !armv7 !x86 !armhf !ppc64le !riscv64" license="Apache-2.0 AND BSD-2-Clause AND GPL-2.0-only" makedepends="qt6-qttools-dev qt6-qtdeclarative-dev qt6-qtsvg-dev qbs" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/bjorn/tiled/archive/v$pkgver.tar.gz" options="!check" # No tests. build() { qbs config:release \ qbs.installPrefix:"/usr" \ projects.Tiled.useRPaths:false \ projects.Tiled.installHeaders:true \ moduleProviders.Qt.qmakeFilePaths:/usr/lib/qt6/bin/qmake } package() { qbs install \ config:release \ --install-root "$pkgdir" } sha512sums=" 3c0f268e943ddbfa49cb5b193994200985397aa0b3e255da32a414428c3f8bfb7a12d59d05bdbcb2f230dc1f4153b0dbae877fcbbd2a51da9b6cfd2c8c1e01ac tiled-1.10.1.tar.gz "