summaryrefslogtreecommitdiffstats
path: root/kde/kdebindings/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kdebindings/Pkgfile')
-rwxr-xr-xkde/kdebindings/Pkgfile19
1 files changed, 12 insertions, 7 deletions
diff --git a/kde/kdebindings/Pkgfile b/kde/kdebindings/Pkgfile
index db1c34f1e..def28513e 100755
--- a/kde/kdebindings/Pkgfile
+++ b/kde/kdebindings/Pkgfile
@@ -6,22 +6,27 @@
name=kdebindings
version=4.5.4
-release=2
+release=1
source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2
http://nutyx.meticul.eu/files/patchs/$name/fix-pyqt4-build.patch )
build() {
- unset MAKEFLAGS
- cd $name-$version
+ if [ "`uname -m`" == "x86_64" ]; then export CFLAGS="$CFLAGS+'-fPIC'"
+ fi
+ cd $name-$version
patch -Np0 -i ../fix-pyqt4-build.patch
-
mkdir build
cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
- make
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_falcon=OFF \
+ -DBUILD_java=OFF \
+ -DBUILD_perl=OFF \
+ -DBUILD_php=OFF \
+ -DWITH_PolkitQt=OFF
+
make DESTDIR=$PKG install
}