metadata
Wenzel Jakob 2013-11-11 11:23:38 -05:00
commit 5db73e721c
2 changed files with 16 additions and 6 deletions

View File

@ -2,20 +2,28 @@
# Contributer: Wenzel Jakob <wenzel@mitsuba-renderer.org> # Contributer: Wenzel Jakob <wenzel@mitsuba-renderer.org>
pkgname="collada-dom" pkgname="collada-dom"
pkgver=2.3.1 pkgver=2.4.0
pkgrel=1 pkgrel=1
pkgdesc="An API that provides a C++ object representation of a COLLADA XML instance document." pkgdesc="An API that provides a C++ object representation of a COLLADA XML instance document."
url="http://collada-dom.sourceforge.net/" url="http://collada-dom.sourceforge.net/"
license=("MIT") license=("MIT")
arch=("i686" "x86_64") arch=("i686" "x86_64")
depends=("libxml2" "boost" "pcre") #"libminizip" depends=("libxml2" "boost" "pcre")
# makedepends=() # makedepends=()
source=("http://downloads.sourceforge.net/${pkgname}/collada_dom-${pkgver}-src.tgz") source=("http://downloads.sourceforge.net/${pkgname}/collada-dom-${pkgver}.tgz")
md5sums=("a74d19c1187806a713cec90c2f0f692c") md5sums=("20399de4206eab850c32e65c04e907cb")
build() { build() {
cd ${pkgname}-${pkgver}/dom cd ${pkgname}-${pkgver}/dom
make project=dom sed -i.bak "s/domMinorVersion := 2/domMinorVersion := 4/g" Makefile
cd external-libs
rm -Rf minizip
mv minizip-1.1 minizip
ln -s . minizip/src
ln -s . minizip/include
cd ..
make project=minizip libOpts="-Wl,-soname -Wl,libminizip.so.1.2.3" ccFlags="-fPIC"
make project=dom libOpts="-Wl,-soname -Wl,libcollada14dom.so.2.4" ccFlags="-DCOLLADA_DOM_SUPPORT141 -fPIC"
} }
package() { package() {

View File

@ -8,7 +8,7 @@ pkgdesc="Mitsuba physically based renderer"
url="http://mitsuba-renderer.org/" url="http://mitsuba-renderer.org/"
license=("GPL3") license=("GPL3")
arch=("i686" "x86_64") arch=("i686" "x86_64")
depends=("xerces-c" "glew" "openexr" "boost" "libpng" "libjpeg" "qt4" "collada-dom", "fftw") depends=("xerces-c" "glew" "openexr" "boost" "libpng" "libjpeg" "qt4" "collada-dom" "fftw")
makedepends=("mercurial" "scons") makedepends=("mercurial" "scons")
provides=("mitsuba") provides=("mitsuba")
@ -33,6 +33,7 @@ package() {
${pkgdir}/usr/share/applications \ ${pkgdir}/usr/share/applications \
${pkgdir}/usr/share/pixmaps \ ${pkgdir}/usr/share/pixmaps \
${pkgdir}/usr/include/mitsuba/{core,hw,render,bidir} \ ${pkgdir}/usr/include/mitsuba/{core,hw,render,bidir} \
${pkgdir}/usr/lib/python2.7/lib-dynload \
${pkgdir}/usr/lib/python3.3/lib-dynload ${pkgdir}/usr/lib/python3.3/lib-dynload
cd ${_hgrepo} cd ${_hgrepo}
@ -46,6 +47,7 @@ package() {
install -m644 dist/data/schema/* ${pkgdir}/usr/share/mitsuba/data/schema install -m644 dist/data/schema/* ${pkgdir}/usr/share/mitsuba/data/schema
install -m644 dist/data/ior/* ${pkgdir}/usr/share/mitsuba/data/ior install -m644 dist/data/ior/* ${pkgdir}/usr/share/mitsuba/data/ior
install -m644 dist/data/microfacet/* ${pkgdir}/usr/share/mitsuba/data/microfacet install -m644 dist/data/microfacet/* ${pkgdir}/usr/share/mitsuba/data/microfacet
install -m644 dist/python/2.7/mitsuba.so ${pkgdir}/usr/lib/python2.7/lib-dynload
install -m644 dist/python/3.3/mitsuba.so ${pkgdir}/usr/lib/python3.3/lib-dynload install -m644 dist/python/3.3/mitsuba.so ${pkgdir}/usr/lib/python3.3/lib-dynload
install -m644 data/linux/mitsuba.desktop ${pkgdir}/usr/share/applications install -m644 data/linux/mitsuba.desktop ${pkgdir}/usr/share/applications
install -m644 src/mtsgui/resources/mitsuba48.png ${pkgdir}/usr/share/pixmaps install -m644 src/mtsgui/resources/mitsuba48.png ${pkgdir}/usr/share/pixmaps