mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 05:30:02 +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:
@@ -19,8 +19,9 @@ RDEPENDS_packagegroup-meta-webserver = "\
|
|||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS_packagegroup-meta-webserver-http = "\
|
RDEPENDS_packagegroup-meta-webserver-http = "\
|
||||||
nginx monkey cherokee hiawatha nostromo apache-websocket \
|
nginx monkey hiawatha nostromo apache-websocket \
|
||||||
apache2 sthttpd \
|
apache2 sthttpd \
|
||||||
|
${@bb.utils.contains("BBPATH", "meta-python2", "cherokee", "", d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS_packagegroup-meta-webserver-php = "\
|
RDEPENDS_packagegroup-meta-webserver-php = "\
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ SRC_URI = "git://github.com/cherokee/webserver \
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
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 ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
||||||
PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav"
|
PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav"
|
||||||
@@ -70,3 +70,8 @@ RPROVIDES_${PN} += "${PN}-systemd"
|
|||||||
RREPLACES_${PN} += "${PN}-systemd"
|
RREPLACES_${PN} += "${PN}-systemd"
|
||||||
RCONFLICTS_${PN} += "${PN}-systemd"
|
RCONFLICTS_${PN} += "${PN}-systemd"
|
||||||
SYSTEMD_SERVICE_${PN} = "cherokee.service"
|
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.')
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user