Added FreeCAD dependencies.

parent 91975668
2011-05-17 Korthaerd (korthaerd) <korthaerd at gmail dot com>
* 3.1.3 :
First release straight from AUR
Initialy writed by :
- Thomas Dziedzic < gostrc at gmail >
- mickele
- marcus fritzsch <fritschy@googlemail.com>
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=coin
_pkgname=Coin
pkgver=3.1.3
pkgrel=1
pkgdesc='Coin3D is a high-level 3D graphics toolkit on top of OpenGL.'
url='http://www.coin3d.org/'
license=('GPL')
arch=('i686' 'x86_64')
depends=('mesa' 'expat')
makedepends=('doxygen')
optdepends=('openal: sound/dynamic linking support'
'fontconfig: dynamic linking support'
'zlib: dynamic linking support'
'freetype2: dynamic linking support'
'spidermonkey: dynamic linking support')
options=('!libtool')
changelog=ChangeLog
source=("http://ftp.coin3d.org/coin/src/all/$_pkgname-$pkgver.tar.gz")
md5sums=('1538682f8d92cdf03e845c786879fbea')
build() {
cd $_pkgname-$pkgver
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-optimization \
--enable-3ds-import \
--enable-javascript-api \
--enable-threadsafe \
--enable-exceptions \
--enable-man \
--with-mesa \
--disable-debug \
--enable-shared \
--disable-maintainer-mode \
--disable-dependency-tracking \
--enable-system-expat
make
}
package() {
cd $_pkgname-$pkgver
make DESTDIR=$pkgdir install
# Final adjustments.
for _FILE in threads deprecated
do
mv $pkgdir/usr/share/man/man3/$_FILE.3 $pkgdir/usr/share/man/man3/$pkgname-$_FILE.3
done
}
2011-05-17 Korthaerd (korthaerd) <korthaerd at gmail dot com>
* 6.5.0 :
First release straight from AUR
Change depends java-runtime by openjdk6
Initialy writed by :
- Giuseppe Borzi <gborzi@ieee.org>
- Brice M<E9>alier <mealier_brice@yahoo.fr>
- Michele Mocciola <mickele>
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=opencascade
pkgver=6.5.1
_pkgver2=651
pkgrel=1
pkgdesc="Open CASCADE Technology, 3D modeling & numerical simulation."
arch=('i686' 'x86_64')
url="http://www.opencascade.org"
license=('custom:Open CASCADE Technology Public License')
depends=('tk' 'mesa' 'openjdk6' 'libxmu')
makedepends=('openjdk6' 'ftgl')
options=(!libtool)
changelog=ChangeLog
source=("http://files.$pkgname.com/OCCT/OCC_${pkgver}_release/OpenCASCADE$_pkgver2.tar.gz"
"env.sh"
"$pkgname.sh"
"$pkgname.conf"
"missing-header.diff")
md5sums=('3d554533671c1c817ed0b70078e9e210'
'acf8ad1e470cd7d1c2033954c1b0f03a'
'8612eae471692a42019ebda8a5db5d93'
'2924ecf57c95d25888f51071fdc72ad0'
'e0e70dcf29863133ae8c17ef8f5f2ba8')
build() {
cd $srcdir/ros
# Patches.
patch -uN $srcdir/ros/src/OSD/OSD_MAllocHook.cxx $srcdir/missing-header.diff
export CPLUS_INCLUDE_PATH=/usr/include/FTGL:/usr/include/freetype2
export CASROOT=$srcdir/ros
export CFLAGS="$CFLAGS -fpermissive"
export CXXFLAGS="$CXXFLAGS -fpermissive"
./configure \
--disable-debug \
--enable-production \
--with-java-include=/usr/lib/jvm/java-6-openjdk/include/ \
--prefix=$pkgdir/usr/share/$pkgname
make
}
package() {
cd $srcdir/ros
make install
install -D -m644 $srcdir/$pkgname.conf $pkgdir/etc/ld.so.conf.d/$pkgname.conf
install -D -m 755 $srcdir/$pkgname.sh $pkgdir/etc/profile.d/$pkgname.sh
install -m 755 $srcdir/env.sh $pkgdir/usr/share/$pkgname
install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/License.txt
}
#!/bin/sh -f
export OS_NAME=`uname`
export PATH=$CASROOT/bin:$PATH;
export LD_LIBRARY_PATH=$CASROOT/lib:$LD_LIBRARY_PATH;
export CSF_LANGUAGE=us
export MMGT_CLEAR=1
export CSF_EXCEPTION_PROMPT=1
export CSF_MDTVFontDirectory=$CASROOT/src/FontMFT
export CSF_SHMessage=$CASROOT/src/SHMessage
export CSF_MDTVTexturesDirectory=$CASROOT/src/Textures
export CSF_XSMessage=$CASROOT/src/XSMessage
export CSF_StandardDefaults=$CASROOT/src/StdResource
export CSF_PluginDefaults=$CASROOT/src/StdResource
export CSF_XCAFDefaults=$CASROOT/src/StdResource
export CSF_StandardLiteDefaults=$CASROOT/src/StdResource
export CSF_UnitsLexicon=$CASROOT/src/UnitsAPI/Lexi_Expr.dat
export CSF_UnitsDefinition=$CASROOT/src/UnitsAPI/Units.dat
export CSF_IGESDefaults=$CASROOT/src/XSTEPResource
export CSF_STEPDefaults=$CASROOT/src/XSTEPResource
export CSF_XmlOcafResource=$CASROOT/src/XmlOcafResource
export CSF_GraphicShr=$CASROOT/lib/libTKOpenGl.so
export TCLHOME=/usr
export TCLLIBPATH=$TCLHOME/lib
export ITK_LIBRARY=$TCLLIBPATH
export ITCL_LIBRARY=$TCLLIBPATH
if [ -n "TIX_LIBRARY" ]; then
export TIX_LIBRARY="";
fi
export TK_LIBRARY=$TCLLIBPATH
export TCL_LIBRARY=$TCLLIBPATH
--- OSD_MAllocHook.cxx.old 2011-05-19 13:24:52.000000000 +0200
+++ OSD_MAllocHook.cxx.new 2011-06-24 06:42:22.000000000 +0200
@@ -15,6 +15,8 @@
#include <set>
#include <map>
+#include <stdlib.h>
+
#ifndef SIZE_MAX
#define SIZE_MAX UINT_MAX
#endif
/opt/opencascade/lib
export CASROOT=/usr/share/opencascade
source /usr/share/opencascade/env.sh
2011-05-17 Korthaerd (korthaerd) <korthaerd at gmail dot com>
* 20100809 :
First release straight from AUR
Initialy writed by :
- Přemysl Janouch <p.janouch@gmail.com>
- Michele Mocciola <mickele>
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=pivy-hg
pkgver=20101207
pkgrel=1
pkgdesc="Coin binding for Python."
arch=('i686' 'x86_64')
url="http://pivy.coin3d.org"
license=('BSD')
depends=('python2' 'soqt')
makedepends=('swig')
provides=('pivy')
conflicts=('pivy')
_pivyrev=8eab90908f2a
changelog=ChangeLog
source=("http://hg.sim.no/Pivy/default/archive/$_pivyrev.tar.bz2")
md5sums=('38bd55d54f74defe651337ac67bdb30f')
package() {
cd $srcdir/default-$_pivyrev
python2 setup.py install \
--root=$pkgdir
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
20011-05-17 Korthaerd (korthaerd) <korthaerd at gmail dot com>
* 1.5.0 :
First release straight from AUR
Initialy writed by :
- Thomas Dziedzic < gostrc at gmail >
- mickele
- marcus fritzsch <fritschy@googlemail.com>
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=soqt
_pkgname=SoQt
pkgver=1.5.0
pkgrel=1
pkgdesc='SoQt is a library which provides the glue between Coin and Qt.'
arch=('i686' 'x86_64')
url='http://www.coin3d.org/lib/soqt/'
license=('GPL')
depends=('coin' 'qt')
makedepends=('doxygen')
options=('!libtool')
changelog=ChangeLog
source=("http://ftp.coin3d.org/coin/src/all/$_pkgname-$pkgver.tar.gz")
md5sums=('9f1e582373d66f556b1db113a93ac68e')
build() {
cd $_pkgname-$pkgver
./configure \
--prefix=/usr \
--enable-optimization \
--enable-man \
--enable-exceptions \
--disable-debug \
--disable-maintainer-mode \
--disable-dependency-tracking \
--enable-shared \
--disable-static \
--with-qt=/usr
make
}
package() {
cd $_pkgname-$pkgver
make DESTDIR=$pkgdir install
}
2011-05-17 Korthaerd (korthaerd) <korthaerd at gmail dot com>
* 1.3.40 :
First release straight from AUR
Initialy writed by :
- Hilton Medeiros <medeiros.hilton at gmail dot com>
- Jason Chu <jason@archlinux.org>
- Tom Newsom <Jeepster@gmx.co.uk>
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=swig1
_pkgname=swig
pkgver=1.3.40
pkgrel=1
pkgdesc="A compiler that integrates C and C++ code with scripting languages (legacy version)"
arch=('i686' 'x86_64')
url="http://www.swig.org/"
license=('GPL')
depends=('gcc-libs' 'zlib')
conflicts=('swig' 'swig-pantheon')
provides=('swig')
changelog=ChangeLog
source=("http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz")
md5sums=('2df766c9e03e02811b1ab4bba1c7b9cc')
build() {
cd $srcdir/$_pkgname-$pkgver
./configure \
--prefix=/usr
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make DESTDIR=$pkgdir install
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment