25 lines
762 B
Bash
25 lines
762 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="Orphaned <orphan@voidlinux.org>"
|
|
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
|
|
}
|