summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
new file mode 100644
index 0000000000..6dea9cfc3c
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc
@@ -0,0 +1,36 @@
1SUMMARY = "VA-API support to GStreamer"
2DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \
3based plugins for GStreamer and helper libraries: `vaapidecode', \
4`vaapiconvert', and `vaapisink'."
5
6REALPN = "gstreamer-vaapi"
7FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", "${FILE_DIRNAME}/${REALPN}"], d)}"
8
9LICENSE = "LGPLv2.1+"
10LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
11
12DEPENDS = "libva"
13
14SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \
15 "
16
17S = "${WORKDIR}/${REALPN}-${PV}"
18
19inherit autotools pkgconfig gtk-doc
20
21PACKAGES =+ "${PN}-tests"
22
23PACKAGECONFIG ??= "drm \
24 ${@bb.utils.contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \
25 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)} \
26 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)}"
27
28PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
29PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa"
30PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
31PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender"
32
33FILES_${PN} += "${libdir}/gstreamer-*/*.so"
34FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug"
35FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a"
36FILES_${PN}-tests = "${bindir}/*"