1 # $Id: PKGBUILD,v 1.5 2008/05/30 11:51:52 kth5 Exp $
2 # x86 Contributor: Gino Pezzin <pezzin@gmail.com>
6 pkgdesc="k-3d is a complete free-as-in-freedom 3D modeling, animation and rendering system."
7 url="http://www.k-3d.org/"
10 depends=('expat' 'libxml2' 'gtkmm' 'gtkglext' 'libsigc++' 'python' 'imagemagick' 'openexr' \
11 'freetype2' 'libtiff' 'graphviz' 'mesa' 'libgnome')
12 makedepends=('pkgconfig' 'cmake' 'doxygen')
14 source=(http://downloads.sourceforge.net/sourceforge/k3d/${pkgname}-source-${pkgver}.tar.gz \
15 k3d.desktop libpng.patch gtk_combobox.patch gcc-4.6.patch)
18 cd ${srcdir}/${pkgname}-source-${pkgver}
19 patch -Np1 -i ${srcdir}/libpng.patch
20 patch -Np1 -i ${srcdir}/gcc-4.6.patch
21 patch -Np1 -i ${srcdir}/gtk_combobox.patch
25 cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
26 -DSYSCONF_INSTALL_DIR=/etc \
27 -DK3D_IMAGEMAGICK_INCLUDE_DIR=/usr/include/ImageMagick
29 make DESTDIR=${pkgdir} install
30 install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
32 md5sums=('28e506c42d609ae89ef18a393980deb1'
33 '1ee5960bd6dc219a3ec186abfae1934c'
34 '75a596105450842b4dd7eec77dc1c592'
35 '1210a07b34fb25da41b2c2b918f27c8d'
36 '62f17c529924b25722abad30aaa6f0b2')