mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-23 23:31:00 +02:00
libimobiledevice: bump with 12.3 support
This commit is contained in:
parent
6114c7c315
commit
40b67c4c2e
6 changed files with 195 additions and 1 deletions
|
|
@ -1,2 +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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,107 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# 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
|
||||
|
||||
#EGIT_REPO_URI="https://github.com/libimobiledevice/libimobiledevice.git"
|
||||
HASH_COMMIT="4727a86940875ab6f55cd0ddb7be99a705686f53"
|
||||
|
||||
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="https://github.com/libimobiledevice/libimobiledevice/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
# 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.1.0_pre20190118:=
|
||||
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"
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
DIST libusbmuxd-1.0.10.tar.bz2 292649 BLAKE2B 7ec9a576cb20f7e87cf1f31e57e66100c496e5809142d225df9b3cc295a71546bed2d90f41df3144f7316ce0aec5f08fad850c528e27f336bf96e9578bcffd04 SHA512 180cde2e9d0860d07d29813e68abf8ca807f75e98424b50acfc1ce941ba4260922959e1047a7d2bc754470c08ed55d0a15c9367487bd41c635a52b4fbf8ff535
|
||||
DIST libusbmuxd-1.1.0_pre20190118.tar.gz 38771 BLAKE2B 082609ee72b68629b5eded757e3f90df707c6822f512b7c76c8742f25a676d95261a76ca048664451b6e9fb6fe7041262ab65f1da00ecd1b7751c44eb9e471da SHA512 c7ade150c3afc580e816aed59a49928b39c883231c231c854d2b64e9b2b92881bb838cd2b61604fdc1950d7497d0297c0a133ae26a25f87f8c1b66e4f26c8398
|
||||
DIST libusbmuxd-1.1.0_pre20190328.tar.gz 40839 BLAKE2B e422cafb88ec8d0f55dfebb2a25436eeed75546ac90af88ac19d6d2072baa9f2a5819ca0b4ac4b12b3c939f6bf42617533dfd0f2b17f2614c929b24397166716 SHA512 95a9b81150aa72c829285cf69834b383011ac891c87386048b5b4cdde03074b14e01f000ae5e19dac55edf2e634b96f95f6a14de88b19361194b73ddb9bff3c8
|
||||
|
|
|
|||
41
app-pda/libusbmuxd/libusbmuxd-1.1.0_pre20190328.ebuild
Normal file
41
app-pda/libusbmuxd/libusbmuxd-1.1.0_pre20190328.ebuild
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Copyright 1999-2019 Pentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools
|
||||
|
||||
HASH_COMMIT="60109fdef47dfe0badfb558a6a2105e8fb23660a"
|
||||
|
||||
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="https://github.com/libimobiledevice/libusbmuxd/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
# 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 )
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=( $(use_enable static-libs static) )
|
||||
use kernel_linux || myeconfargs+=( --without-inotify )
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST usbmuxd-1.1.0.tar.bz2 321897 SHA256 3e8948b4fe4250ee5c4bd41ccd1b83c09b8a6f5518a7d131a66fd38bd461b42d SHA512 66aa0c40e912bf596b819098b87d88e9cf30b2e6352e607eeb778bd4f23bf9bb123fb6a6ecca2d4e4be3171e35d66200d632d2c9c80b1f2462bb45be8aa6912d WHIRLPOOL e960c466fa00b99a233dd78433adf32d0fbaa4f758bd71be2e98eb45eb5b8c89eb1d75fc5dfcc3b330d3a9610d686efca74ca0636bfb7035470b01c85e309716
|
||||
DIST usbmuxd-1.1.0.tar.bz2 321897 BLAKE2B 3ca5d1da222e457ac01f3e87fb7573c6405e51fd5d270a2b3dab7601118f21be22232d5100b4d027273fc837e6a57f7a7d17d2c41ae59d7c5aa41f76bef5a03d SHA512 66aa0c40e912bf596b819098b87d88e9cf30b2e6352e607eeb778bd4f23bf9bb123fb6a6ecca2d4e4be3171e35d66200d632d2c9c80b1f2462bb45be8aa6912d
|
||||
DIST usbmuxd-1.1.1_pre20190521.tar.gz 59292 BLAKE2B 753ef5b1e5d88b74f600aabdbe1bc3c38d83cea5673b0ebd8654498374a966b5a43704eca689b4e89fd3b6d096a0f42932809fdb98931b7343ffd07bd237eec2 SHA512 b4a2ed5a93050d5163f83d7f7084c25adc90bcf2911dc3027fb2a54aeda11e7241d8d4d05d1cfc6e431cca30a9cc6bdead29f58c7b70960eb1baa9a8397abf3e
|
||||
|
|
|
|||
43
app-pda/usbmuxd/usbmuxd-1.1.1_pre20190521.ebuild
Normal file
43
app-pda/usbmuxd/usbmuxd-1.1.1_pre20190521.ebuild
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Copyright 1999-2019 Pentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools udev user
|
||||
|
||||
HASH_COMMIT="8bcbac4d0bf857ef2ccbaf5be4f7af3613f4f5df"
|
||||
|
||||
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
#EGIT_REPO_URI="https://github.com/libimobiledevice/usbmuxd.git"
|
||||
SRC_URI="https://github.com/libimobiledevice/usbmuxd/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
# 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"
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
||||
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)
|
||||
}
|
||||
Loading…
Reference in a new issue