summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2012-02-10 21:07:28 +0000
committerDavide Pesavento <pesa@gentoo.org>2012-02-10 21:07:28 +0000
commitec7d13f57365c8d25802eb920e4ef4735b1111b5 (patch)
tree9a1722c4f954195664f146e0c6713da28b05fb9d /app-pda
parentInitial import. (diff)
downloadhistorical-ec7d13f57365c8d25802eb920e4ef4735b1111b5.tar.gz
historical-ec7d13f57365c8d25802eb920e4ef4735b1111b5.tar.bz2
historical-ec7d13f57365c8d25802eb920e4ef4735b1111b5.zip
Version bump (bug #402985). Implement src_test(). Take maintainership.
Package-Manager: portage-2.2.0_alpha85/cvs/Linux x86_64
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/libplist/ChangeLog10
-rw-r--r--app-pda/libplist/Manifest28
-rw-r--r--app-pda/libplist/libplist-1.8.ebuild65
-rw-r--r--app-pda/libplist/metadata.xml7
4 files changed, 96 insertions, 14 deletions
diff --git a/app-pda/libplist/ChangeLog b/app-pda/libplist/ChangeLog
index 9b65e3ee9306..ae26ddc22ef7 100644
--- a/app-pda/libplist/ChangeLog
+++ b/app-pda/libplist/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-pda/libplist
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.17 2011/11/06 18:00:09 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.18 2012/02/10 21:07:28 pesa Exp $
+
+*libplist-1.8 (10 Feb 2012)
+
+ 10 Feb 2012; Davide Pesavento <pesa@gentoo.org> +libplist-1.8.ebuild,
+ metadata.xml:
+ Version bump (bug #402985). Implement src_test(). Take maintainership.
06 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> -libplist-1.3.ebuild:
old
diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
index 8e414c7577e7..0de67c994673 100644
--- a/app-pda/libplist/Manifest
+++ b/app-pda/libplist/Manifest
@@ -1,19 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX libplist-1.4-gcc46.patch 234 RMD160 014354676a5925f1c884ff21740a7afac36fa8cd SHA1 f4f795d9212076f0a4739a906e3a79b3256ddc66 SHA256 ebfc5ab31a2bdc02c59540d4fc9177cdf5797828d98dbb299b2a79e1885047a8
DIST libplist-1.4.tar.bz2 68176 RMD160 a00366f0fe164d7bd5d516092e2731b3233ac075 SHA1 82e98d13cdff1a62ad1184d515d71e8898866ee4 SHA256 2ad226abe1131a72e7ecbb2b921ad92f54b8e787c2281c89b00145b519479a71
+DIST libplist-1.8.tar.bz2 81278 RMD160 b8da55db4bec34e4c8b9126da0ea46e79f36ccf1 SHA1 dea18ac31cc497dba959bdb459a2a49fb41664c3 SHA256 a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec
EBUILD libplist-1.4.ebuild 1154 RMD160 4746a0004f1df132a546108fb20f9bbe4378ee86 SHA1 281bdfae62251098a23fa5391fff91a5d1a263e2 SHA256 e236dc00fe54dc6a560cc122150d67babe4343ca6783826fb72b91c07ab558cc
-MISC ChangeLog 2624 RMD160 6020eeabe73431aac47f7fbaef6cfb0dc536bb86 SHA1 ffc92db24c284bdbe28b540234b0d2ec8f6df7b9 SHA256 6777f984577ce80f7614da0f845af863bdc08c74cbf51d88a4fa418080cdf75c
-MISC metadata.xml 250 RMD160 9b84b76c4212b2007d665eb817954438bc119f02 SHA1 3f69a31fb93ce89476bce6d689586f611017d8b4 SHA256 771f2b9efd3e845ceaef0f34ed1b40c268916e590445b2ef3dc90f7766d9aa7b
+EBUILD libplist-1.8.ebuild 1361 RMD160 89e07ca5fd4615255f1017691e6d553601d0be46 SHA1 101ff027011414e7e332be7b68296990822a1cf0 SHA256 a318e6c1cf3d25849e04c3c145ab7b9bc623503d9e5c02020525d50aa491d231
+MISC ChangeLog 2810 RMD160 2c6a1db71a281b11b96f5869e9bce987304bbb41 SHA1 573cb0e17f4033f396235f8371e403a640a6c89d SHA256 10ae319c701cab4b97a25890879e3f454722bee482cf2e36ba7d9eed80c49c84
+MISC metadata.xml 361 RMD160 6bfdc428efa11b4ed0cdb885dd2876aeb329ae69 SHA1 0232baf5bcfc8c532556113d8c4e3a3ab065adc8 SHA256 336cba10ab87e0902e5fd1fb348c93660acff73afb42a642ed62f03b35bb485d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBAgAGBQJOtssHAAoJEEdUh39IaPFN7PwIAIK99svnohntBgtn6HwtqdjC
-PW2G4tn/xrBTFyOJyNtI5eI8e7xJ20oh1wHEq2teyLWVJ2hK+EmQRla2PSV7gUrz
-XCAEzyO32zz+6KWzT0ABKdtty6bQtq/XuuLJGQ2LWNEsekri5ilVGX3nVN+mEErr
-Q1JOvz1y17LTuezJiXTKiNgix0NEoRvI1mtiSojuT1uNM4oRfHOWbmZqJ8VQ/zJa
-BDWtJ7ILO0x/O2Miv9Yk7qdjH5XLgJfikuMJ1Ys/JHnD6e5aKJVC4f/u9bjpvm3X
-H6qsEn4ldoyhW2ZXXcSygH5wGA6BkRLXUq4WKTY5bprxLCw5HT5AqWhYkFr6RRU=
-=/EAX
+iQIcBAEBCgAGBQJPNYcWAAoJENXLsxwXqFxy9wUQAInzL4URxahf2Fbsa8rQk+sh
+Lw+XbTe3H3tB7r2QzinuW7dPSx0wW/7KkoQxlroBWjrptQSck2FO8RQOmMH6z+iY
+2bnCBb1PDU2cP4PI+Bu4EiJv84rRLL+7p+jIWDS6FU8kX6+ePO2j2TZAWvOsrg6U
+Wx+To3X/9KxzlWGoRgRGDCnOzUZQTg/ytQKSIPRaAP0oFwB6AcHxUsxiCVBVj7hh
+WcPx2p3jNw3kOsdGVsBTy1DckY2beiDY5S1sEIjuatmIDm3LxnBX7yWWWbfMEpD8
+szkImoVMGidJzMHsSzRd/6OL3sKlRD6/zIgzBSvTMUccxzS2LuwePDs+IuCS+G9L
+0DJ9H79vVdr62F8LMPwrYxDnmDD12STnTAKJkZxiLzu6dTkabS8vwYXyAJJsQxd4
+NSC4l2yLN9fMEJ4hqj4z30k4c5g8QzxDyfYCVXFQH1mcLoLaDuYu+4g85A1BTduA
+2pF5baLPFXfULG5jkzK53PhGI68ME08sm4gKsc1FyBDOA1GS4LjPnljZdJ88Vulg
+Yf4iZJ2vSN7Fd3VivuimEAAZJp9kIfkM02KH4o5UvDkiT98HwR5Lda4qepeOXGdw
+nZxvfJ55N7MadFqqHbT7ftJoO9RNcK7fEkJYSGZl+wV/g43+GXB4jZ4oheYHy4td
+LbjV5r/koedyb6cOw9Je
+=KGEI
-----END PGP SIGNATURE-----
diff --git a/app-pda/libplist/libplist-1.8.ebuild b/app-pda/libplist/libplist-1.8.ebuild
new file mode 100644
index 000000000000..118e09c69202
--- /dev/null
+++ b/app-pda/libplist/libplist-1.8.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.8.ebuild,v 1.1 2012/02/10 21:07:28 pesa Exp $
+
+EAPI=4
+
+inherit cmake-utils python
+
+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 ~ppc64 ~x86"
+IUSE="cython python"
+
+RDEPEND="dev-libs/libxml2
+ cython? ( =dev-lang/python-2* )
+ python? ( =dev-lang/python-2* )
+"
+DEPEND="${RDEPEND}
+ cython? ( dev-python/cython )
+ python? ( dev-lang/swig )
+"
+
+DOCS=(AUTHORS NEWS README)
+
+pkg_setup() {
+ if use cython || use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ sed -i -e 's:-Werror::' swig/CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use_enable cython)
+ $(cmake-utils_use_enable python SWIG)
+ )
+
+ cmake-utils_src_configure
+}
+
+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
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize plist
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup plist
+}
diff --git a/app-pda/libplist/metadata.xml b/app-pda/libplist/metadata.xml
index 0bef3c15362f..99e070d1af48 100644
--- a/app-pda/libplist/metadata.xml
+++ b/app-pda/libplist/metadata.xml
@@ -3,8 +3,11 @@
<pkgmetadata>
<herd>pda</herd>
<maintainer>
- <email>chainsaw@gentoo.org</email>
- <name>Tony Vroon</name>
+ <email>pesa@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="cython">Build cython-based python bindings</flag>
+ <flag name="python">Build swig-based python bindings</flag>
+ </use>
</pkgmetadata>