From e7f76f424ef43369745b07a70deea6548a1f8ca5 Mon Sep 17 00:00:00 2001 From: sibel Date: Fri, 28 Jan 2011 23:50:34 +0100 Subject: kdebindings, correction 4.6.0 --- kde/kdebindings/Pkgfile | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'kde/kdebindings/Pkgfile') diff --git a/kde/kdebindings/Pkgfile b/kde/kdebindings/Pkgfile index c2880dec0..2f24e163e 100755 --- a/kde/kdebindings/Pkgfile +++ b/kde/kdebindings/Pkgfile @@ -2,30 +2,35 @@ # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr -# Depends on: sip,ruby, kdepim-runtime, kdegraphics, qscintilla +# Depends on: cmake, automoc4, boost, sip, ruby, kdepim-runtime, kdegraphics, qscintilla, docbook-xsl # Run on: ruby,kdepim-runtime,kdegraphics,qscintilla name=kdebindings version=4.6.0 -release=1 -_pydir=python2.7 +release=2 +pydir=python2.7 -source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2) +source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 + kdebindings-sip.patch) build() { cd $name-* + patch -Np0 -i ../kdebindings-sip.patch + # fix ruby + for f in `find ruby -name CMakeLists.txt`; do + sed -i "s|\${RUBY_INCLUDE_PATH}|\${RUBY_INCLUDE_PATH} /usr/include/ruby-1.9.1/${_ARCHITECTURE}-linux|" "${f}" + done mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ - -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 + -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 -- cgit v1.2.3-70-g09d2