Date: Thursday, March 29, 2012 @ 17:10:42 Author: heftig Revision: 154539
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64 Added: libimobiledevice/repos/gnome-unstable-i686/ libimobiledevice/repos/gnome-unstable-i686/PKGBUILD (from rev 154538, libimobiledevice/trunk/PKGBUILD) libimobiledevice/repos/gnome-unstable-i686/swig-version-check.patch (from rev 154538, libimobiledevice/trunk/swig-version-check.patch) libimobiledevice/repos/gnome-unstable-x86_64/ libimobiledevice/repos/gnome-unstable-x86_64/PKGBUILD (from rev 154538, libimobiledevice/trunk/PKGBUILD) libimobiledevice/repos/gnome-unstable-x86_64/swig-version-check.patch (from rev 154538, libimobiledevice/trunk/swig-version-check.patch) ------------------------------------------------+ gnome-unstable-i686/PKGBUILD | 33 +++++++++++++++++++++++ gnome-unstable-i686/swig-version-check.patch | 14 +++++++++ gnome-unstable-x86_64/PKGBUILD | 33 +++++++++++++++++++++++ gnome-unstable-x86_64/swig-version-check.patch | 14 +++++++++ 4 files changed, 94 insertions(+) Copied: libimobiledevice/repos/gnome-unstable-i686/PKGBUILD (from rev 154538, libimobiledevice/trunk/PKGBUILD) =================================================================== --- gnome-unstable-i686/PKGBUILD (rev 0) +++ gnome-unstable-i686/PKGBUILD 2012-03-29 21:10:42 UTC (rev 154539) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer : Ionut Biru <ib...@archlinux.org> +# Contributor: Gabriel Martinez < reitaka at gmail dot com > + +pkgname=libimobiledevice +pkgver=1.1.1 +pkgrel=3 +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=('usbmuxd' 'libplist' 'gnutls' 'libgcrypt') +makedepends=('python2' 'swig') +options=('!libtool') +source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2 + swig-version-check.patch) +md5sums=('cdc13037e822d9ac2e109536701d153a' + '8bb215e36fe0e08a72332c108c7842cc') + +build() { + cd "$pkgname-$pkgver" + + # SWIG version check is wrong (still not fixed upstream) + patch -p1 -i ../swig-version-check.patch + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} Copied: libimobiledevice/repos/gnome-unstable-i686/swig-version-check.patch (from rev 154538, libimobiledevice/trunk/swig-version-check.patch) =================================================================== --- gnome-unstable-i686/swig-version-check.patch (rev 0) +++ gnome-unstable-i686/swig-version-check.patch 2012-03-29 21:10:42 UTC (rev 154539) @@ -0,0 +1,14 @@ +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 Copied: libimobiledevice/repos/gnome-unstable-x86_64/PKGBUILD (from rev 154538, libimobiledevice/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2012-03-29 21:10:42 UTC (rev 154539) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer : Ionut Biru <ib...@archlinux.org> +# Contributor: Gabriel Martinez < reitaka at gmail dot com > + +pkgname=libimobiledevice +pkgver=1.1.1 +pkgrel=3 +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=('usbmuxd' 'libplist' 'gnutls' 'libgcrypt') +makedepends=('python2' 'swig') +options=('!libtool') +source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2 + swig-version-check.patch) +md5sums=('cdc13037e822d9ac2e109536701d153a' + '8bb215e36fe0e08a72332c108c7842cc') + +build() { + cd "$pkgname-$pkgver" + + # SWIG version check is wrong (still not fixed upstream) + patch -p1 -i ../swig-version-check.patch + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} Copied: libimobiledevice/repos/gnome-unstable-x86_64/swig-version-check.patch (from rev 154538, libimobiledevice/trunk/swig-version-check.patch) =================================================================== --- gnome-unstable-x86_64/swig-version-check.patch (rev 0) +++ gnome-unstable-x86_64/swig-version-check.patch 2012-03-29 21:10:42 UTC (rev 154539) @@ -0,0 +1,14 @@ +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