summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd5080ac9271..366028994e5f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = k3d-git
pkgdesc = 3D modelling and animation software
pkgver = 0.8.0.6+17
- pkgrel = 1
+ pkgrel = 2
url = http://www.k-3d.org
arch = i486
arch = i686
@@ -40,7 +40,6 @@ pkgbase = k3d-git
depends = graphviz
depends = opencollada
optdepends = aqsis: Rendering engine
- optdepends = boost-python2: Python support
provides = k3d
conflicts = k3d
source = git+https://github.com/K-3D/k3d.git
diff --git a/PKGBUILD b/PKGBUILD
index 9a803176a44a..f4c5a94261ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ fi
pkgname=k3d-git
pkgver=0.8.0.6+17
-pkgrel=1
+pkgrel=2
pkgdesc="3D modelling and animation software"
arch=('i486' 'i686' 'pentium4' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="http://www.k-3d.org"
@@ -80,9 +80,11 @@ build() {
# The cmake script finds a mix of imagmagick 6 and 7, specify 7 directly.
# The python paths are given to sort out python 3.
# The openexr module does not compile anymore and is thus disabled.
+ # And set the cmake policy to link against the new OpenGL library.
cmake ../k3d \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_POLICY_DEFAULT_CMP0072=NEW \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \