coin3: cross-compile

This commit is contained in:
Đoàn Trần Công Danh 2020-02-25 16:49:36 +07:00 committed by Juan RP
parent b6ae18ebc6
commit e8bb71dbbd

View file

@ -3,28 +3,24 @@ pkgname=coin3
version=3.1.3
revision=4
wrksrc="Coin-${version}"
patch_args="-Np1"
build_style=gnu-configure
configure_args="--includedir=/usr/include/Coin3 --disable-dependency-tracking
--disable-static --enable-threadsafe --enable-exceptions
--disable-dl-simage --disable-dl-glu --disable-dl-libbzip2
--disable-dl-zlib --disable-dl-freetype --disable-dl-fontconfig
--enable-3ds-import --enable-html"
--enable-3ds-import --enable-html
sim_ac_simage_configcmd=$XBPS_CROSS_BASE/usr/bin/simage-config"
hostmakedepends="pkg-config doxygen perl"
makedepends="freetype-devel glu-devel zlib-devel bzip2-devel
fontconfig-devel boost-devel simage-devel"
# depends on script simage-config
nocross=yes
short_desc="High-level 3D graphics toolkit"
maintainer="yopito <pierre.bourgin@free.fr>"
# HomePage tells BSD 3-Clause license, but tarball is GPLv2
license="GPL-2"
license="GPL-2.0-only"
homepage="https://bitbucket.org/Coin3D/coin/wiki/Home"
distfiles="https://bitbucket.org/Coin3D/coin/downloads/Coin-${version}.tar.gz"
checksum=583478c581317862aa03a19f14c527c3888478a06284b9a46a0155fa5886d417
patch_args="-Np1"
post_extract() {
# remove bundled boost headers