diff options
Diffstat (limited to 'kde/kdebindings/Pkgfile')
-rwxr-xr-x | kde/kdebindings/Pkgfile | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/kde/kdebindings/Pkgfile b/kde/kdebindings/Pkgfile index 5b0def061..81d57b0e7 100755 --- a/kde/kdebindings/Pkgfile +++ b/kde/kdebindings/Pkgfile @@ -2,31 +2,25 @@ # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr -# Depends on: kdegraphics, kdebase-runtime, kdebase-workspace, qscintilla, kdepimlibs, ruby, pyqt +# Depends on: kdepim-runtime, kdegraphics, qscintilla name=kdebindings -version=4.5.1 +version=4.5.2 release=1 -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 + fix-pyqt4-build.patch) + build() { + unset MAKEFLAGS 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/i686-linux|" {} \; + patch -Np0 -i ../fix-pyqt4-build.patch + + mkdir build + cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_java=OFF \ - -DBUILD_php=OFF \ - -DBUILD_falcon=OFF \ - -DBUILD_doc=OFF \ - -DENABLE_KROSSRUBY=OFF \ - -DWITH_PolkitQt=OFF + -DCMAKE_BUILD_TYPE=Release make make DESTDIR=$PKG install } |