blob: ed2be289fc10f49640ecbd2ad568d055d7380a8c [file] [log] [blame]
Andrew Geisslerc182c622020-05-15 14:13:32 -05001require libva.inc
Andrew Geissler82c905d2020-04-13 13:39:40 -05002
Andrew Geissler4b740dc2020-05-05 08:54:39 -05003PACKAGECONFIG ??= " \
4 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', '', d)} \
5 ${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)} \
6"
Andrew Geissler82c905d2020-04-13 13:39:40 -05007
Andrew Geissler4b740dc2020-05-05 08:54:39 -05008PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxext libxfixes"
9PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/mesa"
10
11PACKAGECONFIG[wayland] = "-Dwith_wayland=yes,-Dwith_wayland=no,wayland-native wayland"
Andrew Geissler82c905d2020-04-13 13:39:40 -050012
13PACKAGES =+ "${PN}-x11 ${PN}-glx ${PN}-wayland"
14
Patrick Williams213cb262021-08-07 19:21:33 -050015RDEPENDS:${PN}-x11 =+ "${PN}"
16RDEPENDS:${PN}-glx =+ "${PN}-x11"
Andrew Geissler82c905d2020-04-13 13:39:40 -050017
Patrick Williams213cb262021-08-07 19:21:33 -050018FILES:${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}"
19FILES:${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}"
20FILES:${PN}-wayland =+ "${libdir}/libva-wayland*${SOLIBS}"