Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/ofono: ChangeLog ofono-1.0.ebuild
Date: Tue, 28 Feb 2012 11:28:08
Message-Id: 20120228112756.5BE772004B@flycatcher.gentoo.org
1 nirbheek 12/02/28 11:27:56
2
3 Modified: ChangeLog
4 Added: ofono-1.0.ebuild
5 Log:
6 Bump to 1.0, with permission from dagger. Fix glib single-includes bug in a hacky patchless way.
7
8 (Portage version: 2.2.0_alpha88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.36 net-misc/ofono/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ofono/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ofono/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ofono/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/ofono/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 1 Jul 2011 15:23:08 -0000 1.35
24 +++ ChangeLog 28 Feb 2012 11:27:56 -0000 1.36
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/ofono
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ChangeLog,v 1.35 2011/07/01 15:23:08 dagger Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ChangeLog,v 1.36 2012/02/28 11:27:56 nirbheek Exp $
31 +
32 +*ofono-1.0 (28 Feb 2012)
33 +
34 + 28 Feb 2012; Nirbheek Chauhan <nirbheek@g.o> +ofono-1.0.ebuild:
35 + Bump to 1.0, with permission from dagger. Fix glib single-includes bug in a
36 + hacky patchless way.
37
38 *ofono-0.51 (01 Jul 2011)
39
40
41
42
43 1.1 net-misc/ofono/ofono-1.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ofono/ofono-1.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ofono/ofono-1.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ofono-1.0.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ofono-1.0.ebuild,v 1.1 2012/02/28 11:27:56 nirbheek Exp $
53
54 EAPI="2"
55
56 inherit multilib systemd
57
58 DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon."
59 HOMEPAGE="http://ofono.org/"
60 SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~arm ~amd64 ~x86"
65 IUSE="+atmodem bluetooth +caps +cdmamodem examples +isimodem +phonesim threads tools +udev"
66
67 RDEPEND=">=sys-apps/dbus-1.2.24
68 >=dev-libs/glib-2.16
69 bluetooth? ( >=net-wireless/bluez-4.61 )
70 caps? ( sys-libs/libcap-ng )
71 udev? ( >=sys-fs/udev-143 )
72 examples? ( dev-python/dbus-python )
73 tools? ( dev-libs/libusb:1 )"
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig"
76
77 src_prepare() {
78 default
79
80 # Fix build with newer glib due to G_DISABLE_SINGLE_INCLUDES
81 grep -lre '<glib/gtypes.h>' "${S}" | while read i; do
82 sed -ie 's:glib/gtypes.h:glib.h:' "${i}" || die "Unable to sed \"$i\""
83 done
84 }
85
86 src_configure() {
87 econf \
88 $(use_enable caps capng) \
89 $(use_enable threads) \
90 $(use_enable udev) \
91 $(use_enable isimodem) \
92 $(use_enable atmodem) \
93 $(use_enable cdmamodem) \
94 $(use_enable bluetooth) \
95 $(use_enable phonesim) \
96 $(use_enable tools) \
97 --enable-test \
98 --localstatedir=/var \
99 --with-systemdunitdir="$(systemd_get_unitdir)"
100 }
101
102 src_install() {
103 emake DESTDIR="${D}" install || die "emake install failed"
104
105 if ! use examples ; then
106 rm -rf "${D}/usr/$(get_libdir)/ofono/test"
107 fi
108
109 if use tools ; then
110 dobin tools/{auto-enable,huawei-audio} || die
111 fi
112
113 newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
114 dodoc ChangeLog AUTHORS doc/*.txt
115 }