telepathy-mission-control: Add PACKAGECONFIG for upower and connectivity
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 5 Oct 2013 12:23:04 +0000 (14:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Oct 2013 15:55:23 +0000 (16:55 +0100)
(From OE-Core rev: 8268ce9997e77a4ef6aa990ca7566cf3ed14c746)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb

index aa776a1..f1a1320 100644 (file)
@@ -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 \