summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kde/kdebindings/.md5sum3
-rwxr-xr-xkde/kdebindings/Pkgfile25
2 files changed, 17 insertions, 11 deletions
diff --git a/kde/kdebindings/.md5sum b/kde/kdebindings/.md5sum
index 4c2b12a8f..87e3084b6 100644
--- a/kde/kdebindings/.md5sum
+++ b/kde/kdebindings/.md5sum
@@ -1,2 +1 @@
-e1b109db1cc0d7640f06ede0bbcb5aaf kdebindings-4.5.4.tar.bz2
-a09eb7cace5bfa9ea62be1a7d8d73cb0 sip4.12.patch
+4ec0e648b825916ee4be025a74cc6684 kdebindings-4.6.0.tar.bz2
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
}