distcc: ship fixed desktop file to get QA happy

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4609 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz 2008-06-06 15:39:35 +00:00
parent 23603c7c91
commit f3d5c0f850
2 changed files with 15 additions and 3 deletions

View File

@ -2,7 +2,7 @@ DESCRIPTION = "distcc is a parallel build system that distributes \
compilation of C/C++/ObjC code across machines on a network."
SECTION = "devel"
LICENSE = "GPLv2"
PR = "r3"
PR = "r4"
DEPENDS = "avahi gtk+"
RRECOMMENDS = "avahi-daemon"
@ -12,6 +12,7 @@ RRECOMMENDS = "avahi-daemon"
SRC_URI = "http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.bz2 \
file://distcc-avahi.patch;patch=1 \
file://default \
file://distccmon-gnome.desktop \
file://distcc"
inherit autotools pkgconfig update-rc.d
@ -25,6 +26,7 @@ do_install_append() {
install -d ${D}${sysconfdir}/default
install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc
install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
}
PACKAGES += "distcc-distmon-gnome"
@ -43,5 +45,3 @@ pkg_postinst_${PN} () {
grep distcc /etc/passwd || adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup distcc
fi
}

View File

@ -0,0 +1,12 @@
[Desktop Entry]
Version=0.9.4
Exec=distccmon-gnome
Name=distcc monitor
GenericName=Distributed Compile Monitor
Comment=Graphical view of distributed compile tasks
Icon=distccmon-gnome-icon
TryExec=distccmon-gnome
Terminal=false
Type=Application
Categories=GNOME;Development;
StartupNotify=true