summaryrefslogtreecommitdiffstats
path: root/kde/kdebindings/Pkgfile
diff options
context:
space:
mode:
authorsibel sibel <lesibel@free.fr>2010-02-11 22:48:01 +0100
committersibel sibel <lesibel@free.fr>2010-02-11 22:48:01 +0100
commit209163adb01116adb00ad392dda7e2849c9f2351 (patch)
tree19787ca6f81c18f2a72b7ae245af16790e27ec48 /kde/kdebindings/Pkgfile
parentbad7c7fc1fc196ac3c6c6030d0a1a78c351b72e7 (diff)
downloadnutyx-pakxe-209163adb01116adb00ad392dda7e2849c9f2351.tar.gz
nutyx-pakxe-209163adb01116adb00ad392dda7e2849c9f2351.tar.bz2
nutyx-pakxe-209163adb01116adb00ad392dda7e2849c9f2351.tar.xz
nutyx-pakxe-209163adb01116adb00ad392dda7e2849c9f2351.zip
Maj kdebindings#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
}