mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
cherokee: Only build with meta-py2 is in layermix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
0a4faceed6
commit
7df11a27a0
|
|
@ -19,8 +19,9 @@ RDEPENDS_packagegroup-meta-webserver = "\
|
|||
"
|
||||
|
||||
RDEPENDS_packagegroup-meta-webserver-http = "\
|
||||
nginx monkey cherokee hiawatha nostromo apache-websocket \
|
||||
nginx monkey hiawatha nostromo apache-websocket \
|
||||
apache2 sthttpd \
|
||||
${@bb.utils.contains("BBPATH", "meta-python2", "cherokee", "", d)} \
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-meta-webserver-php = "\
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ SRC_URI = "git://github.com/cherokee/webserver \
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools-brokensep pkgconfig binconfig update-rc.d systemd python3native
|
||||
inherit autotools-brokensep pkgconfig binconfig update-rc.d systemd pythonnative
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
||||
PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav"
|
||||
|
|
@ -70,3 +70,8 @@ RPROVIDES_${PN} += "${PN}-systemd"
|
|||
RREPLACES_${PN} += "${PN}-systemd"
|
||||
RCONFLICTS_${PN} += "${PN}-systemd"
|
||||
SYSTEMD_SERVICE_${PN} = "cherokee.service"
|
||||
|
||||
python() {
|
||||
if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
|
||||
raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user