summaryrefslogtreecommitdiffstats
path: root/package/libvdpau/libvdpau.mk
blob: f29da1e406d2e168474f31fa90402948812dae76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
################################################################################
#
# 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))
OpenPOWER on IntegriCloud