aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-qt/APKBUILD
blob: d99300cc47e2597ad62e5fbba3ef42de1129daed (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.8.4
pkgrel=2
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://riverbankcomputing.co.uk/static/Downloads/${_pkgname}4/${_pkgname}-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="97c5dc1042feb5b3fe20baabad055af1  PyQt-x11-gpl-4.8.4.tar.gz"