2016-06-20 17:00:27 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libvdpau
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-12-21 17:17:18 +01:00
|
|
|
LIBVDPAU_VERSION = 1.3
|
2016-06-20 17:00:27 +02:00
|
|
|
LIBVDPAU_SOURCE = libvdpau-$(LIBVDPAU_VERSION).tar.bz2
|
2019-12-21 17:17:18 +01:00
|
|
|
LIBVDPAU_SITE = \
|
|
|
|
https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$(LIBVDPAU_VERSION)
|
2016-06-20 17:00:27 +02:00
|
|
|
LIBVDPAU_LICENSE = MIT
|
|
|
|
LIBVDPAU_LICENSE_FILES = COPYING
|
|
|
|
LIBVDPAU_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
LIBVDPAU_DEPENDENCIES = host-pkgconf xlib_libX11 xlib_libXext
|
|
|
|
|
2019-12-21 17:17:18 +01:00
|
|
|
LIBVDPAU_CONF_OPTS = \
|
|
|
|
-Ddocumentation=false \
|
|
|
|
-Dmoduledir=/usr/lib/vdpau
|
2016-06-20 17:00:27 +02:00
|
|
|
|
2018-07-21 16:16:35 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_XORGPROTO),y)
|
|
|
|
LIBVDPAU_DEPENDENCIES += xorgproto
|
2019-12-21 17:17:18 +01:00
|
|
|
LIBVDPAU_CONF_OPTS += -Ddri2=true
|
2016-06-20 17:00:27 +02:00
|
|
|
else
|
2019-12-21 17:17:18 +01:00
|
|
|
LIBVDPAU_CONF_OPTS += -Ddri2=false
|
2016-06-20 17:00:27 +02:00
|
|
|
endif
|
|
|
|
|
2019-12-21 17:17:18 +01:00
|
|
|
$(eval $(meson-package))
|