libimobiledevice: 1.2.1_pre20190719 bump

This commit is contained in:
blshkv 2019-07-24 08:08:09 +08:00
parent 782d53ab28
commit f51e53751e
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 2 additions and 107 deletions

View file

@ -1,3 +1,3 @@
DIST libimobiledevice-1.2.0.tar.bz2 631495 BLAKE2B b04d87906615710e9e143013d27f4a0735e444160cb9dad464cb63d568470397f504680b3faca3995932cc8a80970a5923128d356fad9c98372af4981373ed69 SHA512 0de5f768aeb5d62445892855d84ceaff776f6667733c351ed6c34bf9d500802762d1a06e5efdf57f33cafc9ee788041cd9b6748fb9bad6c2e4ae2f9b9aa93589
DIST libimobiledevice-1.2.1_pre20190126.tar.gz 236737 BLAKE2B 4df02b0b16454fe57e559d7143c9e39fefe3b574fd878cf377660ea434aabaf0fdcf4d77b1b072b0c70a56c64ceeecd9661f4410ba96e2f5b129a24764a6cf05 SHA512 263bb884ca9e2f4ccc1bc90c5b17aa9e90afbd115c5e90fe1ebb0a19474f63ae24203f74a393565d84b2fadd662c79d6398f004e8a309104a276d6446077ccc8
DIST libimobiledevice-1.2.1_pre20190521.tar.gz 237810 BLAKE2B 81b99f56189e085175484bfda0885df28395e1b7ba53e376e89012ad63abfab9b761db80c1c206fddad439792fc2136ad45f368620c24c39745c31bb72005b56 SHA512 3971957473b07069df5b52f1e4d046befeb4cc983457ec0385fe5df4720f3cdfe6cf0958c18f50a238eca90a07dbd8bb96e50fd3c76850e604bfda7be02ad18e
DIST libimobiledevice-1.2.1_pre20190719.tar.gz 238530 BLAKE2B 2f3d554d5b1532f593358e6aa5b3bc5d18fe8ba0a843e33ea485054594b8e9c5cae30572594aec690be4475b6930f4ce031ad046f1a94910f6192213f4e88f22 SHA512 e7edf384f30d27e95105ad67d4b1b7661ab542d1ebc61e4f6bb96f7314f7d1045b3f318b50ae87050843c03378724570037f85eeae04b3f3caebbcbc24b9f92a

View file

@ -1,105 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit eutils autotools python-r1 git-r3
EGIT_REPO_URI="https://github.com/libimobiledevice/libimobiledevice.git"
EGIT_COMMIT="3a37a4e4a334ea2de52db534f105fe8dbe928628"
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"
#SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
# While COPYING* doesn't mention 'or any later version', all the headers do, hence use +
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0/6" # based on SONAME of libimobiledevice.so
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="debug gnutls python static-libs"
RDEPEND=">=app-pda/libplist-1.12:=
>=app-pda/libusbmuxd-1.0.10:=
gnutls? (
dev-libs/libgcrypt:0
>=dev-libs/libtasn1-1.1
>=net-libs/gnutls-2.2.0
)
!gnutls? ( dev-libs/openssl:0 )
python? (
${PYTHON_DEPS}
app-pda/libplist[python(-),${PYTHON_USEDEP}]
)"
DEPEND="${RDEPEND}
virtual/pkgconfig
python? ( >=dev-python/cython-0.17[${PYTHON_USEDEP}] )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DOCS=( AUTHORS NEWS README )
BUILD_DIR="${S}_build"
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
local ECONF_SOURCE=${S}
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
pushd "${BUILD_DIR}" >/dev/null || die
econf "${myeconfargs[@]}" "${@}"
popd >/dev/null || die
}
do_configure_python() {
# Bug 567916
PYTHON_LDFLAGS="$(python_get_LIBS)" do_configure "$@"
}
do_configure --without-cython
use python && python_foreach_impl do_configure_python
}
src_compile() {
python_compile() {
emake -C "${BUILD_DIR}"/cython -j1 \
VPATH="${S}/cython:${native_builddir}/cython" \
imobiledevice_la_LIBADD="${native_builddir}/src/libimobiledevice.la"
}
local native_builddir=${BUILD_DIR}
pushd "${BUILD_DIR}" >/dev/null || die
emake -j1
use python && python_foreach_impl python_compile
popd >/dev/null || die
}
src_install() {
python_install() {
emake -C "${BUILD_DIR}/cython" -j1 \
VPATH="${S}/cython:${native_builddir}/cython" \
DESTDIR="${D}" install
}
local native_builddir=${BUILD_DIR}
pushd "${BUILD_DIR}" >/dev/null || die
emake -j1 DESTDIR="${D}" install
use python && python_foreach_impl python_install
popd >/dev/null || die
# dodoc docs/html/*
if use python; then
insinto /usr/include/${PN}/cython
doins cython/imobiledevice.pxd
fi
prune_libtool_files --all
}

View file

@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit eutils autotools python-r1
#EGIT_REPO_URI="https://github.com/libimobiledevice/libimobiledevice.git"
HASH_COMMIT="d200973897e281ba35d6c9c433e1355a49056da8"
HASH_COMMIT="98ac7da5255a69fa4620e325228a1c7d79ba42d7"
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"