cloud9: move systemd support to meta-systemd

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller 2012-06-10 21:46:53 +00:00 committed by Koen Kooi
parent 855e8d63a6
commit 23d5e85065
3 changed files with 14 additions and 8 deletions

View File

@ -3,7 +3,7 @@ HOMEPAGE = "http://c9.io"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018"
PR = "r1"
PR = "r2"
DEPENDS = "libxml2 nodejs-native"
@ -31,7 +31,6 @@ SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \
git://github.com/ajaxorg/treehugger.git;destsuffix=git/support/treehugger;name=treehugger \
git://github.com/ajaxorg/UglifyJS.git;destsuffix=git/support/uglify-js;name=uglify-js \
file://index.js \
file://cloud9.service \
file://cloud9-avahi.service \
file://0001-ide-use-node-as-interpreter-for-sketches-instead-of-.patch \
"
@ -104,9 +103,3 @@ FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o
"
RDEPENDS_${PN} = "nodejs4 nodejs gzip"
inherit systemd
NATIVE_SYSTEMD_SUPPORT = "1"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "cloud9.service"

View File

@ -0,0 +1,13 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PRINC := "${@int(PRINC) + 1}"
inherit systemd
SRC_URI += "file://cloud9.service"
inherit systemd
NATIVE_SYSTEMD_SUPPORT = "1"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "cloud9.service"