summaryrefslogtreecommitdiffstats
path: root/pyqt/Pkgfile
blob: 8ab6d54bb2e0c0543feb981ee9a0a2b505a7d221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: Connecteur python pour qt4 
# URL: http://www.riverbankcomputing.co.uk/software/pyqt/intro
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: dbus-python, sip, qt, phonon
# Run on: dbus-python,sip,qt,phonon

name=pyqt
version=4.8.5
release=1
source=(http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-$version.tar.gz)
build() {
	cd PyQt-x11-gpl-$version

	python2 configure.py \
		-v /usr/share/sip \
                --confirm-license \
    		--qsci-api
	
	find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'

	make
	make DESTDIR=$PKG INSTALL_ROOT=$PKG install
	rm $PKG/usr/lib/qt/plugins/designer/libpythonplugin.so
}