diff options
| author | Christopher Larson <chris_larson@mentor.com> | 2013-06-10 16:15:49 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 15:56:00 +0100 |
| commit | b1f2f49945aa0f0261cd1c1db995a16ba0dea1ff (patch) | |
| tree | 0c74a576aa4dccf4086527e24b30a6f0070549e9 /meta | |
| parent | 8331d0ad41469a99c481c7ebdb0ff0ca54217502 (diff) | |
| download | poky-b1f2f49945aa0f0261cd1c1db995a16ba0dea1ff.tar.gz | |
avahi: inherit python classes, use PACKAGECONFIG
Without using our python classes and having appropriate dependencies, the
build is nondeterministic, and whether a python-avahi package is produced will
vary depending on the host environment, yet avahi-discover is always produced,
and it depends on python-avahi.
(From OE-Core rev: 4599ef630c13224506671bf84569bfc240cd3032)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb index 7d56dad641..557c1c1651 100644 --- a/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb +++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb | |||
| @@ -6,6 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | |||
| 6 | 6 | ||
| 7 | require avahi.inc | 7 | require avahi.inc |
| 8 | 8 | ||
| 9 | inherit python-dir pythonnative | ||
| 10 | |||
| 11 | PACKAGECONFIG ??= "python" | ||
| 12 | PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python" | ||
| 13 | |||
| 9 | PR = "${INC_PR}.0" | 14 | PR = "${INC_PR}.0" |
| 10 | 15 | ||
| 11 | SRC_URI[md5sum] = "2f22745b8f7368ad5a0a3fddac343f2d" | 16 | SRC_URI[md5sum] = "2f22745b8f7368ad5a0a3fddac343f2d" |
| @@ -26,7 +31,7 @@ FILES_${PN}-staticdev += "${libdir}/libavahi-ui.a" | |||
| 26 | 31 | ||
| 27 | FILES_${PN}-utils = "${bindir}/b* ${datadir}/applications/b*" | 32 | FILES_${PN}-utils = "${bindir}/b* ${datadir}/applications/b*" |
| 28 | 33 | ||
| 29 | FILES_python-avahi = "${PYTHON_SITEPACKAGES_DIR}/avahi/*" | 34 | FILES_python-avahi = "${PYTHON_SITEPACKAGES_DIR}/avahi ${PYTHON_SITEPACKAGES_DIR}/avahi_discover" |
| 30 | FILES_avahi-discover = "${bindir}/avahi-discover \ | 35 | FILES_avahi-discover = "${bindir}/avahi-discover \ |
| 31 | ${datadir}/applications/avahi-discover.desktop \ | 36 | ${datadir}/applications/avahi-discover.desktop \ |
| 32 | ${datadir}/avahi/interfaces/avahi-discover*" | 37 | ${datadir}/avahi/interfaces/avahi-discover*" |
| @@ -34,7 +39,7 @@ FILES_avahi-discover-standalone = "${bindir}/avahi-discover-standalone \ | |||
| 34 | ${datadir}/avahi/interfaces/avahi-discover.glade" | 39 | ${datadir}/avahi/interfaces/avahi-discover.glade" |
| 35 | 40 | ||
| 36 | RDEPENDS_avahi-discover = "python-avahi python-pygtk" | 41 | RDEPENDS_avahi-discover = "python-avahi python-pygtk" |
| 37 | RDEPENDS_python-avahi = "python-dbus" | 42 | RDEPENDS_python-avahi = "python-core python-dbus" |
| 38 | 43 | ||
| 39 | 44 | ||
| 40 | do_install_append () { | 45 | do_install_append () { |
