![Fabrice Fontaine](/assets/img/avatar_default.png)
- Switch to meson-package - Drop second patch (not needed anymore) - Drop third patch (after feedback from upstream: https://gitlab.freedesktop.org/vdpau/libvdpau/merge_requests/5) - Disable documentation Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
754 B
Makefile
29 lines
754 B
Makefile
################################################################################
|
|
#
|
|
# libvdpau
|
|
#
|
|
################################################################################
|
|
|
|
LIBVDPAU_VERSION = 1.3
|
|
LIBVDPAU_SOURCE = libvdpau-$(LIBVDPAU_VERSION).tar.bz2
|
|
LIBVDPAU_SITE = \
|
|
https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$(LIBVDPAU_VERSION)
|
|
LIBVDPAU_LICENSE = MIT
|
|
LIBVDPAU_LICENSE_FILES = COPYING
|
|
LIBVDPAU_INSTALL_STAGING = YES
|
|
|
|
LIBVDPAU_DEPENDENCIES = host-pkgconf xlib_libX11 xlib_libXext
|
|
|
|
LIBVDPAU_CONF_OPTS = \
|
|
-Ddocumentation=false \
|
|
-Dmoduledir=/usr/lib/vdpau
|
|
|
|
ifeq ($(BR2_PACKAGE_XORGPROTO),y)
|
|
LIBVDPAU_DEPENDENCIES += xorgproto
|
|
LIBVDPAU_CONF_OPTS += -Ddri2=true
|
|
else
|
|
LIBVDPAU_CONF_OPTS += -Ddri2=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|