aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-qt/APKBUILD
blob: 89ea26a046595c609848d8072df78629a5ffecf9 (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
27
28
29
30
31
32
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-qt
_pkgname=PyQt
pkgver=4.9.5
pkgrel=0
pkgdesc="A set of Python bindings for the Qt toolkit"
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
arch="all"
license="GPL"
depends="py-sip"
depends_dev="python-dev py-dbus-dev phonon-dev qt-dev py-sip-dev libx11-dev"
makedepends="$depends_dev"
subpackages=""
install=
source="http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$pkgver/PyQt-x11-gpl-$pkgver.tar.gz"
build() {
	cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
	python configure.py \
		--confirm-license \
		-v /usr/share/sip \
		--qsci-api
	# Thanks Gerardo for the rpath fix
	find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
	make
}
package(){
 cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
 make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
}

md5sums="e4cdd6619c63655f7510efb4df8462fb  PyQt-x11-gpl-4.9.5.tar.gz"