diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2011-01-25 13:46:03 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2011-01-25 13:46:03 +0000 |
commit | 9c2dae39b53870ede88a58f8f32a9c1203920edb (patch) | |
tree | 70e3740cbf6be5083a11f8f8cd0d816b27e520b3 /net-misc/ofono | |
parent | Bump to final release, also fix some of the wrapper, desktop-file mess (diff) | |
download | gentoo-2-9c2dae39b53870ede88a58f8f32a9c1203920edb.tar.gz gentoo-2-9c2dae39b53870ede88a58f8f32a9c1203920edb.tar.bz2 gentoo-2-9c2dae39b53870ede88a58f8f32a9c1203920edb.zip |
Fixed build-issue without net-wireless/bluez, added USE flags for cdmamodem, phonesim and tools support.
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/ofono')
-rw-r--r-- | net-misc/ofono/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/ofono/metadata.xml | 18 | ||||
-rw-r--r-- | net-misc/ofono/ofono-0.39.ebuild | 20 |
3 files changed, 31 insertions, 14 deletions
diff --git a/net-misc/ofono/ChangeLog b/net-misc/ofono/ChangeLog index 954c108775f6..e47e4f837047 100644 --- a/net-misc/ofono/ChangeLog +++ b/net-misc/ofono/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/ofono # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ChangeLog,v 1.25 2011/01/21 15:09:58 dagger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ChangeLog,v 1.26 2011/01/25 13:46:03 dev-zero Exp $ + + 25 Jan 2011; Tiziano Müller <dev-zero@gentoo.org> ofono-0.39.ebuild, + metadata.xml: + Fixed build-issue without net-wireless/bluez, added USE flags for cdmamodem, + phonesim and tools support. *ofono-0.39 (21 Jan 2011) diff --git a/net-misc/ofono/metadata.xml b/net-misc/ofono/metadata.xml index 50833489a7d7..671775c80566 100644 --- a/net-misc/ofono/metadata.xml +++ b/net-misc/ofono/metadata.xml @@ -2,13 +2,17 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>no-herd</herd> - <maintainer> - <email>dagger@gentoo.org</email> - <name>Robert Piasek</name> - </maintainer> - <use> - <flag name="atmodem">ETSI AT modem support.</flag> + <maintainer> + <email>dagger@gentoo.org</email> + <name>Robert Piasek</name> + </maintainer> + <use> + <flag name="atmodem">ETSI AT modem support.</flag> <flag name="isimodem">Enable PhoNet/ISI modem support.</flag> - </use> + <flag name="cdmamodem">Enable CDMA modem support.</flag> + <flag name="bluetooth">Enable Bluetooth modem support using <pkg>net-wireless/bluez</pkg>.</flag> + <flag name="phonesim">Enable phone Simulator support</flag> + <flag name="tools">Enable testing tools</flag> + </use> </pkgmetadata> diff --git a/net-misc/ofono/ofono-0.39.ebuild b/net-misc/ofono/ofono-0.39.ebuild index 5d316c449c91..33e9a0188c6f 100644 --- a/net-misc/ofono/ofono-0.39.ebuild +++ b/net-misc/ofono/ofono-0.39.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ofono-0.39.ebuild,v 1.1 2011/01/21 15:09:58 dagger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ofono/ofono-0.39.ebuild,v 1.2 2011/01/25 13:46:03 dev-zero Exp $ EAPI="2" @@ -13,15 +13,15 @@ SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~arm ~amd64 ~x86" -IUSE="+atmodem bluetooth +caps examples +isimodem threads +udev" +IUSE="+atmodem bluetooth +caps +cdmamodem examples +isimodem +phonesim threads tools +udev" RDEPEND=">=sys-apps/dbus-1.2.24 + >=dev-libs/glib-2.16 bluetooth? ( >=net-wireless/bluez-4.61 ) caps? ( sys-libs/libcap-ng ) - >=dev-libs/glib-2.16 udev? ( >=sys-fs/udev-143 ) - examples? ( dev-python/dbus-python )" - + examples? ( dev-python/dbus-python ) + tools? ( dev-libs/libusb:1 )" DEPEND="${RDEPEND} dev-util/pkgconfig" @@ -32,6 +32,10 @@ src_configure() { $(use_enable udev) \ $(use_enable isimodem) \ $(use_enable atmodem) \ + $(use_enable cdmamodem) \ + $(use_enable bluetooth) \ + $(use_enable phonesim) \ + $(use_enable tools) \ --enable-test \ --localstatedir=/var } @@ -40,7 +44,11 @@ src_install() { emake DESTDIR="${D}" install || die "emake install failed" if ! use examples ; then - rm -rf ${D}/usr/"$(get_libdir)"/ofono/test + rm -rf "${D}/usr/$(get_libdir)/ofono/test" + fi + + if use tools ; then + dobin tools/{auto-enable,huawei-audio} || die fi newinitd "${FILESDIR}"/${PN}.initd ${PN} || die |