diff options
Diffstat (limited to 'kde/kdebindings/Pkgfile')
-rwxr-xr-x | kde/kdebindings/Pkgfile | 27 |
1 files changed, 16 insertions, 11 deletions
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 |