summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-07-25 13:45:57 +0200
committerSaul Wold <sgw@linux.intel.com>2013-07-27 23:28:28 -0700
commit6ac10e7d122323618aa10f14fd807b6ae7c2477a (patch)
tree0a3d86ddbd1c368e9286f83f42c614072fc3e051
parent2e4d939b6a0061eec22b859a827dedda51b299ba (diff)
downloadopenembedded-core-6ac10e7d122323618aa10f14fd807b6ae7c2477a.tar.gz
openembedded-core-6ac10e7d122323618aa10f14fd807b6ae7c2477a.tar.bz2
openembedded-core-6ac10e7d122323618aa10f14fd807b6ae7c2477a.zip
mesa: add PACKAGEs and PACKAGECONFIG for xvmc
* fixes [YOCTO #4898] Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 65c2770e11..e888201bce 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -30,6 +30,7 @@ PACKAGECONFIG ??= "egl gles dri \
X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"
+PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc"
PACKAGECONFIG[wayland] = ",,wayland"
DRIDRIVERS = "swrast"
@@ -78,6 +79,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
libwayland-egl libwayland-egl-dev \
libegl-gallium libgbm-gallium \
libopenvg libopenvg-dev \
+ libxvmcsoftpipe libxvmcsoftpipe-dev \
"
do_install_append () {
@@ -146,6 +148,7 @@ FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so*"
FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*"
FILES_libopenvg = "${libdir}/libOpenVG.so.*"
+FILES_libxvmcsoftpipe = "${libdir}/libXvMCsoftpipe.so.*"
FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc"
FILES_libdricore-dev = "${libdir}/libdricore*.*"
@@ -160,5 +163,6 @@ FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h ${libdir}/pk
FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
FILES_libopenvg-dev = "${libdir}/libOpenVG.so ${libdir}/libOpenVG.la* \
${includedir}/VG ${libdir}/pkgconfig/vg.pc"
+FILES_libxvmcsoftpipe-dev = "${libdir}/libXvMCsoftpipe.so ${libdir}/libXvMCsoftpipe.la"
FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug"