[Buildroot] [PATCH v4 21/37] libva: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Apr 3 19:55:37 UTC 2014


Dear Bernd Kuhls,

On Thu,  3 Apr 2014 21:01:16 +0200, Bernd Kuhls wrote:

> diff --git a/package/libva/libva.mk b/package/libva/libva.mk
> new file mode 100644
> index 0000000..1c7e6e0
> --- /dev/null
> +++ b/package/libva/libva.mk
> @@ -0,0 +1,59 @@
> +################################################################################
> +#
> +# libva
> +#
> +################################################################################
> +
> +LIBVA_VERSION = 1.3.0
> +LIBVA_SOURCE = libva-$(LIBVA_VERSION).tar.bz2
> +LIBVA_SITE = http://www.freedesktop.org/software/vaapi/releases/libva
> +LIBVA_LICENSE = MIT
> +LIBVA_INSTALL_STAGING = YES
> +
> +LIBVA_DEPENDENCIES = \
> +	host-pkgconf \
> +	libdrm

You're cutting lines a bit too much. This should be:

LIBVA_DEPENDENCIES = host-pkgconf libdram

> +ifeq ($(BR2_PACKAGE_MESA3D),y)
> +LIBVA_DEPENDENCIES += \
> +	mesa3d
> +LIBVA_CONF_OPT += \
> +	--enable-glx

Same here.

> +endif
> +
> +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER),y)
> +LIBVA_DEPENDENCIES += \
> +	xlib_libX11 \
> +	xlib_libXext \
> +	xlib_libXfixes
> +LIBVA_CONF_OPT += \
> +	--enable-x11
> +else
> +LIBVA_CONF_OPT += \
> +	--disable-x11

And here, and so on.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list