summaryrefslogtreecommitdiff
path: root/recipes/connman
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/connman')
-rw-r--r--recipes/connman/connman-gnome_git.bb28
-rw-r--r--recipes/connman/connman_0.19.bb35
-rw-r--r--recipes/connman/files/connman-applet.desktop2
3 files changed, 64 insertions, 1 deletions
diff --git a/recipes/connman/connman-gnome_git.bb b/recipes/connman/connman-gnome_git.bb
new file mode 100644
index 0000000000..cd244b84ca
--- /dev/null
+++ b/recipes/connman/connman-gnome_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "gtk frontend for connman"
+HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php"
+SECTION = "libs/network"
+LICENSE = "GPL"
+DEPENDS = "gtk+ dbus"
+
+RRECOMMENDS_${PN} = "connman connman-plugin-ethernet connman-plugin-loopback connman-plugin-udhcp connman-plugin-wifi"
+
+PV = "0.5+git"
+PR_append = ".gitr${SRCREV}"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRCREV = "0059a16915d65880e3f9892a8f0a25f65968260e"
+SRC_URI = "\
+ git://git.kernel.org/pub/scm/network/connman/connman-gnome.git;protocol=git \
+ file://connman-applet.desktop"
+
+S = "${WORKDIR}/git"
+
+
+inherit autotools gtk-icon-cache
+
+do_install_append() {
+ install -d ${D}${datadir}/applications/
+ install ${WORKDIR}/connman-applet.desktop ${D}${datadir}/applications/
+}
+
diff --git a/recipes/connman/connman_0.19.bb b/recipes/connman/connman_0.19.bb
new file mode 100644
index 0000000000..b8d86613b8
--- /dev/null
+++ b/recipes/connman/connman_0.19.bb
@@ -0,0 +1,35 @@
+require connman.inc
+
+EXTRA_OECONF += "\
+ --disable-gtk-doc \
+ --enable-debug \
+ --enable-threads \
+ --enable-loopback \
+ --enable-ethernet \
+ --enable-wifi \
+ --disable-wimax \
+ --enable-bluetooth \
+ --enable-udhcp \
+ --enable-dhclient \
+ --enable-resolvconf \
+ --enable-dnsproxy \
+ --disable-novatel \
+ --disable-huawei \
+ --disable-hso \
+ --enable-ppp \
+# needs udev >= 129
+ --disable-udev \
+ --disable-polkit \
+ --enable-client \
+ --enable-fake \
+# --with-udhcpc=PROGRAM \
+# --with-dhclient=PROGRAM \
+# --with-resolvconf=PROGRAM \
+# --with-pppd=PROGRAM \
+"
+
+SRC_URI = "\
+ http://www.kernel.org/pub/linux/network/connman/connman-${PV}.tar.gz \
+ file://connman \
+"
+
diff --git a/recipes/connman/files/connman-applet.desktop b/recipes/connman/files/connman-applet.desktop
index ad17682507..83d96ee67d 100644
--- a/recipes/connman/files/connman-applet.desktop
+++ b/recipes/connman/files/connman-applet.desktop
@@ -6,5 +6,5 @@ Icon=stock_internet
Exec=connman-applet
Terminal=false
Type=Application
-Categories=Network;GTK
+Categories=Network;GTK;