mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 16:00:32 +00:00
libdc1394: Add X11 and opengl deps if distro has them in policy
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -5,7 +5,10 @@ LICENSE = "LGPL-2.0"
|
|||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64"
|
||||||
|
|
||||||
# libsdl to provide sdl.m4 with AM_PATH_SDL
|
# libsdl to provide sdl.m4 with AM_PATH_SDL
|
||||||
DEPENDS += "libusb1 libraw1394 libsdl"
|
DEPENDS += "libusb1 libraw1394 libsdl \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxv virtual/libx11', '', d)} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)} \
|
||||||
|
"
|
||||||
|
|
||||||
PV = "2.2.5+gitr${SRCPV}"
|
PV = "2.2.5+gitr${SRCPV}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user