summaryrefslogtreecommitdiff
path: root/libre/ogre-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/ogre-libre/PKGBUILD')
-rw-r--r--libre/ogre-libre/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/libre/ogre-libre/PKGBUILD b/libre/ogre-libre/PKGBUILD
index f0ff93a83..beb82710d 100644
--- a/libre/ogre-libre/PKGBUILD
+++ b/libre/ogre-libre/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Márcio Silva <coadde@lavabit.com>
_bldname=blender
-_bldver=2.68
+_bldver=2.69
_bldep=10
# ($srcdir/Tools/${_bldname^}2.5Export/__init__.py:bl_info>version)
@@ -13,8 +13,8 @@ pkgname=(
$pkgbase-libre
#$_bldname-addon-$pkgbase # package unstable
)
-pkgver=1.8.1
-pkgrel=5
+pkgver=1.9.0
+pkgrel=1
pkgdesc='Scene-oriented, flexible 3D engine written in C++, without nonfree software support and files'
arch=(
mips64el
@@ -27,10 +27,12 @@ depends=(
boost-libs
freeimage
freetype2
+ gcc-go
glu
libxaw
libxrandr
ois
+ tinyxml
zziplib
)
makedepends=(
@@ -39,13 +41,19 @@ makedepends=(
doxygen
graphviz
mesa
+ mercurial
ttf-dejavu
)
-source=https://downloads.sourceforge.net/$pkgbase/${pkgbase}_src_v${pkgver//./-}.tar.bz2
+source=(
+ hg+ssh://hg@bitbucket.org/sinbad/ogre#tag=v${pkgver//./-}
+ freetype.patch
+)
sha512sums=0bbce593e5a9ebf51e3cb53661f6447d99ae28a53365d7f518c6d408216690527ef7552385160cff8d5c3ef15d3ab5c2520ef2c1f51fda5541d5d4dca4663ae2
build() {
- cd $srcdir/${pkgbase}_src_v${pkgver//./-}
+ cd ${pkgbase}
+
+ patch -Np1 < $srcdir/freetype.patch
# get a clean build dir
[[ -d build ]] && rm -vrf build
@@ -100,7 +108,7 @@ package_ogre-libre() {
conflicts=$pkgbase
replaces=$pkgbase
- cd $srcdir/${pkgbase}_src_v${pkgver//./-}/build
+ cd ${pkgbase}/build
make DESTDIR=$pkgdir install
@@ -123,7 +131,7 @@ package_blender-addon-ogre() {
pkgver=$_addver.v$_bldver
pkgrel=$_addrel
- cd $srcdir/${pkgbase}_src_v${_pkgver//./-}
+ cd ${pkgbase}
a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
install -vd $a && cp -va Tools/${_bldname^}2.5Export $a/$pkgbase
}