summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-24 00:49:38 -0700
committerroot <root@rshg054.dnsready.net>2013-04-24 00:49:38 -0700
commit6e4a9ce4b0809e1eeb57f514f5ea71e2e77355bb (patch)
tree777883bcc66e4420c1eaf7aaea255326b46690e7 /libre
parentd1d93fafb9ef98fdd0c9a5a486c179c03cbbfb33 (diff)
Wed Apr 24 00:49:37 PDT 2013
Diffstat (limited to 'libre')
-rw-r--r--libre/blender-libre/PKGBUILD47
-rw-r--r--libre/opencollada/PKGBUILD52
2 files changed, 77 insertions, 22 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index 441e658a9..e303d8d2b 100644
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -1,4 +1,3 @@
-# $Id$
# Maintainer: Márcio Silva <coadde@lavabit.com>
_spacenav=false
@@ -14,7 +13,7 @@ fi
epoch=7
pkgver=2.66a
_pyver=3.3
-pkgrel=3
+pkgrel=4
pkgdesc="Fully integrated 3D graphics creation suite, without nonfree povray and cuda support$_spndesc"
arch=(
i686
@@ -22,21 +21,23 @@ arch=(
mips64el
)
license=GPL
-url="http://www.${_pkgname%-$_pkgflag}.org"
+url=http://www.${_pkgname%-$_pkgflag}.org
depends=(
desktop-file-utils
- ffmpeg
- fftw
- freetype2
+ 'ffmpeg=1:1.2'
+ fftw #3.3.3
+ freetype2 #2.4.11
hicolor-icon-theme
+ 'ilmbase=2.0.0'
jack
- libpng
- libtiff
- openal
- openimageio
- opencollada
- opencolorio
- openshadinglanguage
+ libpng #1.5.15
+ libtiff #4.0.3
+ openal #1.15.1
+ 'openexr=2.0.0'
+ openimageio #1.1.9
+ 'opencollada=20130305'
+ opencolorio #1.0.8
+ openshadinglanguage #1.3.0
shared-mime-info
xdg-utils
)
@@ -45,27 +46,29 @@ if [ $_spacenav == true ]; then
libspnav
)
fi
-optdepends='bullet: for Rigid Bodies and Physics Simulation'
+optdepends=(
+ 'bullet: for Rigid Bodies and Physics Simulation'
+ 'xcftools: for import GIMP images to scene (pcr repo)'
+)
makedepends=(
boost
cmake
mesa
subversion
)
-provides=(
- ${_pkgname%-$_pkgflag}=$epoch:$pkgver
-)
+provides=(${_pkgname%-$_pkgflag}=$epoch:$pkgver)
conflicts=${_pkgname%-$_pkgflag}
replaces=${_pkgname%-$_pkgflag}
install=$_pkgname.install
-source="http://download.${_pkgname%-$_pkgflag}.org/source/${_pkgname%-$_pkgflag}-$pkgver.tar.gz"
+source=http://download.${_pkgname%-$_pkgflag}.org/source/${_pkgname%-$_pkgflag}-$pkgver.tar.gz
sha512sums=ea5def031daa220991f6165950234b311e8ae3baa6785d6226efefa90b64e1b83e8635f71f9a7fc7ae23923ce313d5ae48ffa0c54cf7ff794a4fb2dacbe8714f
-build() {
- cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver
+prepare() {
+ mkdir cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
+}
- mkdir build
- cd build
+build() {
+ cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
[[ $CARCH == i686 ]] && DSUPPORT_SSE2_BUILD='-DSUPPORT_SSE2_BUILD=OFF'
diff --git a/libre/opencollada/PKGBUILD b/libre/opencollada/PKGBUILD
new file mode 100644
index 000000000..2cf700e1f
--- /dev/null
+++ b/libre/opencollada/PKGBUILD
@@ -0,0 +1,52 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=opencollada
+pkgver=20130305
+pkgrel=1
+pkgdesc="Stream based reader and writer library for COLLADA files (built for the blender-libre package)"
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=https://github.com/KhronosGroup/OpenCOLLADA
+license=GPL
+depends=(
+ libxml2
+ pcre
+)
+makedepends=(
+ git
+ cmake
+)
+source=git://github.com/KhronosGroup/OpenCOLLADA.git
+sha512sums=SKIP
+
+prepare() {
+ cd $srcdir/OpenCOLLADA
+
+ # adapt source to last blender release
+ git reset --hard da9f1c3d5da28d475f35ff1175d60cb74fa0f661 # Tue Mar 5 11:30:27 2013 +0100
+
+ [[ -d build ]] && rm -r build
+ mkdir build
+}
+
+build() {
+ cd $srcdir/OpenCOLLADA/build
+
+ setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/OpenCOLLADA/build
+
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ install -d $pkgdir/etc/ld.so.conf.d
+ echo /usr/lib/$pkgname > $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+}
+
+# vim:set ts=2 sw=2 et:
+