diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-06-15 18:53:57 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-06-15 18:53:57 +0000 |
commit | cae5dbd91157e9e4154cf1e5d603e9abc3cc8b24 (patch) | |
tree | 8dfc7d16a49046dd2c70be5b11574c421a21376a /app-pda | |
parent | Added ~mips, bug 371687 (diff) | |
download | gentoo-2-cae5dbd91157e9e4154cf1e5d603e9abc3cc8b24.tar.gz gentoo-2-cae5dbd91157e9e4154cf1e5d603e9abc3cc8b24.tar.bz2 gentoo-2-cae5dbd91157e9e4154cf1e5d603e9abc3cc8b24.zip |
Version bump.
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'app-pda')
-rw-r--r-- | app-pda/libimobiledevice/ChangeLog | 8 | ||||
-rw-r--r-- | app-pda/libimobiledevice/libimobiledevice-1.1.1.ebuild | 72 |
2 files changed, 79 insertions, 1 deletions
diff --git a/app-pda/libimobiledevice/ChangeLog b/app-pda/libimobiledevice/ChangeLog index cb94b397ac27..1e072c8675e9 100644 --- a/app-pda/libimobiledevice/ChangeLog +++ b/app-pda/libimobiledevice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-pda/libimobiledevice # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/ChangeLog,v 1.16 2011/04/09 08:46:24 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/ChangeLog,v 1.17 2011/06/15 18:53:57 ssuominen Exp $ + +*libimobiledevice-1.1.1 (15 Jun 2011) + + 15 Jun 2011; Samuli Suominen <ssuominen@gentoo.org> + +libimobiledevice-1.1.1.ebuild: + Version bump. 09 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> libimobiledevice-1.1.0.ebuild: diff --git a/app-pda/libimobiledevice/libimobiledevice-1.1.1.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.1.1.ebuild new file mode 100644 index 000000000000..03656c313351 --- /dev/null +++ b/app-pda/libimobiledevice/libimobiledevice-1.1.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.1.ebuild,v 1.1 2011/06/15 18:53:57 ssuominen Exp $ + +EAPI=3 +PYTHON_DEPEND="python? 2:2.6" + +inherit python + +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" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="python static-libs" + +RDEPEND=">=app-pda/libplist-0.15 + >=app-pda/usbmuxd-0.1.4 + >=dev-libs/glib-2.14.1 + dev-libs/libgcrypt + >=dev-libs/libtasn1-1.1 + >=net-libs/gnutls-1.6.3 + sys-fs/fuse + virtual/libusb:1" +DEPEND="${RDEPEND} + dev-util/pkgconfig + python? ( >=dev-lang/swig-2.0.0 )" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + sed -i -e 's:1.3.21:2.0.0:g' configure || die + + rm -f py-compile + ln -s $(type -P true) py-compile +} + +src_configure() { + # --with-swig is same as --without-swig wrt #361029 + + local myconf + use python || myconf="--without-swig" + + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS NEWS README + dohtml docs/html/* + + find "${D}" -name '*.la' -exec rm -f {} + +} + +pkg_postinst() { + use python && python_mod_optimize imobiledevice +} + +pkg_postrm() { + use python && python_mod_cleanup imobiledevice +} |