Date: Friday, March 23, 2012 @ 09:59:46 Author: ibiru Revision: 154115
update to 1.1.2 Modified: libimobiledevice/trunk/PKGBUILD Deleted: libimobiledevice/trunk/swig-version-check.patch --------------------------+ PKGBUILD | 27 ++++++++++++++------------- swig-version-check.patch | 14 -------------- 2 files changed, 14 insertions(+), 27 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-03-23 13:52:45 UTC (rev 154114) +++ PKGBUILD 2012-03-23 13:59:46 UTC (rev 154115) @@ -3,29 +3,30 @@ # Contributor: Gabriel Martinez < reitaka at gmail dot com > pkgname=libimobiledevice -pkgver=1.1.1 -pkgrel=2 +pkgver=1.1.2 +pkgrel=1 pkgdesc="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux" url="http://libimobiledevice.org/" arch=('i686' 'x86_64') license=('GPL2' 'LGPL2.1') -depends=('glib2' 'gnutls' 'libgcrypt' 'libplist' 'usbmuxd') -makedepends=('swig' 'python2') +depends=('usbmuxd' 'libplist') +makedepends=('python2' 'cython2') options=('!libtool') -source=(http://libimobiledevice.org/downloads/${pkgname}-${pkgver}.tar.bz2 - swig-version-check.patch) -md5sums=('cdc13037e822d9ac2e109536701d153a' - '8bb215e36fe0e08a72332c108c7842cc') +source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2) +md5sums=('82851e4ca9794ee660ffca9f78c8e068') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - # SWIG version check is wrong (still not fixed upstream) - patch -p1 -i "$srcdir"/swig-version-check.patch + cd "$pkgname-$pkgver" + + mkdir "$srcdir/cython2-path" + ln -s /usr/bin/cython2 "$srcdir/cython2-path/cython" + export PATH="$srcdir/cython2-path:$PATH" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } Deleted: swig-version-check.patch =================================================================== --- swig-version-check.patch 2012-03-23 13:52:45 UTC (rev 154114) +++ swig-version-check.patch 2012-03-23 13:59:46 UTC (rev 154115) @@ -1,14 +0,0 @@ -diff -Nur libimobiledevice-1.0.3.old/configure libimobiledevice-1.0.3/configure ---- libimobiledevice-1.0.3.old/configure 2010-10-04 07:38:37.000000000 -0700 -+++ libimobiledevice-1.0.3/configure 2010-10-08 05:43:05.466686656 -0700 -@@ -3477,9 +3477,7 @@ - if test -z "$available_patch" ; then - available_patch=0 - fi -- if test $available_major -ne $required_major \ -- -o $available_minor -ne $required_minor \ -- -o $available_patch -lt $required_patch ; then -+ if test $available_major -lt $required_major ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&5 - $as_echo "$as_me: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&2;} - SWIG=false