mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-25 14:32:00 +02:00
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
|
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
|
pkgname=py-qt
|
|
_pkgname=PyQt
|
|
pkgver=4.10.3
|
|
pkgrel=0
|
|
pkgdesc="A set of Python bindings for the Qt toolkit"
|
|
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
|
|
arch="all"
|
|
license="GPL2+"
|
|
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"
|
|
|
|
_builddir="${srcdir}/PyQt-x11-gpl-${pkgver}"
|
|
build() {
|
|
cd "$_builddir"
|
|
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 || return 1
|
|
}
|
|
|
|
package(){
|
|
cd "$_builddir"
|
|
make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install || return 1
|
|
}
|
|
|
|
md5sums="8b13d2ab64e4d2fd0037b81b7e78c15c PyQt-x11-gpl-4.10.3.tar.gz"
|
|
sha256sums="a713bebef394213b2c9e1fe0cad5699b869dc356bba50766e069013eba8bf630 PyQt-x11-gpl-4.10.3.tar.gz"
|
|
sha512sums="4edd3539e1855bc3358dcba866433e53d4b9444b867c14cc27115cf5a6c123b0af3bb0bae3085f6d71a31f0b6716da40809ac4ffcaaff415673ed7462f1a0420 PyQt-x11-gpl-4.10.3.tar.gz"
|