libimobiledevice: version bump with its deps

This commit is contained in:
blshkv 2018-02-02 20:25:29 +08:00
parent 95b3f699a6
commit 2cced1159f
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
4 changed files with 93 additions and 11 deletions

View file

@ -1,13 +1,13 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit eutils python-r1 git-r3
inherit eutils autotools python-r1 git-r3
EGIT_REPO_URI="https://github.com/libimobiledevice/libimobiledevice.git"
EGIT_COMMIT="5a85432719fb3d18027d528f87d2a44b76fd3e12"
EGIT_COMMIT="3a37a4e4a334ea2de52db534f105fe8dbe928628"
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"
@ -17,7 +17,7 @@ HOMEPAGE="http://www.libimobiledevice.org/"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0/6" # based on SONAME of libimobiledevice.so
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="gnutls python static-libs"
IUSE="debug gnutls python static-libs"
RDEPEND=">=app-pda/libplist-1.12:=
>=app-pda/libusbmuxd-1.0.10:=
@ -42,10 +42,8 @@ DOCS=( AUTHORS NEWS README )
BUILD_DIR="${S}_build"
src_prepare() {
# epatch "${FILESDIR}/gnutls-3.4.patch"
default
./autogen.sh
emake distclean
eautoreconf
eapply_user
}
src_configure() {
@ -53,6 +51,7 @@ src_configure() {
local myeconfargs=( $(use_enable static-libs static) )
use gnutls && myeconfargs+=( --disable-openssl )
use debug && myeconfargs+=( --enable-debug-code )
do_configure() {
mkdir -p "${BUILD_DIR}" || die

View file

@ -0,0 +1,40 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/libimobiledevice/libusbmuxd.git"
EGIT_COMMIT="c724e70fb52ba45291dc73a2e369c0c5bae0ec2e"
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"
#SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
# tools/iproxy.c is GPL-2+, everything else is LGPL-2.1+
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0/2" # based on SONAME of libusbmuxd.so
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
IUSE="kernel_linux static-libs"
RDEPEND=">=app-pda/libplist-1.12:=
virtual/libusb:1
!=app-pda/usbmuxd-1.0.9
!<app-pda/usbmuxd-1.0.8_p1"
DEPEND="${RDEPEND}
virtual/os-headers
virtual/pkgconfig"
DOCS=( AUTHORS README )
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
local myeconfargs=( $(use_enable static-libs static) )
use kernel_linux || myeconfargs+=( --without-inotify )
econf "${myeconfargs[@]}"
}

View file

@ -0,0 +1,41 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools udev user git-r3
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"
#SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
EGIT_REPO_URI="https://github.com/libimobiledevice/usbmuxd.git"
EGIT_COMMIT="b888970f68fb16961a7cc3a526065fab7a5d96ca"
# src/utils.h is LGPL-2.1+, rest is found in COPYING*
LICENSE="GPL-2 GPL-3 LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
IUSE="systemd"
RDEPEND=">=app-pda/libimobiledevice-1.1.7
>=app-pda/libplist-1.12
virtual/libusb:1"
DEPEND="${RDEPEND}
virtual/os-headers
virtual/pkgconfig"
pkg_setup() {
enewgroup plugdev
enewuser usbmux -1 -1 -1 "usb,plugdev"
}
src_prepare() {
eautoreconf
eapply_user
}
src_configure(){
use systemd && ewarn "systemd functionally was not tested. Please report bugs if any"
econf $(use_with systemd)
}

View file

@ -2,5 +2,7 @@
=app-pda/libplist-2.0*
~app-pda/ideviceinstaller-1.1.0
~app-pda/ifuse-1.1.3
=app-pda/libimobiledevice-1.2.1*
~app-pda/libusbmuxd-1.0.10
=app-pda/libusbmuxd-1.1.0*
=app-pda/usbmuxd-1.1.1*