diff options
Diffstat (limited to 'app-pda')
-rw-r--r-- | app-pda/libimobiledevice/Manifest | 1 | ||||
-rw-r--r-- | app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild | 66 | ||||
-rw-r--r-- | app-pda/libusbmuxd/Manifest | 1 | ||||
-rw-r--r-- | app-pda/libusbmuxd/libusbmuxd-1.0.10.ebuild | 32 | ||||
-rw-r--r-- | app-pda/usbmuxd/Manifest | 1 | ||||
-rw-r--r-- | app-pda/usbmuxd/usbmuxd-1.1.0.ebuild | 34 |
6 files changed, 135 insertions, 0 deletions
diff --git a/app-pda/libimobiledevice/Manifest b/app-pda/libimobiledevice/Manifest new file mode 100644 index 00000000..c8733929 --- /dev/null +++ b/app-pda/libimobiledevice/Manifest @@ -0,0 +1 @@ +DIST libimobiledevice-1.2.0.tar.bz2 631495 SHA256 786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037 SHA512 0de5f768aeb5d62445892855d84ceaff776f6667733c351ed6c34bf9d500802762d1a06e5efdf57f33cafc9ee788041cd9b6748fb9bad6c2e4ae2f9b9aa93589 WHIRLPOOL ca0d709fcc844811fa19b1b149afd81c15f75c213384789b1bc1a4ec838f12ffa33c6f78753befd4eae81156cb1c002d24e7ddc50a59f374164c33ddfd37ddb6 diff --git a/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild new file mode 100644 index 00000000..5b208e7b --- /dev/null +++ b/app-pda/libimobiledevice/libimobiledevice-1.2.0.ebuild @@ -0,0 +1,66 @@ +# 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.6.ebuild,v 1.6 2014/11/27 13:18:42 pacho Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) +AUTOTOOLS_PRUNE_LIBTOOL_FILES=all +inherit autotools-utils multilib python-r1 + +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/4" # based on SONAME of libimobiledevice.so +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" +IUSE="gnutls python static-libs" + +RDEPEND=">=app-pda/libplist-1.11:=[python?,${PYTHON_USEDEP}] + >=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 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + python? ( + ${PYTHON_DEPS} + >=dev-python/cython-0.17[${PYTHON_USEDEP}] + )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DOCS=( AUTHORS NEWS README ) + +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() { + local myeconfargs=( $(use_enable static-libs static) ) + use gnutls && myeconfargs+=( --disable-openssl ) + use python || myeconfargs+=( --without-cython ) + + python_foreach_impl autotools-utils_src_configure +} + +src_compile() { + python_foreach_impl autotools-utils_src_compile +} + +src_install() { + python_foreach_impl autotools-utils_src_install + dohtml docs/html/* + + if use python; then + insinto /usr/include/${PN}/cython + doins cython/imobiledevice.pxd + fi +} diff --git a/app-pda/libusbmuxd/Manifest b/app-pda/libusbmuxd/Manifest new file mode 100644 index 00000000..f31a6808 --- /dev/null +++ b/app-pda/libusbmuxd/Manifest @@ -0,0 +1 @@ +DIST libusbmuxd-1.0.10.tar.bz2 292649 SHA256 1aa21391265d2284ac3ccb7cf278126d10d354878589905b35e8102104fec9f2 SHA512 180cde2e9d0860d07d29813e68abf8ca807f75e98424b50acfc1ce941ba4260922959e1047a7d2bc754470c08ed55d0a15c9367487bd41c635a52b4fbf8ff535 WHIRLPOOL 4f7344084da1d5e36476b3b67584d7ccbaefebed81f82ac9bf2ce000b666860d5508e173d3f06bb0508f7803fd54686665fc5aa8d7aed7c8425c886ac27869fe diff --git a/app-pda/libusbmuxd/libusbmuxd-1.0.10.ebuild b/app-pda/libusbmuxd/libusbmuxd-1.0.10.ebuild new file mode 100644 index 00000000..0559aeff --- /dev/null +++ b/app-pda/libusbmuxd/libusbmuxd-1.0.10.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libusbmuxd/libusbmuxd-1.0.9.ebuild,v 1.2 2014/08/03 12:08:23 ssuominen Exp $ + +EAPI=5 +inherit autotools-utils + +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" + +# 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.11:= + virtual/libusb:1 + >=app-pda/usbmuxd-1.1.0" +DEPEND="${RDEPEND} + virtual/os-headers + virtual/pkgconfig" + +DOCS=( AUTHORS README ) + +src_configure() { + local myeconfargs=( $(use_enable static-libs static) ) + use kernel_linux || myeconfargs+=( --without-inotify ) + + autotools-utils_src_configure +} diff --git a/app-pda/usbmuxd/Manifest b/app-pda/usbmuxd/Manifest new file mode 100644 index 00000000..b9cfc94f --- /dev/null +++ b/app-pda/usbmuxd/Manifest @@ -0,0 +1 @@ +DIST usbmuxd-1.1.0.tar.bz2 321897 SHA256 3e8948b4fe4250ee5c4bd41ccd1b83c09b8a6f5518a7d131a66fd38bd461b42d SHA512 66aa0c40e912bf596b819098b87d88e9cf30b2e6352e607eeb778bd4f23bf9bb123fb6a6ecca2d4e4be3171e35d66200d632d2c9c80b1f2462bb45be8aa6912d WHIRLPOOL e960c466fa00b99a233dd78433adf32d0fbaa4f758bd71be2e98eb45eb5b8c89eb1d75fc5dfcc3b330d3a9610d686efca74ca0636bfb7035470b01c85e309716 diff --git a/app-pda/usbmuxd/usbmuxd-1.1.0.ebuild b/app-pda/usbmuxd/usbmuxd-1.1.0.ebuild new file mode 100644 index 00000000..01c3f93e --- /dev/null +++ b/app-pda/usbmuxd/usbmuxd-1.1.0.ebuild @@ -0,0 +1,34 @@ +# 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_p20140530.ebuild,v 1.2 2014/08/03 12:09:08 ssuominen Exp $ + +EAPI=5 +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils udev user + +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" +#SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz" + +# 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="" + +RDEPEND=">=app-pda/libimobiledevice-1.2.0 + >=app-pda/libplist-1.11 + virtual/libusb:1" +DEPEND="${RDEPEND} + virtual/os-headers + virtual/pkgconfig" + +pkg_setup() { + enewgroup plugdev + enewuser usbmux -1 -1 -1 "usb,plugdev" +} + +src_install() { + autotools-utils_src_install udevrulesdir="$(get_udevdir)"/rules.d +} |