Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-pda/libsyncml: libsyncml-0.5.2.ebuild ChangeLog
Date: Fri, 20 Mar 2009 14:42:45
Message-Id: E1Lkfvn-0004bR-To@stork.gentoo.org
1 flameeyes 09/03/20 14:42:43
2
3 Modified: ChangeLog
4 Added: libsyncml-0.5.2.ebuild
5 Log:
6 Version bump so that it can build with net-wireless/bluez instead of net-wireless/bluez-libs.
7 (Portage version: 2.2_rc26/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.13 app-pda/libsyncml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 3 Aug 2008 12:55:56 -0000 1.12
23 +++ ChangeLog 20 Mar 2009 14:42:43 -0000 1.13
24 @@ -1,6 +1,13 @@
25 # ChangeLog for app-pda/libsyncml
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.12 2008/08/03 12:55:56 ulm Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.13 2009/03/20 14:42:43 flameeyes Exp $
30 +
31 +*libsyncml-0.5.2 (20 Mar 2009)
32 +
33 + 20 Mar 2009; Diego E. Pettenò <flameeyes@g.o>
34 + +libsyncml-0.5.2.ebuild:
35 + Version bump so that it can build with net-wireless/bluez instead of
36 + net-wireless/bluez-libs.
37
38 03 Aug 2008; Ulrich Mueller <ulm@g.o> metadata.xml:
39 Add USE flag description to metadata wrt GLEP 56.
40
41
42
43 1.1 app-pda/libsyncml/libsyncml-0.5.2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/libsyncml-0.5.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/libsyncml-0.5.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libsyncml-0.5.2.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/libsyncml-0.5.2.ebuild,v 1.1 2009/03/20 14:42:43 flameeyes Exp $
53
54 EAPI="2"
55
56 inherit eutils cmake-utils
57
58 DESCRIPTION="Implementation of the SyncML protocol"
59 HOMEPAGE="http://libsyncml.opensync.org/"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
61
62 KEYWORDS="~amd64 ~ppc ~x86"
63 SLOT="0"
64 LICENSE="LGPL-2.1"
65 IUSE="bluetooth debug doc http +obex"
66
67 RDEPEND=">=dev-libs/glib-2.0
68 >=dev-libs/libwbxml-0.9.2
69 dev-libs/libxml2
70 http? ( >=net-libs/libsoup-2.2.91:2.2 )
71 obex? ( >=dev-libs/openobex-1.1 )
72 bluetooth? ( net-wireless/bluez
73 >=dev-libs/openobex-1.1[bluetooth] )"
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig
76 doc? ( app-doc/doxygen )"
77
78 # Some of the tests are broken
79 RESTRICT="test"
80
81 pkg_setup() {
82 if ! use obex && ! use http; then
83 eerror "${CATEGORY}/${P} without support for obex nor http is unusable."
84 eerror "Please enable \"obex\" or/and \"http\" USE flags."
85 die "Please enable \"obex\" or/and \"http\" USE flags."
86 fi
87
88 if use bluetooth && ! use obex; then
89 eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\""
90 eerror "USE flag, but you didn't enable the \"obex\" flag, which is"
91 eerror "needed for bluetooth support."
92 eerror "Please enable \"obex\" USE flag."
93 die "Please enable \"obex\" USE flag."
94 fi
95 }
96
97 src_compile() {
98 local mycmakeargs="
99 $(cmake-utils_use_enable http HTTP)
100 $(cmake-utils_use_enable obex OBEX)
101 $(cmake-utils_use_enable bluetooth BLUETOOTH)
102 $(cmake-utils_use_enable debug TRACE)"
103
104 cmake-utils_src_compile
105 }