Patchwork [PATCHv2,07/14] telepathy-mission-control: Add PACKAGECONFIG for upower and connectivity

login
register
mail settings
Submitter Martin Jansa
Date Oct. 5, 2013, 12:23 p.m.
Message ID <17b3268715fc0735d702e72d0d3fe24e34bb478e.1380975568.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/59303/
State Accepted, archived
Headers show

Comments

Martin Jansa - Oct. 5, 2013, 12:23 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../telepathy/telepathy-mission-control_5.15.0.bb                 | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch

diff --git a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb
index aa776a1..f1a1320 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb
@@ -14,6 +14,14 @@  SRC_URI[sha256sum] = "88800d1b5f385e94b34721319ff4fe65c493632954d7229b36e57af5b4
 
 inherit autotools pkgconfig pythonnative
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[upower] = "--enable-upower,--disable-upower,upower"
+
+# to select connman or nm you need to use "connectivity" and "connman" or "nm", default is to disable both
+PACKAGECONFIG[connectvity] = ",--with-connectivity=no"
+PACKAGECONFIG[connman] = "--with-connectivity=connman,,connman"
+PACKAGECONFIG[nm] = "--with-connectivity=nm,,networkmanager"
+
 PACKAGES =+ " \
 	libmissioncontrol \
 	libmissioncontrol-config \