# Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'py-qt' setvar _pkgname = 'PyQt' setvar pkgver = '4.11.4' setvar pkgrel = '1' setvar pkgdesc = ""A set of Python bindings for the Qt toolkit"" setvar url = ""http://riverbankcomputing.co.uk/software/pyqt/intro"" setvar arch = ""all"" setvar license = ""GPL2+"" setvar depends = ""py-sip"" setvar makedepends = ""python2-dev py-dbus-dev phonon-dev qt-dev py-sip-dev libx11-dev"" setvar subpackages = """" setvar install = """" setvar source = ""http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$pkgver/PyQt-x11-gpl-$pkgver.tar.gz"" setvar _builddir = ""${srcdir}/PyQt-x11-gpl-${pkgver}"" proc build { cd $_builddir python2 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 } proc package { cd $_builddir make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install || return 1 } setvar md5sums = ""2fe8265b2ae2fc593241c2c84d09d481 PyQt-x11-gpl-4.11.4.tar.gz"" setvar sha256sums = ""fc1fe77495432ba3b0d74ff5cb164d375a97f5dddb728256330f615a7cdcf407 PyQt-x11-gpl-4.11.4.tar.gz"" setvar sha512sums = ""58d0c5e30b0480c1b6ce1a3cc3ef0a1841bb15631830fb937d1f17f5d3d8cbe66a5e2adcfb2c3990fae38db66dd430668bd25413e254e72064a38c48f689f170 PyQt-x11-gpl-4.11.4.tar.gz""