[Frugalware-darcs] frugalware-current: qscintilla2-python-qt3-1.73_2.1-1-i686

crazy crazy at frugalware.org
Mon Jun 4 04:15:20 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070604021156-f6986-2d2fe587f0873040aa96dcb98a549697061f517c.gz;

[qscintilla2-python-qt3-1.73_2.1-1-i686
crazy <crazy at frugalware.org>**20070604021156
 * New package(s) 
] {
adddir ./source/xlib-extra/qscintilla2-python-qt3
addfile ./source/xlib-extra/qscintilla2-python-qt3/FrugalBuild
hunk ./source/xlib-extra/qscintilla2-python-qt3/FrugalBuild 1
+# Compiling Time: 0.42 SBU
+# Maintainer: crazy <crazy at frugalware.org>
+
+pkgname=qscintilla2-python-qt3
+ver1=1.73
+ver2=2.1
+pkgver=${ver1}_${ver2}
+origname=QScintilla
+pkgrel=1
+pkgdesc="QScintilla2 python bindings for QT3"
+url="http://www.riverbankcomputing.co.uk/qscintilla"
+license="GPL 2"
+up2date="lynx -dump $url/download.php|grep -v "gpl-1.7"|grep -m1 'gpl-\(.*\).tar.gz'|sed 's/.*la-//;s/-gpl\(.*\).t.*/\1/;s/-/_/'"
+source=(http://www.riverbankcomputing.com/Downloads/${origname}2/$origname-$ver1-gpl-$ver2.tar.gz designer.patch)
+groups=('xlib-extra')
+archs=('i686')
+depends=("qscintilla2-qt3=$pkgver" 'python' 'libxext' 'libgcc' 'zlib' 'libxrender' \
+	'fontconfig' 'libxcb' 'libxxf86vm' 'libxdamage' 'libdrm' 'libxt' 'pyqt')
+makedepends=("qscintilla2-qt4=$pkgver" 'pyqt4')
+_F_cd_path="$origname-$ver1-gpl-$ver2"
+sha1sums=('ca9ac61cc3d537d7b53202ff5d8565365c3f8734'\
+          '3fa781182d6a4868f134dc7931d37b346c946245')
+
+subpkgs=('qscintilla2-python-qt4' 'qscintilla2-designer-qt3-plugin' 'qscintilla2-designer-qt4-plugin')
+subdescs=('QScintilla2 python bindings for QT4' 'QScintilla2 designer plugin for QT3' 'QScintilla2 designer plugin for QT4')
+subdepends=("qscintilla2-qt4=$pkgver pyqt4" "qscintilla2-qt3=$pkgver" "qscintilla2-qt4=$pkgver")
+subgroups=('xlib-extra' 'xlib-extra' 'xlib-extra')
+subarchs=('i686' 'i686' 'i686')
+
+build()
+{
+	unset QTDIR QMAKESPEC UIC_PATH
+	Fpatchall
+	cp -r Python Python4 || Fdie
+	## QT4
+	source /etc/profile.d/qt4.sh.off
+        cd designer-Qt4
+        /usr/bin/qmake designer.pro || Fdie
+        Fmakeinstall INSTALL_ROOT=$Fdestdir || Fdie
+	Fsplit qscintilla2-designer-qt4-plugin /usr
+	cd ../Python4
+	python configure.py -c -j 8 -p 4 -n /usr/include -o /usr/lib || Fdie
+	Fmake
+	Fmakeinstall
+	Fsplit qscintilla2-python-qt4 /usr
+	## QT3
+	cd ../designer-Qt3
+	source /etc/profile.d/qt.sh
+	/usr/lib/qt/bin/qmake designer.pro || Fdie
+	make INSTALL_ROOT=$Fdestdir || Fdie
+	Fsplit qscintilla2-designer-qt3-plugin /usr
+ 	cd ../Python
+	python configure.py -c -j 8 -p 3 -n /usr/lib/qt/include -o /usr/lib/qt/lib || Fdie
+	Fmake
+	Fmakeinstall
+}
+
+# optimization OK
addfile ./source/xlib-extra/qscintilla2-python-qt3/designer.patch
hunk ./source/xlib-extra/qscintilla2-python-qt3/designer.patch 1
+diff -Naur QScintilla-1.73-gpl-2.1/designer-Qt3/designer.pro QScintilla-1.73-gpl-2.1-p/designer-Qt3/designer.pro
+--- QScintilla-1.73-gpl-2.1/designer-Qt3/designer.pro	2006-09-16 18:07:21.000000000 +0200
++++ QScintilla-1.73-gpl-2.1-p/designer-Qt3/designer.pro	2007-06-04 02:03:46.000000000 +0200
+@@ -3,10 +3,10 @@
+ 
+ TEMPLATE = lib
+ TARGET = qscintillaplugin
+-DESTDIR = $(QTDIR)/plugins/designer
++DESTDIR = $(INSTALL_ROOT)$(QTDIR)/plugins/designer
+ 
+ CONFIG += qt warn_on release plugin
+ 
+ SOURCES += qscintillaplugin.cpp
+ 
+-LIBS += -lqscintilla2
++LIBS +=  -lqscintilla2
+
}


More information about the Frugalware-darcs mailing list