summaryrefslogtreecommitdiffstats
path: root/kde/qscintilla/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-10-04 20:46:14 +0200
committerpiernov <piernov@piernov.org>2011-10-04 20:46:14 +0200
commit75961cb0d96c05eb82433d380fcb83484b5d2577 (patch)
tree39e2771ef26788db18b427788c159d6c57441ca9 /kde/qscintilla/Pkgfile
parent5ee39977ffaf782f73f5973f7abca274531d05af (diff)
downloadnutyx-extra-75961cb0d96c05eb82433d380fcb83484b5d2577.tar.gz
nutyx-extra-75961cb0d96c05eb82433d380fcb83484b5d2577.tar.bz2
nutyx-extra-75961cb0d96c05eb82433d380fcb83484b5d2577.tar.xz
nutyx-extra-75961cb0d96c05eb82433d380fcb83484b5d2577.zip
qscintilla 2.5.1-1 màj port
Diffstat (limited to 'kde/qscintilla/Pkgfile')
-rwxr-xr-xkde/qscintilla/Pkgfile31
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
}