aboutsummaryrefslogtreecommitdiff
path: root/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk
blob: 8cb51bf9de99b58b1c1600a65f0afafa68e26768 (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
29
30
31
32
33
################################################################################
#
# gst1-vaapi
#
################################################################################

GST1_VAAPI_VERSION = 1.10.4
GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi
GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz
GST1_VAAPI_LICENSE = LGPL-2.1+
GST1_VAAPI_LICENSE_FILES = COPYING.LIB

GST1_VAAPI_DEPENDENCIES += \
	gstreamer1 \
	gst1-plugins-base \
	gst1-plugins-bad \
	libva \
	libdrm

GST1_VAAPI_CONF_OPTS += \
	--disable-x11 \
	--disable-glx \
	--disable-wayland \
	--disable-egl \
	--disable-gtk-doc-html

ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y)
GST1_VAAPI_CONF_OPTS += --enable-encoders
else
GST1_VAAPI_CONF_OPTS += --disable-encoders
endif

$(eval $(autotools-package))