summaryrefslogtreecommitdiffstats
path: root/kde/kdebindings
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kdebindings')
-rw-r--r--kde/kdebindings/.md5sum2
-rwxr-xr-xkde/kdebindings/Pkgfile12
2 files changed, 11 insertions, 3 deletions
diff --git a/kde/kdebindings/.md5sum b/kde/kdebindings/.md5sum
index 6d405f280..c7324606f 100644
--- a/kde/kdebindings/.md5sum
+++ b/kde/kdebindings/.md5sum
@@ -1 +1 @@
-1309f89dc092aea932138b1444e64280 kdebindings-4.3.5.tar.bz2
+fe9617eeb6430d12428d4bf1898bc955 kdebindings-4.4.0.tar.bz2
diff --git a/kde/kdebindings/Pkgfile b/kde/kdebindings/Pkgfile
index c1d88624f..a5a545bde 100755
--- a/kde/kdebindings/Pkgfile
+++ b/kde/kdebindings/Pkgfile
@@ -5,13 +5,20 @@
# Depends on: kdebase-runtime, kdebase-workspace, qscintilla, polkit-qt, kdegraphics, kdepimlibs, ruby, pyqt
name=kdebindings
-version=4.3.5
+version=4.4.0
release=1
source=(http://download.kde.org/stable/$version/src/$name-$version.tar.bz2)
build() {
cd $name-$version
mkdir build
cd build
+
+ # fix build with ruby 1.9
+ # see http://bugs.archlinux.org/task/16175
+# find ../$name-$version
+ find ../ruby -name CMakeLists.txt \
+ -exec sed -i "s|\${RUBY_INCLUDE_PATH}|\${RUBY_INCLUDE_PATH} /usr/include/ruby-1.9.1/${CARCH}-linux|" {} \;
+
cmake ../ -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
@@ -22,7 +29,8 @@ build() {
-DBUILD_ruby=OFF \
-DBUILD_falcon=OFF \
-DBUILD_smoke=OFF \
- -DBUILD_doc=OFF
+ -DBUILD_doc=OFF \
+ -DWITH_PolkitQt=OFF
make -j3
make DESTDIR=$PKG install
}