irrlicht: update to 1.8.5.
This commit is contained in:
parent
943a4a62d8
commit
34656114fa
|
@ -1,30 +1,18 @@
|
||||||
# Template file for 'irrlicht'
|
# Template file for 'irrlicht'
|
||||||
pkgname=irrlicht
|
pkgname=irrlicht
|
||||||
version=1.8.4
|
version=1.8.5
|
||||||
revision=3
|
revision=1
|
||||||
hostmakedepends="unzip pkg-config"
|
hostmakedepends="unzip pkg-config"
|
||||||
makedepends="libjpeg-turbo-devel libpng-devel libXcursor-devel libXext-devel MesaLib-devel"
|
makedepends="libjpeg-turbo-devel libpng-devel libXcursor-devel libXext-devel
|
||||||
|
MesaLib-devel libXxf86vm-devel"
|
||||||
short_desc="Lightning fast realtime 3D engine"
|
short_desc="Lightning fast realtime 3D engine"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause, bzip2-1.0.5, IJG, Libpng"
|
license="BSD-3-Clause, bzip2-1.0.5, IJG, Libpng"
|
||||||
homepage="http://irrlicht.sourceforge.net"
|
homepage="http://irrlicht.sourceforge.net"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip"
|
||||||
checksum=f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433
|
checksum=effb7beed3985099ce2315a959c639b4973aac8210f61e354475a84105944f3d
|
||||||
CPPFLAGS="-DPNG_ARM_NEON_OPT=0"
|
CPPFLAGS="-DPNG_ARM_NEON_OPT=0"
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
cd source/Irrlicht
|
|
||||||
vsed -i 's;<sys/sysctl.h>;<linux/sysctl.h>;' COSOperator.cpp
|
|
||||||
for file in COpenGLExtensionHandler.h glext.h glxext.h wglext.h; do
|
|
||||||
$XBPS_FETCH_CMD "http://sourceforge.net/p/irrlicht/code/4600/tree/trunk/source/Irrlicht/${file}?format=raw>${file}"
|
|
||||||
done
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) # There is no <sys/sysctl.h> in musl libc
|
|
||||||
sed -e "s;<sys/sysctl\.h>;<linux/sysctl.h>;" \
|
|
||||||
-i ${wrksrc}/source/Irrlicht/COSOperator.cpp
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd ${wrksrc}/source/Irrlicht
|
cd ${wrksrc}/source/Irrlicht
|
||||||
make ${makejobs} NDEBUG=1 sharedlib
|
make ${makejobs} NDEBUG=1 sharedlib
|
||||||
|
|
Loading…
Reference in a new issue