Skip to content

@migerh /libimobiledevice.PKGBUILD
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
  1. Michael Gerhaeuser revised this gist . 1 changed file with 1 addition and 1 deletion.
    View
    2  usbmuxd.PKGBUILD
    @@ -7,7 +7,7 @@ pkgdesc="A USB multiplexing daemon."
    url="http://sukimashita.com/"
    arch=('i686' 'x86_64')
    license=('GPL')
    -depends=('glib2' 'libxml2')
    +depends=('glib2' 'libxml2' 'libimobiledevice-git')
    makedepends=('git')
    provides=('usbmuxd')
    conflicts=('usbmuxd')
  2. Michael Gerhaeuser revised this gist . 1 changed file with 1 addition and 1 deletion.
    View
    2  usbmuxd.PKGBUILD
    @@ -8,7 +8,7 @@ url="http://sukimashita.com/"
    arch=('i686' 'x86_64')
    license=('GPL')
    depends=('glib2' 'libxml2')
    -makedepends=('git' 'cmake')
    +makedepends=('git')
    provides=('usbmuxd')
    conflicts=('usbmuxd')
    install='usbmuxd.install'
  3. Michael Gerhaeuser revised this gist . 2 changed files with 12 additions and 15 deletions.
    View
    4 libimobiledevice.PKGBUILD
    @@ -1,13 +1,13 @@
    # Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
    pkgname=libimobiledevice-git
    -pkgver=1.1.0.353.gc7c49ae
    +pkgver=1.1.0.406.g3c3a791
    pkgrel=1
    pkgdesc="libimobiledevice is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
    url="http://www.libimobiledevice.org/"
    arch=('i686' 'x86_64')
    license=('GPL2' 'LGPL2.1')
    -depends=('gnutls' 'libgcrypt' 'glib2' 'libplist-git' 'usbmuxd-git')
    +depends=('gnutls' 'libgcrypt' 'glib2' 'libplist-git')
    makedepends=('git' 'swig')
    provides=('libiphone-git' 'libiphone' 'libimobiledevice=1.2')
    conflicts=('libiphone-git' 'libiphone' 'libimobiledevice')
    View
    23 usbmuxd.PKGBUILD
    @@ -1,7 +1,7 @@
    # Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
    pkgname=usbmuxd-git
    -pkgver=v1.0.8.8.g10939f3
    +pkgver=v1.0.8.37.g4f695aa
    pkgrel=1
    pkgdesc="A USB multiplexing daemon."
    url="http://sukimashita.com/"
    @@ -24,34 +24,31 @@ pkgver() {
    printf "%s" "${ver//-/.}"
    }
    build() {
    - msg "Removing old build directory..."
    - rm -Irf ${srcdir}/$_gitname-build
    -
    - msg "Creating new build directory..."
    - cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
    -
    - cd ${srcdir}/$_gitname-build
    + cd ${srcdir}/$_gitname
    msg "Starting make..."
    - cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
    + ./autogen.sh --prefix=/usr
    make || return 1
    }
    package() {
    - cd ${srcdir}/$_gitname-build
    + cd ${srcdir}/$_gitname
    make DESTDIR=${pkgdir} install || return 1
    -
    +
    + mkdir -p ${pkgdir}/usr/lib
    +
    # fix udev dir being hardcoded
    - mv ${pkgdir}/lib/udev ${pkgdir}/usr/lib/
    + mv -v ${pkgdir}/lib/udev ${pkgdir}/usr/lib/
    rmdir ${pkgdir}/lib
    +
    # install systemd service files
    install -D -m644 ${srcdir}/usbmuxd.service ${pkgdir}/usr/lib/systemd/system/usbmuxd.service
    # use udev rule that works with systemd
    - install -m644 ${srcdir}/$_gitname-build/udev/85-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
    + install -m644 ${srcdir}/$_gitname/udev/39-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
    }
    # vim:set ts=2 sw=2:
  4. Michael Gerhaeuser created this gist .
    View
    38 libimobiledevice.PKGBUILD
    @@ -0,0 +1,38 @@
    +# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
    +
    +pkgname=libimobiledevice-git
    +pkgver=1.1.0.353.gc7c49ae
    +pkgrel=1
    +pkgdesc="libimobiledevice is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
    +url="http://www.libimobiledevice.org/"
    +arch=('i686' 'x86_64')
    +license=('GPL2' 'LGPL2.1')
    +depends=('gnutls' 'libgcrypt' 'glib2' 'libplist-git' 'usbmuxd-git')
    +makedepends=('git' 'swig')
    +provides=('libiphone-git' 'libiphone' 'libimobiledevice=1.2')
    +conflicts=('libiphone-git' 'libiphone' 'libimobiledevice')
    +options=('libtool')
    +
    +source="git+http://git.sukimashita.com/libimobiledevice.git"
    +sha512sums=('SKIP')
    +_gitname="libimobiledevice"
    +
    +pkgver() {
    + cd $_gitname
    + local ver="$(git describe --long)"
    + printf "%s" "${ver//-/.}"
    +}
    +
    +build() {
    + cd ${srcdir}/$_gitname
    + msg "Starting make..."
    + ./autogen.sh --prefix=/usr --without-cython
    + make || return 1
    +}
    +
    +package() {
    + cd $srcdir/$_gitname
    + make DESTDIR=$pkgdir install || return 1
    +}
    +
    +# vim:set ts=2 #
    View
    57 usbmuxd.PKGBUILD
    @@ -0,0 +1,57 @@
    +# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
    +
    +pkgname=usbmuxd-git
    +pkgver=v1.0.8.8.g10939f3
    +pkgrel=1
    +pkgdesc="A USB multiplexing daemon."
    +url="http://sukimashita.com/"
    +arch=('i686' 'x86_64')
    +license=('GPL')
    +depends=('glib2' 'libxml2')
    +makedepends=('git' 'cmake')
    +provides=('usbmuxd')
    +conflicts=('usbmuxd')
    +install='usbmuxd.install'
    +_gitname="usbmuxd"
    +source=("git+http://cgit.sukimashita.com/${_gitname}.git"
    + "usbmuxd.service")
    +sha512sums=('SKIP'
    + '9771b422e9b48e11a0c2ecaafda06ea9acee651afd4f7e7589e9704d60bd9eb014f6b737d1e279735225f68d910183c698949ee153275e0873940dae00911210')
    +
    +pkgver() {
    + cd $srcdir/$_gitname
    + local ver="$(git describe --long)"
    + printf "%s" "${ver//-/.}"
    +}
    +build() {
    + msg "Removing old build directory..."
    + rm -Irf ${srcdir}/$_gitname-build
    +
    + msg "Creating new build directory..."
    + cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
    +
    + cd ${srcdir}/$_gitname-build
    +
    + msg "Starting make..."
    +
    + cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
    +
    + make || return 1
    +}
    +
    +package() {
    +
    + cd ${srcdir}/$_gitname-build
    +
    + make DESTDIR=${pkgdir} install || return 1
    +
    + # fix udev dir being hardcoded
    + mv ${pkgdir}/lib/udev ${pkgdir}/usr/lib/
    + rmdir ${pkgdir}/lib
    + # install systemd service files
    + install -D -m644 ${srcdir}/usbmuxd.service ${pkgdir}/usr/lib/systemd/system/usbmuxd.service
    + # use udev rule that works with systemd
    + install -m644 ${srcdir}/$_gitname-build/udev/85-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
    +}
    +
    +# vim:set ts=2 sw=2:
Something went wrong with that request. Please try again.