You are not logged in.

#1 2011-01-21 14:34:26

drankinatty
Member
From: Nacogdoches, Texas
Registered: 2009-04-24
Posts: 67
Website

PyKDE-3.16.7 PKGBUILD

For those interested in trying Trinity on Arch, Arch provides python2-sip and PyQt3, but does not have PyKDE. I have prepared a PKGBUILD for PyKDE:

# $Id: PKGBUILD 37900 2011-01-18 23:30:00Z andrea $
# Maintainer:
# Contributor: Tobias Powalowski <tpowa>
# adapted from pyqt3 PKGBUILD
# Contributor: David C. Rankin <drankinatty>

pkgname=pykde3
pkgver=3.16.7
pkgrel=1
pkgdesc="A set of Python bindings for the KDE3 desktop"
arch=('i686' 'x86_64')
url="http://www.riverbankcomputing.com/software/pykde/intro"
depends=('python2-sip' 'pyqt3')
license=('GPL')
source=("http://www.riverbankcomputing.co.uk/static/Downloads/PyKDE3/PyKDE-${pkgver}.tar.bz2")
md5sums=('745562f0c06948c2fcb56a83c37dab9c')

build() {
  cd ${srcdir}/PyKDE-${pkgver}

  echo yes | python2 configure.py \
    -d /usr/lib/python2.7/site-packages \
    -v /usr/share/sip -k /opt/kde

  make
}

package() {
  cd ${srcdir}/PyKDE-${pkgver}
  make DESTDIR=${pkgdir} install
}

One note: The build requires dcopobject.h which is normally found in the old /opt/kde/include directory. Thus the '-k /opt/kde' option above. If you can figure out how to get it to build using dcopobject.h from another source, please drop me a line and let me know. As is, it builds fine as long as you still have kdemod3 installed. Thanks.


David C. Rankin, J.D.,P.E.

Offline

#2 2011-01-21 17:47:47

drankinatty
Member
From: Nacogdoches, Texas
Registered: 2009-04-24
Posts: 67
Website

Re: PyKDE-3.16.7 PKGBUILD

Note, for a successful build of trinity it appears you will need to use the new dcopobject.h from the kdelibs module. I'll report back after I get it sorted.


David C. Rankin, J.D.,P.E.

Offline

Board footer

Powered by FluxBB