| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 7 | 0/6.0 |
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools git-r3
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
HOMEPAGE="https://libimobiledevice.org/"
EGIT_REPO_URI="https://github.com/libimobiledevice/${PN}.git"
# tools/iproxy.c is GPL-2+, everything else is LGPL-2.1+
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0/6.0" # based on SONAME of libusbmuxd.so
KEYWORDS=""
IUSE="kernel_linux static-libs"
RDEPEND=">=app-pda/libplist-2.1.0:=
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.md )
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=( $(use_enable static-libs static) )
use kernel_linux || myeconfargs+=( --without-inotify )
econf "${myeconfargs[@]}"
}
>=app-pda/libplist-2.1.0:= virtual/libusb:1 !~app-pda/usbmuxd-1.0.9 !<app-pda/usbmuxd-1.0.8_p1 virtual/os-headers virtual/pkgconfig
>=app-pda/libplist-2.1.0:= virtual/libusb:1 !~app-pda/usbmuxd-1.0.9 !<app-pda/usbmuxd-1.0.8_p1