diff options
-rw-r--r-- | app-pda/libplist/ChangeLog | 9 | ||||
-rw-r--r-- | app-pda/libplist/libplist-1.2.ebuild | 44 |
2 files changed, 51 insertions, 2 deletions
diff --git a/app-pda/libplist/ChangeLog b/app-pda/libplist/ChangeLog index 9ba5b1b0c7e8..d3ee5567ff5e 100644 --- a/app-pda/libplist/ChangeLog +++ b/app-pda/libplist/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-pda/libplist -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.4 2009/12/14 23:20:45 chainsaw Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.5 2010/01/21 22:37:39 chainsaw Exp $ + +*libplist-1.2 (21 Jan 2010) + + 21 Jan 2010; <chainsaw@gentoo.org> +libplist-1.2.ebuild: + Version bump, contains support for XML entities and carries warning fixes. *libplist-1.1 (14 Dec 2009) diff --git a/app-pda/libplist/libplist-1.2.ebuild b/app-pda/libplist/libplist-1.2.ebuild new file mode 100644 index 000000000000..414d2a624c9d --- /dev/null +++ b/app-pda/libplist/libplist-1.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.2.ebuild,v 1.1 2010/01/21 22:37:39 chainsaw Exp $ + +EAPI=2 +inherit cmake-utils eutils multilib python + +DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)" +HOMEPAGE="http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page" +SRC_URI="http://cloud.github.com/downloads/JonathanBeck/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RESTRICT="test" + +RDEPEND="dev-libs/glib:2 + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-lang/swig" + +src_prepare() { + sed -e 's:-Werror::g' \ + -i swig/CMakeLists.txt || die "sed failed" +} + +src_configure() { + python_version + mycmakeargs="-DCMAKE_SKIP_RPATH=ON + -DCMAKE_INSTALL_LIBDIR=$(get_libdir) + -DPYTHON_VERSION=${PYVER} VERBOSE=1 + " + cmake-utils_src_configure +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/plist +} + +pkg_postrm() { + python_mod_cleanup +} |