connman: Updates and a recipe for the latest release
Split much of the recipe into connman.inc and created a recipe for the latest 0.47 release. Update the fixed revision and dropped unneeded patches. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
parent
2aa6a8aaf7
commit
5cd6d10807
|
@ -34,7 +34,7 @@ SRCREV_pn-clutter-gtk-0.6 ?= "2ba362a1a223c2b28541030a80aa11191615340a"
|
|||
SRCREV_pn-clutter-gtk-0.8 ?= "7d3c3230376e731c06c21afa9d8c1d44dbea27cd"
|
||||
SRCREV_pn-clutter-gtk ?= "89bf3ebf4a5bd8a666ff94d81061f1209c5d53d9"
|
||||
SRCREV_pn-clutter-mozembed ?= "2be79dccb6a14926c7e4c48429bba2cac3570fa3"
|
||||
SRCREV_pn-connman ?= "e952851502277cc41cd2a54ef5386cca7a8843dd"
|
||||
SRCREV_pn-connman ?= "36e877dece72577a3ae6197eafd505d0e6e0c1d2"
|
||||
SRCREV_pn-connman-gnome ?= "b589f4f89bff20d54682cc6b49efa86feac8adb4"
|
||||
SRCREV_pn-dialer ?= "42a2b4dd62cf94dc905caeb087f5e7e9f418bf93"
|
||||
SRCREV_pn-eee-acpi-scripts ?= "df785afdacedf869b20fb88a793c13b539819270"
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php"
|
||||
SUMMARY = "Moblin Connection Manager"
|
||||
LICENSE = "GPL"
|
||||
|
||||
DEPENDS = "libgdbus dbus glib-2.0 hal"
|
||||
RDEPENDS_${PN} = "dhcp-client wpa-supplicant resolvconf"
|
||||
|
||||
EXTRA_OECONF += " \
|
||||
--enable-ethernet=builtin --enable-wifi=builtin --enable-dhclient=builtin \
|
||||
--enable-bluetooth=builtin --enable-udev --enable-loopback=builtin \
|
||||
--enable-dnsproxy=builtin --enable-threads --enable-resolvconf=builtin \
|
||||
--enable-client --enable-fake --with-dhclient=/sbin/dhclient \
|
||||
--enable-test \
|
||||
ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant"
|
||||
|
||||
INITSCRIPT_NAME = "connman"
|
||||
INITSCRIPT_PARAMS = "start 05 5 2 . stop 22 0 1 6 ."
|
||||
|
||||
inherit autotools_stage pkgconfig update-rc.d
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "${PN}-plugin-*"
|
||||
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
|
||||
${sysconfdir} ${sharedstatedir} ${localstatedir} \
|
||||
${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \
|
||||
${datadir}/pixmaps ${datadir}/applications \
|
||||
${datadir}/idl ${datadir}/omf ${datadir}/sounds \
|
||||
${libdir}/bonobo/servers \
|
||||
${libdir}/${PN}/test/* \
|
||||
${datadir}/dbus-1/system-services/* \
|
||||
${libdir}/connman/scripts/dhclient*"
|
||||
FILES_${PN}-dbg += "${libdir}/connman/plugins/.debug \
|
||||
${libdir}/connman/scripts/.debug"
|
||||
|
||||
python populate_packages_prepend() {
|
||||
plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d)
|
||||
plugin_name = bb.data.expand('${PN}-plugin-%s', d)
|
||||
do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='' )
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
require connman.inc
|
||||
PV = "0.47"
|
||||
|
||||
SRC_URI = "http://www.kernel.org/pub/linux/network/connman/${P}.tar.bz2 \
|
||||
file://dbusperms.patch \
|
||||
file://connman "
|
||||
|
|
@ -1,51 +1,10 @@
|
|||
HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php"
|
||||
SUMMARY = "Moblin Connection Manager"
|
||||
PV = "0.34+git${SRCPV}"
|
||||
require connman.inc
|
||||
|
||||
PV = "0.47+git${SRCPV}"
|
||||
PR = "r16"
|
||||
S = "${WORKDIR}/git"
|
||||
LICENSE = "GPL"
|
||||
|
||||
DEPENDS = "libgdbus dbus glib-2.0 hal"
|
||||
RDEPENDS_${PN} = "dhcp-client wpa-supplicant resolvconf"
|
||||
|
||||
EXTRA_OECONF += " \
|
||||
--enable-ethernet=builtin --enable-wifi=builtin --enable-dhclient=builtin \
|
||||
--enable-bluetooth=builtin --enable-udev --enable-loopback=builtin \
|
||||
--enable-dnsproxy=builtin --enable-threads --enable-resolvconf=builtin \
|
||||
--enable-client --enable-fake --with-dhclient=/sbin/dhclient \
|
||||
--enable-test \
|
||||
ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant"
|
||||
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git;protocol=git \
|
||||
file://connman-install-tests-d52de88aff4771283b2ebee4f48a7af15862d0ae.patch;patch=1;rev=d52de88aff4771283b2ebee4f48a7af15862d0ae \
|
||||
file://connman-install-tests.patch;patch=1;rev=fd401dcd103a309e22c00d66f5c91375bfc9cce4 \
|
||||
file://dbusperms.patch;patch=1 \
|
||||
file://dbusperms.patch \
|
||||
file://connman "
|
||||
|
||||
INITSCRIPT_NAME = "connman"
|
||||
INITSCRIPT_PARAMS = "start 05 5 2 . stop 22 0 1 6 ."
|
||||
|
||||
inherit autotools_stage pkgconfig update-rc.d
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "${PN}-plugin-*"
|
||||
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
|
||||
${sysconfdir} ${sharedstatedir} ${localstatedir} \
|
||||
${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \
|
||||
${datadir}/pixmaps ${datadir}/applications \
|
||||
${datadir}/idl ${datadir}/omf ${datadir}/sounds \
|
||||
${libdir}/bonobo/servers \
|
||||
${datadir}/dbus-1/system-services/* \
|
||||
${libdir}/connman/scripts/dhclient*"
|
||||
FILES_${PN}-dbg += "${libdir}/connman/plugins/.debug \
|
||||
${libdir}/connman/scripts/.debug"
|
||||
|
||||
python populate_packages_prepend() {
|
||||
plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d)
|
||||
plugin_name = bb.data.expand('${PN}-plugin-%s', d)
|
||||
do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='' )
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue