summaryrefslogtreecommitdiffstats
path: root/kde/kdebindings/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-11 22:59:30 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-11 22:59:30 +0100
commit01da585771d3cf3f44561c2f953448813a5747ac (patch)
tree61f11004b507f3a598cc7438e7232ebb402b7a87 /kde/kdebindings/Pkgfile
parent3b757ca72810ea854eded6b993d4d753ab07f349 (diff)
parent7ecf9c0a83a10401eb35c209d88e965b09dc4b6f (diff)
downloadnutyx-extra-01da585771d3cf3f44561c2f953448813a5747ac.tar.gz
nutyx-extra-01da585771d3cf3f44561c2f953448813a5747ac.tar.bz2
nutyx-extra-01da585771d3cf3f44561c2f953448813a5747ac.tar.xz
nutyx-extra-01da585771d3cf3f44561c2f953448813a5747ac.zip
Maj kde#4.4.0-1
Diffstat (limited to 'kde/kdebindings/Pkgfile')
-rwxr-xr-xkde/kdebindings/Pkgfile12
1 files changed, 10 insertions, 2 deletions
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
}