The Qt viewer was split from assimp. It does not yet have a versioned release thus using the latest git revision for now. Also the header file contrib/stb_image/stb_image.h is not found where installed by libassimp-devel. Make a local symlink. Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
24 lines
773 B
Bash
24 lines
773 B
Bash
# Template file for 'assimp_qt_viewer'
|
|
pkgname=assimp_qt_viewer
|
|
version=5.0.0
|
|
revision=1
|
|
_gitrev=b2b86036a860297b86b096dba009aebeaf5a2503
|
|
wrksrc="${pkgname}-${_gitrev}"
|
|
build_style=cmake
|
|
build_wrksrc="${pkgname}"
|
|
hostmakedepends="qt5-host-tools qt5-devel"
|
|
makedepends="qt5-devel libassimp-devel"
|
|
short_desc="Qt-Widget-based viewer for assimp"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="MIT"
|
|
homepage="https://github.com/assimp/assimp_qt_viewer"
|
|
distfiles="https://github.com/assimp/${pkgname}/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=6c65e214f0a49c446a479b98b1a4795c1b79103410403ad38e28c4846eb76996
|
|
|
|
pre_build() {
|
|
ln -fsv ${XBPS_CROSS_BASE}/usr/include/assimp/contrib contrib
|
|
}
|
|
|
|
post_install() {
|
|
vlicense ${wrksrc}/LICENSE
|
|
}
|