1 # Contributor: Tom Gundersen <teg@jklm.no>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Gabriel Martinez < reitaka at gmail dot com >
5 pkgname=libimobiledevice
8 pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux"
9 url="https://libimobiledevice.org/"
11 license=('GPL2' 'LGPL2.1')
12 depends=('libusbmuxd' 'usbmuxd' 'gnutls')
13 makedepends=('python' 'cython' 'libplist' 'autoconf-archive'
14 'git' 'python-setuptools')
15 _commit=15f8652126664e3a4b980e5d1c039b9053ce8566
16 source=("git+https://github.com/libimobiledevice/libimobiledevice#commit=$_commit")
21 git describe --tags | sed 's/-/+/g'
26 # Update ac_python_devel.m4 to newer ax_python_devel.m4
27 git cherry-pick -n eea4f1be91
28 NOCONFIGURE=1 ./autogen.sh
33 ./configure --prefix=/usr --disable-openssl
34 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
45 DESTDIR="$pkgdir" make install