summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.2.bb29
1 files changed, 20 insertions, 9 deletions
diff --git a/meta/recipes-devtools/distcc/distcc_3.2.bb b/meta/recipes-devtools/distcc/distcc_3.2.bb
index 66046480b9..ee077495d5 100644
--- a/meta/recipes-devtools/distcc/distcc_3.2.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.2.bb
@@ -7,13 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7 7
8DEPENDS = "avahi binutils" 8DEPENDS = "avahi binutils"
9 9
10PACKAGECONFIG ??= "popt"
11PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
12# use system popt by default
13PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
14
15RRECOMMENDS_${PN} = "avahi-daemon"
16
17SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \ 10SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \
18 file://separatebuilddir.patch \ 11 file://separatebuilddir.patch \
19 file://0001-zeroconf-Include-fcntl.h.patch \ 12 file://0001-zeroconf-Include-fcntl.h.patch \
@@ -21,12 +14,26 @@ SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \
21 file://distccmon-gnome.desktop \ 14 file://distccmon-gnome.desktop \
22 file://distcc \ 15 file://distcc \
23 file://distcc.service" 16 file://distcc.service"
17
24SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c" 18SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c"
19
25S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
26 21
27inherit autotools pkgconfig update-rc.d useradd systemd 22inherit autotools pkgconfig update-rc.d useradd systemd
28 23
29EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode" 24PACKAGECONFIG ??= "popt"
25
26PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
27# use system popt by default
28PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
29
30EXTRA_OECONF += " \
31 --disable-pump-mode \
32 --disable-Werror \
33 PYTHON='' \
34"
35
36ASNEEDED = ""
30 37
31USERADD_PACKAGES = "${PN}" 38USERADD_PACKAGES = "${PN}"
32USERADD_PARAM_${PN} = "--system \ 39USERADD_PARAM_${PN} = "--system \
@@ -52,18 +59,22 @@ do_install() {
52 sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/distcc.service 59 sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/distcc.service
53 ${DESKTOPINSTALL} 60 ${DESKTOPINSTALL}
54} 61}
62
55DESKTOPINSTALL = "" 63DESKTOPINSTALL = ""
56DESKTOPINSTALL_libc-glibc () { 64DESKTOPINSTALL_libc-glibc () {
57 install -d ${D}${datadir}/distcc/ 65 install -d ${D}${datadir}/distcc/
58 install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/ 66 install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
59} 67}
68
60PACKAGES += "distcc-distmon-gnome" 69PACKAGES += "distcc-distmon-gnome"
61 70
62FILES_${PN} = " ${sysconfdir} \ 71FILES_${PN} = " ${sysconfdir} \
63 ${bindir}/distcc \ 72 ${bindir}/distcc \
64 ${bindir}/lsdistcc \ 73 ${bindir}/lsdistcc \
65 ${bindir}/distccd \ 74 ${bindir}/distccd \
66 ${bindir}/distccmon-text \ 75 ${bindir}/distccmon-text \
67 ${systemd_unitdir}/system/distcc.service" 76 ${systemd_unitdir}/system/distcc.service"
68FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ 77FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
69 ${datadir}/distcc" 78 ${datadir}/distcc"
79
80RRECOMMENDS_${PN} = "avahi-daemon"