summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb
diff options
context:
space:
mode:
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.bb70
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 @@
1LIC_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
7require avahi.inc
8
9inherit python-dir pythonnative distro_features_check
10ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
11
12PACKAGECONFIG ??= "python"
13PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python"
14
15SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013"
16SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454"
17
18DEPENDS += "avahi gtk+ libglade"
19
20AVAHI_GTK = "--enable-gtk --disable-gtk3"
21
22S = "${WORKDIR}/avahi-${PV}"
23
24PACKAGES = "${PN} ${PN}-utils ${PN}-dbg ${PN}-dev ${PN}-staticdev ${PN}-doc python-avahi avahi-discover avahi-discover-standalone"
25
26FILES_${PN} = "${libdir}/libavahi-ui*.so.*"
27FILES_${PN}-dev += "${libdir}/libavahi-ui${SOLIBSDEV}"
28FILES_${PN}-staticdev += "${libdir}/libavahi-ui.a"
29
30FILES_${PN}-utils = "${bindir}/b* ${datadir}/applications/b*"
31
32FILES_python-avahi = "${PYTHON_SITEPACKAGES_DIR}/avahi ${PYTHON_SITEPACKAGES_DIR}/avahi_discover"
33FILES_avahi-discover = "${bindir}/avahi-discover \
34 ${datadir}/applications/avahi-discover.desktop \
35 ${datadir}/avahi/interfaces/avahi-discover*"
36FILES_avahi-discover-standalone = "${bindir}/avahi-discover-standalone \
37 ${datadir}/avahi/interfaces/avahi-discover.glade"
38
39RDEPENDS_avahi-discover = "python-avahi python-pygtk"
40RDEPENDS_python-avahi = "python-core python-dbus"
41
42
43do_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