libva-glx: also enable egl backend and update common/shlibs.

This commit is contained in:
Juan RP 2015-03-12 22:39:01 +01:00
parent fdfb9fc9ae
commit 4eeef66233
2 changed files with 5 additions and 5 deletions

View file

@ -787,7 +787,7 @@ libwebpdecoder.so.1 libwebp-0.4.0_3
libva-x11.so.1 libva-1.0.14_1
libva.so.1 libva-1.0.14_1
libva-glx.so.1 libva-glx-1.5.0_1
libva-egl.so.1 libva-egl-1.5.0_1
libva-egl.so.1 libva-glx-1.5.0_1
libva-tpi.so.1 libva-1.0.14_1
libva-drm.so.1 libva-1:1.1.0_1
libva-wayland.so.1 libva-1:1.3.0_1

View file

@ -11,7 +11,7 @@ version=1.5.0
revision=1
wrksrc="libva-${version}"
build_style=gnu-configure
configure_args="--disable-static"
configure_args="--disable-static --enable-glx --enable-egl"
hostmakedepends="automake pkg-config libtool"
makedepends="libva-devel libXfixes-devel MesaLib-devel wayland-devel"
short_desc="Video Acceleration (VA) API - GLX backend"
@ -29,9 +29,9 @@ pre_configure() {
post_install() {
# We are only interested in the glx component, remove everything else.
mkdir -p ${wrksrc}/temp/usr/lib/pkgconfig ${wrksrc}/temp/usr/include/va
mv ${DESTDIR}/usr/lib/libva-glx* ${wrksrc}/temp/usr/lib
mv ${DESTDIR}/usr/include/va/va_*glx.h ${wrksrc}/temp/usr/include/va
mv ${DESTDIR}/usr/lib/pkgconfig/libva-glx.pc ${wrksrc}/temp/usr/lib/pkgconfig
mv ${DESTDIR}/usr/lib/libva-{egl,glx}* ${wrksrc}/temp/usr/lib
mv ${DESTDIR}/usr/include/va/va_*{egl,glx}.h ${wrksrc}/temp/usr/include/va
mv ${DESTDIR}/usr/lib/pkgconfig/libva-{egl,glx}.pc ${wrksrc}/temp/usr/lib/pkgconfig
rm -rf ${DESTDIR}/*
mv ${wrksrc}/temp/* ${DESTDIR}
vlicense COPYING