diff options
Diffstat (limited to 'meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb')
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb new file mode 100644 index 0000000000..aafb52e934 --- /dev/null +++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb | |||
@@ -0,0 +1,70 @@ | |||
1 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
2 | file://avahi-common/address.h;endline=25;md5=b1d1d2cda1c07eb848ea7d6215712d9d \ | ||
3 | file://avahi-core/dns.h;endline=23;md5=6fe82590b81aa0ddea5095b548e2fdcb \ | ||
4 | file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \ | ||
5 | file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf" | ||
6 | |||
7 | require avahi.inc | ||
8 | |||
9 | inherit python-dir pythonnative distro_features_check | ||
10 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" | ||
11 | |||
12 | PACKAGECONFIG ??= "python" | ||
13 | PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python" | ||
14 | |||
15 | SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013" | ||
16 | SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454" | ||
17 | |||
18 | DEPENDS += "avahi gtk+ libglade" | ||
19 | |||
20 | AVAHI_GTK = "--enable-gtk --disable-gtk3" | ||
21 | |||
22 | S = "${WORKDIR}/avahi-${PV}" | ||
23 | |||
24 | PACKAGES = "${PN} ${PN}-utils ${PN}-dbg ${PN}-dev ${PN}-staticdev ${PN}-doc python-avahi avahi-discover avahi-discover-standalone" | ||
25 | |||
26 | FILES_${PN} = "${libdir}/libavahi-ui*.so.*" | ||
27 | FILES_${PN}-dev += "${libdir}/libavahi-ui${SOLIBSDEV}" | ||
28 | FILES_${PN}-staticdev += "${libdir}/libavahi-ui.a" | ||
29 | |||
30 | FILES_${PN}-utils = "${bindir}/b* ${datadir}/applications/b*" | ||
31 | |||
32 | FILES_python-avahi = "${PYTHON_SITEPACKAGES_DIR}/avahi ${PYTHON_SITEPACKAGES_DIR}/avahi_discover" | ||
33 | FILES_avahi-discover = "${bindir}/avahi-discover \ | ||
34 | ${datadir}/applications/avahi-discover.desktop \ | ||
35 | ${datadir}/avahi/interfaces/avahi-discover*" | ||
36 | FILES_avahi-discover-standalone = "${bindir}/avahi-discover-standalone \ | ||
37 | ${datadir}/avahi/interfaces/avahi-discover.glade" | ||
38 | |||
39 | RDEPENDS_avahi-discover = "python-avahi python-pygtk" | ||
40 | RDEPENDS_python-avahi = "python-core python-dbus" | ||
41 | |||
42 | |||
43 | do_install_append () { | ||
44 | rm ${D}${sysconfdir} -rf | ||
45 | rm ${D}${base_libdir} -rf | ||
46 | rm ${D}${systemd_unitdir} -rf | ||
47 | # The ${systemd_unitdir} is /lib/systemd, so we need rmdir /lib, | ||
48 | # but not ${base_libdir} here. And the /lib may not exist | ||
49 | # whithout systemd. | ||
50 | [ ! -d ${D}/lib ] || rmdir ${D}/lib --ignore-fail-on-non-empty | ||
51 | rm ${D}${bindir}/avahi-b* | ||
52 | rm ${D}${bindir}/avahi-p* | ||
53 | rm ${D}${bindir}/avahi-r* | ||
54 | rm ${D}${bindir}/avahi-s* | ||
55 | rm ${D}${includedir}/avahi-c* -rf | ||
56 | rm ${D}${includedir}/avahi-g* -rf | ||
57 | rm ${D}${libdir}/libavahi-c* | ||
58 | rm ${D}${libdir}/libavahi-g* | ||
59 | rm ${D}${libdir}/pkgconfig/avahi-c* | ||
60 | rm ${D}${libdir}/pkgconfig/avahi-g* | ||
61 | rm ${D}${sbindir} -rf | ||
62 | rm ${D}${datadir}/avahi/a* | ||
63 | rm ${D}${datadir}/avahi/s* | ||
64 | rm ${D}${datadir}/locale/ -rf | ||
65 | rm ${D}${datadir}/dbus* -rf | ||
66 | rm ${D}${mandir}/man1/a* | ||
67 | rm ${D}${mandir}/man5 -rf | ||
68 | rm ${D}${mandir}/man8 -rf | ||
69 | } | ||
70 | |||