1 pkgname=nvidia-texture-tools
4 pkgdesc="GPU-accelerated Texture Tools with support for DirectX 10 texture formats"
6 url="http://code.google.com/p/nvidia-texture-tools/"
8 depends=('libpng' 'libjpeg' 'libtiff' 'openexr')
10 source=(http://nvidia-texture-tools.googlecode.com/files/${pkgname}-${pkgver}-1.tar.gz
11 nvidia-texture-tools-2.0.8-add-pthread.patch
14 md5sums=('7449c95ca1583b512561c83c5a5f401c'
15 '55d011f08ef9c924a7fd5b2c8b9e2c85'
16 'c67927632740fbea5efb02969b97b52c'
17 'a044c7cae45e8c9946b4349e34793656')
20 cd ${srcdir}/${pkgname}
22 # add -pthread to linker, r1211
23 patch -p1 -i ${srcdir}/nvidia-texture-tools-2.0.8-add-pthread.patch
24 # Fix aliasing bug, r1167
25 patch -p1 -i ${srcdir}/issue139.patch
26 # patch for CUDA 3.0, this pkg doesn't require cuda, but be nice
27 patch -p2 -i ${srcdir}/r1157.patch
29 ./configure --prefix=/usr --release
34 cd ${srcdir}/${pkgname}
35 make DESTDIR=${pkgdir} install