diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/distcc/distcc_3.2.bb | 29 |
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 | ||
8 | DEPENDS = "avahi binutils" | 8 | DEPENDS = "avahi binutils" |
9 | 9 | ||
10 | PACKAGECONFIG ??= "popt" | ||
11 | PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+" | ||
12 | # use system popt by default | ||
13 | PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt" | ||
14 | |||
15 | RRECOMMENDS_${PN} = "avahi-daemon" | ||
16 | |||
17 | SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \ | 10 | SRC_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 | |||
24 | SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c" | 18 | SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c" |
19 | |||
25 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
26 | 21 | ||
27 | inherit autotools pkgconfig update-rc.d useradd systemd | 22 | inherit autotools pkgconfig update-rc.d useradd systemd |
28 | 23 | ||
29 | EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode" | 24 | PACKAGECONFIG ??= "popt" |
25 | |||
26 | PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+" | ||
27 | # use system popt by default | ||
28 | PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt" | ||
29 | |||
30 | EXTRA_OECONF += " \ | ||
31 | --disable-pump-mode \ | ||
32 | --disable-Werror \ | ||
33 | PYTHON='' \ | ||
34 | " | ||
35 | |||
36 | ASNEEDED = "" | ||
30 | 37 | ||
31 | USERADD_PACKAGES = "${PN}" | 38 | USERADD_PACKAGES = "${PN}" |
32 | USERADD_PARAM_${PN} = "--system \ | 39 | USERADD_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 | |||
55 | DESKTOPINSTALL = "" | 63 | DESKTOPINSTALL = "" |
56 | DESKTOPINSTALL_libc-glibc () { | 64 | DESKTOPINSTALL_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 | |||
60 | PACKAGES += "distcc-distmon-gnome" | 69 | PACKAGES += "distcc-distmon-gnome" |
61 | 70 | ||
62 | FILES_${PN} = " ${sysconfdir} \ | 71 | FILES_${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" |
68 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ | 77 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ |
69 | ${datadir}/distcc" | 78 | ${datadir}/distcc" |
79 | |||
80 | RRECOMMENDS_${PN} = "avahi-daemon" | ||