diff options
Diffstat (limited to 'kde/qscintilla/Pkgfile')
-rwxr-xr-x | kde/qscintilla/Pkgfile | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/kde/qscintilla/Pkgfile b/kde/qscintilla/Pkgfile index 1b2916ac0..099ed1a1d 100755 --- a/kde/qscintilla/Pkgfile +++ b/kde/qscintilla/Pkgfile @@ -2,22 +2,31 @@ # URL: http://www.riverbankcomputing.co.uk/qscintilla/index.php # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr -# Depends on: qt -# Run on: qt +# Depends on: qt, pyqt, sip +# Run on: qt,pyqt,sip name=qscintilla -version=2.4.6 +version=2.5.1 release=1 source=(http://www.riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-$version.tar.gz) + build() { cd QScintilla-gpl-$version/Qt4 - qmake qscintilla.pro - make QT_INSTALL_LIBS=$PKG/$QTDIR/lib - make DESTDIR=$PKG INSTALL_ROOT=$PKG install - rm -rf $PKG/usr/lib/libqscintilla2.so.2 - pushd $PKG/usr/lib/ - ln -s libqscintilla2.so.2.2 libqscintilla2.so.2 - popd - + qmake qscintilla.pro + make QT_INSTALL_LIBS=$PKG/$QTDIR/lib + make DESTDIR=$PKG INSTALL_ROOT=$PKG install + + cd ../designer-Qt4 + echo "INCLUDEPATH += ../Qt4" >> designer.pro + echo "LIBS += -L$PKG/usr/lib" >> designer.pro + qmake designer.pro + make + make DESTDIR=$PKG INSTALL_ROOT=$PKG install + cd ../Python + python configure.py \ + -n ../Qt4 \ + -o $PKG/usr/lib + make + make DESTDIR=$PKG install } |