mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 13:51:00 +02:00
app-pda: forking imobile, initial ebuilds. Might require fine tuning and cleanup
This commit is contained in:
parent
88b6db197c
commit
44518922d8
9 changed files with 202 additions and 0 deletions
3
app-pda/libimobiledevice/Manifest
Normal file
3
app-pda/libimobiledevice/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
AUX libimobiledevice-1.1.6-cython.patch 543 SHA256 7fb909254a8cf7ad3327728357f177a094d6751c86c267917f0adc2d8b9a085f SHA512 11707f068752e331dd8f13fb2b3f5840aab2f07d2eba3d6e7a30f4ac2c40a1e1f4c58771075caa85a0d8ea95de2aaa00e44de05b5618c3da72dd2ce9ccdbe5b1 WHIRLPOOL 5ee3d64ed34a48f8a4167e521cb8ac9d13666197becf32e0dbd189ff9869db89ae9c4f9b3b95126025e7ef82f6a592f97f680b9f32f58daf3cc22472d5ecd441
|
||||
DIST libimobiledevice-1.1.6.tar.bz2 619429 SHA256 1fcd56489a27181617507b1d8aaf122f66d9860c0fe5af4c78f9e0ed129e33e0 SHA512 ffc741eba65e73890ff50c906520b02189169ca92e95bcd3c8805caa1b1b44e4b1eaddad438c10fdbc112a867cdcfbe6a3dd667be1c639ad5a72ce621ee41a4f WHIRLPOOL 412c6f7523cd17178f639f7c3a8baa89857eff9c85d5e009bcb991591ca1304b6e4f80c2644289105831ee74d8848bee24708b598853a9444f4188a6731b9aa7
|
||||
EBUILD libimobiledevice-1.1.6.ebuild 1376 SHA256 9efca85ea1df956862c6754aea68cc55c7fecd5a4926761ffd70d5242c9a8458 SHA512 d9269746dffaff8cdc3aff7e99b7cf3fafb73e0f81cdc3b3d27b335e64246447d7fca9b4fab493e88c7b5ec9b7649ad1e6dac85ae791321185804d59764a648b WHIRLPOOL cd4a28aacab87185b587f82723cc09408056bb17c617bcc1d017ba805717553947908768a8ffe32a495c44514af4f149193f06c6bcece6fe06c86ad0bb011420
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
http://bugs.gentoo.org/471620
|
||||
http://github.com/libimobiledevice/libimobiledevice/commit/62ab50f64fa210304338a5bfccdc6a26fac5f0ec
|
||||
|
||||
--- cython/lockdown.pxi
|
||||
+++ cython/lockdown.pxi
|
||||
@@ -221,7 +221,7 @@
|
||||
char* c_session_id = NULL
|
||||
bint ssl_enabled
|
||||
bytes session_id
|
||||
- err = lockdownd_start_session(self._c_client, host_id, &c_session_id, &ssl_enabled)
|
||||
+ err = lockdownd_start_session(self._c_client, host_id, &c_session_id, <int *>&ssl_enabled)
|
||||
try:
|
||||
self.handle_error(err)
|
||||
|
||||
56
app-pda/libimobiledevice/libimobiledevice-1.1.6.ebuild
Normal file
56
app-pda/libimobiledevice/libimobiledevice-1.1.6.ebuild
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.5.ebuild,v 1.6 2014/03/01 22:19:35 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils python-r1 multilib
|
||||
|
||||
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"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
|
||||
IUSE="gnutls python"
|
||||
|
||||
RDEPEND=">=app-pda/libplist-1.10[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}]
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
# Prevent linking to the installed copy
|
||||
if has_version "<${CATEGORY}/${P}"; then
|
||||
rm -f "${EROOT}"/usr/$(get_libdir)/${PN}$(get_libname)
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use python && python_export_best
|
||||
|
||||
local myconf
|
||||
use gnutls && myconf='--disable-openssl'
|
||||
use python || myconf+=' --without-cython'
|
||||
|
||||
econf --disable-static ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dohtml docs/html/*
|
||||
dodoc AUTHORS NEWS README
|
||||
|
||||
prune_libtool_files --all
|
||||
}
|
||||
2
app-pda/libplist/Manifest
Normal file
2
app-pda/libplist/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST libplist-1.11.tar.bz2 355365 SHA256 28e1518eeea054f4eec9a1c93d9575d56193b290c53c1b753773a5e0add95235 SHA512 1c415670877c7091ded541dc36a6bc91132f714a0d3590090ead40ed972e0e076285441d3d219827cc425bc41fcbc101825e937620b7b4f2c1afe4bef8487fa2 WHIRLPOOL a2c74d3454b80696ab45922fe410833912554588d9ed5c177cbed1865bd98099b29a20ab6cf14a0b7c98de59d082fd15392915a94f33d27b16109300a0de2e4c
|
||||
EBUILD libplist-1.11.ebuild 1253 SHA256 6f4c684516455ce86a86413c20ac3bd42bd876900dbcfaa4ff008557a4af2c85 SHA512 7d6ebf67acaf6cf2a5e755b1be100fd8a9a8a9ce120c9904e1b2c27510dd4ef4f3f3851bf9e9da8fdba75b2f34e8f0a431adf2d5c0efb2fcb891c26a736ef54f WHIRLPOOL 3d866c52e78ccd5526672e0a61d5e8e66fb033de0e54b1e3eec259d423e421e14a4967ec34b8fa5d6a6ccc98c3c6ca60186aa05b792902719c8123cebc9993da
|
||||
53
app-pda/libplist/libplist-1.11.ebuild
Normal file
53
app-pda/libplist/libplist-1.11.ebuild
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.10.ebuild,v 1.3 2013/11/24 18:48:48 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit autotools python-r1
|
||||
|
||||
DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-fbsd"
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND="dev-libs/libxml2"
|
||||
DEPEND="${RDEPEND}
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/cython-0.14.1-r1[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
|
||||
MAKEOPTS+=" -j1" #406365
|
||||
|
||||
#src_configure() {
|
||||
# use python && python_export_best
|
||||
|
||||
# Use cython instead of swig to match behavior of libimobiledevice >= 1.1.2
|
||||
# $(cmake-utils_use_enable python CYTHON)
|
||||
# local mycmakeargs=(
|
||||
# -DCMAKE_SKIP_RPATH=ON
|
||||
# -DENABLE_SWIG=OFF
|
||||
# )
|
||||
|
||||
# cmake-utils_src_configure
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS NEWS README
|
||||
}
|
||||
|
||||
#src_test() {
|
||||
# cd "${CMAKE_BUILD_DIR}"
|
||||
|
||||
# local testfile
|
||||
# for testfile in "${S}"/test/data/*; do
|
||||
# LD_LIBRARY_PATH=src ./test/plist_test "${testfile}" || die
|
||||
# done
|
||||
#}
|
||||
2
app-pda/libusbmuxd/Manifest
Normal file
2
app-pda/libusbmuxd/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST libusbmuxd-1.0.9.tar.bz2 265940 SHA256 2e3f708a3df30ad7832d2d2389eeb29f68f4e4488a42a20149cc99f4f9223dfc SHA512 f50ee580ac9b4c5e55ab596aabb0bdc09f710cc58edba98699499998c44f2b2cf064792390f235b2221af494ce3233acda699652066b9297cc3cb4e9f8a1cfa4 WHIRLPOOL c2d9ce73f1c1f80dee649cbd3bc473fe55809fdec2b7b376cbdb7af5a82f2c532f1a0cec5aa77c2d76497a44df9a6de83dd03e61860677e6d4833e02f31d928b
|
||||
EBUILD libusbmuxd-1.0.9.ebuild 571 SHA256 55807802249b608ed4b59b71de597c769ef9c0aebf31ce9d50362740ab36291b SHA512 d7128d0c882bbc3180a0ec79870e5586a3813037aaf37168aceb04021ebcf5b39f987251ba7fcf20945514c23fdc569c781b3979676f80e4f00bf014d74efc13 WHIRLPOOL 777019c338538342a91c351f63c0417d64006484e91a3820876260d7be6a0543833df28d9ced1182ad71727e6f6af9f0d902afa483d790248df9f2447fbcad21
|
||||
26
app-pda/libusbmuxd/libusbmuxd-1.0.9.ebuild
Normal file
26
app-pda/libusbmuxd/libusbmuxd-1.0.9.ebuild
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A client library to multiplex connections from and to iOS devices"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=" virtual/libusb:1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/os-headers
|
||||
virtual/pkgconfig"
|
||||
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS README
|
||||
}
|
||||
1
app-pda/usbmuxd/Manifest
Normal file
1
app-pda/usbmuxd/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
EBUILD usbmuxd-1.0.8_p20140325.ebuild 1137 SHA256 00d55332d15a94304d01bf181edc9e309744de54b8a69b1daf0e30ebf750f6dd SHA512 2415dd99435f1b2f99d22fdabfc8300bd965c86a607a2a50ae97c5693920e5da68b5c498b6b1d678a87929abc77db76fda588af26c6d36be4ecc92f94d170b9b WHIRLPOOL 7d4de3d11c5260103e5ceea64a7bff641f4e2dd0d42dc4dcf1af45d15a4942cde89aca77844faf78cb4259487247175a0079c933b7153ab5f4c75a69ef188567
|
||||
45
app-pda/usbmuxd/usbmuxd-1.0.8_p20140325.ebuild
Normal file
45
app-pda/usbmuxd/usbmuxd-1.0.8_p20140325.ebuild
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/usbmuxd/usbmuxd-1.0.8-r1.ebuild,v 1.7 2013/02/02 22:23:47 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit user udev git-2 autotools
|
||||
|
||||
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="8ba560fdd177f107c5a0cf667d4e4ab3b0c59f4a"
|
||||
|
||||
LICENSE="GPL-2 GPL-3 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-pda/libplist-1.11
|
||||
app-pda/libimobiledevice
|
||||
virtual/libusb:1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/os-headers
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS README"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup plugdev
|
||||
enewuser usbmux -1 -1 -1 "usb,plugdev"
|
||||
}
|
||||
|
||||
#src_configure() {
|
||||
# if [[ $(udev_get_udevdir) != "/lib/udev" ]]; then
|
||||
# sed -i -e "/rules/s:/lib/udev:$(udev_get_udevdir):" udev/CMakeLists.txt || die
|
||||
# fi
|
||||
#}
|
||||
|
||||
src_prepare(){
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
Loading…
Reference in a new issue