From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-pda/libplist: libplist-1.8-r1.ebuild ChangeLog |
Date: | Sat, 31 Mar 2012 15:29:00 |
Message-Id: | 20120331152845.16B422004B@flycatcher.gentoo.org |
1 | ssuominen 12/03/31 15:28:45 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libplist-1.8-r1.ebuild |
5 | Log: |
6 | USE="python" is for building Cython based python binding for compability with libimobiledevice >= 1.1.2 |
7 | |
8 | (Portage version: 2.2.0_alpha96/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.23 app-pda/libplist/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/ChangeLog?rev=1.23&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/ChangeLog?rev=1.23&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/ChangeLog?r1=1.22&r2=1.23 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v |
20 | retrieving revision 1.22 |
21 | retrieving revision 1.23 |
22 | diff -u -r1.22 -r1.23 |
23 | --- ChangeLog 25 Mar 2012 20:16:26 -0000 1.22 |
24 | +++ ChangeLog 31 Mar 2012 15:28:44 -0000 1.23 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for app-pda/libplist |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.22 2012/03/25 20:16:26 pesa Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/ChangeLog,v 1.23 2012/03/31 15:28:44 ssuominen Exp $ |
30 | + |
31 | +*libplist-1.8-r1 (31 Mar 2012) |
32 | + |
33 | + 31 Mar 2012; Samuli Suominen <ssuominen@g.o> +libplist-1.8-r1.ebuild: |
34 | + USE="python" is for building Cython based python binding for compability with |
35 | + libimobiledevice >= 1.1.2 |
36 | |
37 | 25 Mar 2012; Davide Pesavento <pesa@g.o> |
38 | -files/libplist-1.4-gcc46.patch, -libplist-1.4.ebuild, metadata.xml: |
39 | |
40 | |
41 | |
42 | 1.1 app-pda/libplist/libplist-1.8-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/libplist-1.8-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libplist/libplist-1.8-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: libplist-1.8-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.8-r1.ebuild,v 1.1 2012/03/31 15:28:44 ssuominen Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | PYTHON_DEPEND="python? 2:2.7" |
56 | |
57 | inherit cmake-utils python |
58 | |
59 | DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)" |
60 | HOMEPAGE="http://www.libimobiledevice.org/" |
61 | SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2" |
62 | |
63 | LICENSE="GPL-2 LGPL-2.1" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~ppc64 ~x86" |
66 | IUSE="python" |
67 | |
68 | RDEPEND="dev-libs/libxml2" |
69 | DEPEND="${RDEPEND} |
70 | python? ( >=dev-python/cython-0.13 )" |
71 | |
72 | DOCS=( AUTHORS NEWS README ) |
73 | |
74 | MAKEOPTS+=" -j1" #406365 |
75 | |
76 | pkg_setup() { |
77 | if use python; then |
78 | python_set_active_version 2 |
79 | python_pkg_setup |
80 | fi |
81 | } |
82 | |
83 | src_configure() { |
84 | # Use cython instead of swig to match behavior of libimobiledevice >= 1.1.2 |
85 | local mycmakeargs=( |
86 | -DCMAKE_SKIP_RPATH=ON |
87 | $(cmake-utils_use_enable python CYTHON) |
88 | -DENABLE_SWIG=OFF |
89 | ) |
90 | |
91 | cmake-utils_src_configure |
92 | } |
93 | |
94 | src_test() { |
95 | cd "${CMAKE_BUILD_DIR}" |
96 | |
97 | local testfile |
98 | for testfile in "${S}"/test/data/*; do |
99 | LD_LIBRARY_PATH=src ./test/plist_test "${testfile}" || die |
100 | done |
101 | } |