kumquat-buildroot/package/libvdpau/libvdpau.mk
Damien Lanson a5d05c3c81 libvdpau: new package
Signed-off-by: Damien Lanson <damien@kal-host.com>
[Thomas:
 - Add dependency on BR2_PACKAGE_XORG7, which is necessary when
   selecting BR2_PACKAGE_XLIB_LIBX11 and BR2_PACKAGE_XLIB_LIBXEXT.
 - Fix indentation of Config.in help text.
 - Add host-pkgconf to the dependencies, since the configure script uses
   pkg-config to detect dependencies.
 - Add references for the patches.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-03 21:14:06 +02:00

29 lines
802 B
Makefile
Executable File

################################################################################
#
# libvdpau
#
################################################################################
LIBVDPAU_VERSION = 1.1.1
LIBVDPAU_SOURCE = libvdpau-$(LIBVDPAU_VERSION).tar.bz2
LIBVDPAU_SITE = http://people.freedesktop.org/~aplattner/vdpau
LIBVDPAU_LICENSE = MIT
LIBVDPAU_LICENSE_FILES = COPYING
LIBVDPAU_INSTALL_STAGING = YES
# autoreconf for patch 0002-link-with-libx11.patch
LIBVDPAU_AUTORECONF = YES
LIBVDPAU_DEPENDENCIES = host-pkgconf xlib_libX11 xlib_libXext
LIBVDPAU_CONF_OPTS = --with-module-dir=/usr/lib/vdpau
ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y)
LIBVDPAU_DEPENDENCIES += xproto_dri2proto
LIBVDPAU_CONF_OPTS += --enable-dri2
else
LIBVDPAU_CONF_OPTS += --disable-dri2
endif
$(eval $(autotools-package))