Gentoo Archives: gentoo-commits

From: "Piotr Jaroszynski (peper)" <peper@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-pda/libsyncml: ChangeLog libsyncml-0.4.5.ebuild
Date: Sat, 29 Dec 2007 14:40:37
Message-Id: E1J8crY-0002CV-71@stork.gentoo.org
1 peper 07/12/29 14:40:32
2
3 Modified: ChangeLog
4 Added: libsyncml-0.4.5.ebuild
5 Log:
6 Add 0.4.5.
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.8 app-pda/libsyncml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 7 Dec 2007 16:25:18 -0000 1.7
23 +++ ChangeLog 29 Dec 2007 14:40:31 -0000 1.8
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-pda/libsyncml
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.7 2007/12/07 16:25:18 peper Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.8 2007/12/29 14:40:31 peper Exp $
29 +
30 +*libsyncml-0.4.5 (29 Dec 2007)
31 +
32 + 29 Dec 2007; Piotr Jaroszyński <peper@g.o>
33 + +libsyncml-0.4.5.ebuild:
34 + Add 0.4.5.
35
36 07 Dec 2007; Piotr Jaroszyński <peper@g.o> libsyncml-9999.ebuild:
37 Update the scm ebuild wrt to the upstream switch to cmake. Make obex and
38
39
40
41 1.1 app-pda/libsyncml/libsyncml-0.4.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/libsyncml-0.4.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libsyncml/libsyncml-0.4.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libsyncml-0.4.5.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/libsyncml-0.4.5.ebuild,v 1.1 2007/12/29 14:40:31 peper Exp $
51
52 EAPI="1"
53
54 inherit eutils
55
56 DESCRIPTION="Implementation of the SyncML protocol"
57 HOMEPAGE="http://libsyncml.opensync.org/"
58 SRC_URI="http://libsyncml.opensync.org/download/releases/${PV}/${P}.tar.bz2"
59
60 KEYWORDS="~amd64 ~x86"
61 SLOT="0"
62 LICENSE="LGPL-2.1"
63 IUSE="bluetooth +debug doc http +obex"
64
65 RDEPEND=">=dev-libs/glib-2.0
66 >=dev-libs/libwbxml-0.9.2
67 dev-libs/libxml2
68 http? ( >=net-libs/libsoup-2.2.91 )
69 obex? ( >=dev-libs/openobex-1.1 )
70 bluetooth? ( net-wireless/bluez-libs )"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig
73 doc? ( app-doc/doxygen )"
74
75 # Some of the tests are broken
76 RESTRICT="test"
77
78 pkg_setup() {
79 if ! use obex && ! use http; then
80 eerror "${CATEGORY}/${P} without support for obex nor http is unusable."
81 eerror "Please enable \"obex\" or/and \"http\" USE flags."
82 die "Please enable \"obex\" or/and \"http\" USE flags."
83 fi
84
85 if use bluetooth; then
86 if use obex && ! built_with_use dev-libs/openobex bluetooth; then
87 eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\""
88 eerror "and \"obex\" USE flags, but dev-libs/openobex was built without"
89 eerror "the \"bluetooth\" USE flag."
90 eerror "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag."
91 die "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag."
92 elif ! use obex; then
93 eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\""
94 eerror "USE flag, but you didn't enable the \"obex\" flag, which is"
95 eerror "needed for bluetooth support."
96 eerror "Please enable \"obex\" USE flag."
97 die "Please enable \"obex\" USE flag."
98 fi
99 fi
100 }
101
102 src_compile() {
103 econf \
104 $(use_enable bluetooth) \
105 $(use_enable obex) \
106 $(use_enable http) \
107 $(use_enable debug) \
108 $(use_enable debug tracing) \
109 --disable-unit-tests \
110 || die "econf failed"
111 #$(use_enable test unit-tests) \
112
113 emake || die "emake failed"
114
115 use doc && doxygen Doxyfile
116 }
117
118 src_install() {
119 emake DESTDIR="${D}" install || die "emake install failed"
120 dodoc AUTHORS ChangeLog README
121
122 use doc && dohtml docs/html/*
123 }
124
125
126
127 --
128 gentoo-commits@g.o mailing list