2016-02-29 14:02:26 +00:00
|
|
|
# Template file for 'opencollada'
|
|
|
|
pkgname=opencollada
|
2016-05-30 20:10:00 +00:00
|
|
|
version=1.6.18
|
2016-02-29 14:02:26 +00:00
|
|
|
revision=1
|
2016-04-12 09:03:48 +00:00
|
|
|
wrksrc="OpenCOLLADA-${version}"
|
2016-02-29 14:02:26 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DUSE_SHARED=TRUE"
|
|
|
|
hostmakedepends="cmake pkg-config"
|
|
|
|
makedepends="libxml2-devel pcre-devel"
|
|
|
|
short_desc="Stream based reader and writer library for COLLADA files"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://github.com/KhronosGroup/OpenCOLLADA"
|
2016-04-12 09:03:48 +00:00
|
|
|
distfiles="https://github.com/KhronosGroup/OpenCOLLADA/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
2016-05-30 20:10:00 +00:00
|
|
|
checksum=9835aa0b6efdb6602e58a84ee245a443002dc7196af3b7660e6888680d5d5990
|
2016-02-29 14:02:26 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# Move libraries to /usr/lib to avoid adding to /etc/ld.so.conf.d
|
|
|
|
mv ${DESTDIR}/usr/lib/opencollada/* ${DESTDIR}/usr/lib
|
|
|
|
}
|
|
|
|
|
|
|
|
opencollada-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
# usr/lib contains only unversioned *.so files
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
}
|
|
|
|
}
|