debianutils: bump to version 4.8.1
[buildroot-gz.git] / package / libvdpau / libvdpau.mk
blobf29da1e406d2e168474f31fa90402948812dae76
1 ################################################################################
3 # libvdpau
5 ################################################################################
7 LIBVDPAU_VERSION = 1.1.1
8 LIBVDPAU_SOURCE = libvdpau-$(LIBVDPAU_VERSION).tar.bz2
9 LIBVDPAU_SITE = http://people.freedesktop.org/~aplattner/vdpau
10 LIBVDPAU_LICENSE = MIT
11 LIBVDPAU_LICENSE_FILES = COPYING
12 LIBVDPAU_INSTALL_STAGING = YES
14 # autoreconf for patch 0002-link-with-libx11.patch
15 LIBVDPAU_AUTORECONF = YES
17 LIBVDPAU_DEPENDENCIES = host-pkgconf xlib_libX11 xlib_libXext
19 LIBVDPAU_CONF_OPTS = --with-module-dir=/usr/lib/vdpau
21 ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y)
22 LIBVDPAU_DEPENDENCIES += xproto_dri2proto
23 LIBVDPAU_CONF_OPTS += --enable-dri2
24 else
25 LIBVDPAU_CONF_OPTS += --disable-dri2
26 endif
28 $(eval $(autotools-package))