diff options
Diffstat (limited to 'extra/kdebindings-python/PKGBUILD')
-rw-r--r-- | extra/kdebindings-python/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/kdebindings-python/PKGBUILD b/extra/kdebindings-python/PKGBUILD index 324727a91..36c5ec264 100644 --- a/extra/kdebindings-python/PKGBUILD +++ b/extra/kdebindings-python/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 206944 2014-03-06 12:05:57Z andrea $ +# $Id: PKGBUILD 208817 2014-03-27 14:43:05Z fyan $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgbase=kdebindings-python @@ -6,20 +6,24 @@ pkgname=('kdebindings-python' 'kdebindings-python2' 'kdebindings-python-common') pkgver=4.12.3 -pkgrel=1 +pkgrel=2 url='https://projects.kde.org/projects/kde/kdebindings/pykde4' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kdebindings') makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt4' 'python-pyqt4' 'qscintilla' 'python2-sip' 'python-sip' 'mesa') -source=("http://download.kde.org/stable/${pkgver}/src/pykde4-${pkgver}.tar.xz") -sha1sums=('6e5cab25aee404469d6875d067bf2ad3382e4a1a') +source=("http://download.kde.org/stable/${pkgver}/src/pykde4-${pkgver}.tar.xz" + sip-4.15.5.patch) +sha1sums=('6e5cab25aee404469d6875d067bf2ad3382e4a1a' + 'bffd9f642ad10fb3a49c42e4b457b2b90665d641') prepare() { mkdir build cd pykde4-${pkgver} + # Fix build with sip 4.15.5 upstream: https://bugs.kde.org/show_bug.cgi?id=332223 + patch -p1 -i "$srcdir/sip-4.15.5.patch" } build() { @@ -31,7 +35,7 @@ build() { -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr \ -DPYTHON_EXECUTABLE=/usr/bin/python3 \ - -DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0 \ + -DPYTHON_LIBRARY=/usr/lib/libpython3.4m.so.1.0 \ -DPYKDEUIC4_ALTINSTALL=TRUE make cd .. @@ -58,7 +62,7 @@ package_kdebindings-python() { rm -r "${pkgdir}"/usr/share/apps/pykde4/examples rm -r "${pkgdir}"/usr/share/sip/PyKDE4 - ln -s /usr/bin/pykdeuic4-3.3 "${pkgdir}"/usr/bin/pykdeuic4 + ln -s /usr/bin/pykdeuic4-3.4 "${pkgdir}"/usr/bin/pykdeuic4 } package_kdebindings-python2() { |