summaryrefslogtreecommitdiffstats
path: root/kde/kdebindings/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kdebindings/Pkgfile')
-rwxr-xr-xkde/kdebindings/Pkgfile25
1 files changed, 16 insertions, 9 deletions
diff --git a/kde/kdebindings/Pkgfile b/kde/kdebindings/Pkgfile
index 667203e1c..5e1fc0fb2 100755
--- a/kde/kdebindings/Pkgfile
+++ b/kde/kdebindings/Pkgfile
@@ -3,23 +3,30 @@
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: ruby, kdepim-runtime, kdegraphics, qscintilla
-# Run on: kdegraphics,kdebase-runtime,kdebase-workspace,qscintilla,kdepimlibs,ruby,pyqt
name=kdebindings
-version=4.5.4
-release=3
-source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2
- kdebindings4.5.4-sip.patch )
+version=4.6.0
+release=1
+_pydir=python2.7
+source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2)
+
build() {
- cd $name-$version
- patch -Np0 -i ../kdebindings4.5.4-sip.patch
+ cd $name-*
+
mkdir build
- cd build
+ cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DWITH_PolkitQt=ON
+
+# -DPYTHON_EXECUTABLE=/usr/bin/$_pybin \
+# -DPYTHON_INCLUDE_DIR=/usr/include/$_pydir \
+# -DPYTHON_LIBRARY=/usr/lib/lib$_pydir.so
+ make
make DESTDIR=$PKG install
}