app-pda/libimobiledevice: add master ebuild, todo: support useflags

This commit is contained in:
Anton Schubert 2017-02-15 18:39:57 +01:00
parent 187d430853
commit d77cf415b2
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,43 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
inherit autotools multilib python-r1 git-r3
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"
SRC_URI=""
EGIT_REPO_URI="https://github.com/libimobiledevice/libimobiledevice.git"
# While COPYING* doesn't mention 'or any later version', all the headers do, hence use +
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0/4" # based on SONAME of libimobiledevice.so
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
#ISUE="python"
IUSE="gnutls python static-libs"
RDEPEND=">=app-pda/libplist-1.11:=[python?,${PYTHON_USEDEP}]
>=app-pda/libusbmuxd-1.0.9:=
gnutls? (
dev-libs/libgcrypt:0
>=dev-libs/libtasn1-1.1
>=net-libs/gnutls-2.2.0
)
!gnutls? ( dev-libs/openssl:0 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
python? (
${PYTHON_DEPS}
>=dev-python/cython-0.17[${PYTHON_USEDEP}]
)"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DOCS=( AUTHORS NEWS README )
src_prepare() {
eautoreconf
}