aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-graphics/libva/libva-gl_1.6.2.bb
blob: 28cfabe1a473bb27fe985a28098a952438699a9b (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
34
35
36
37
38
39
40
SUMMARY = "Video Acceleration (VA) API for Linux"
DESCRIPTION = "Video Acceleration API (VA API) is a library (libVA) \
and API specification which enables and provides access to graphics \
hardware (GPU) acceleration for video processing on Linux and UNIX \
based operating systems. Accelerated processing includes video \
decoding, video encoding, subpicture blending and rendering. The \
specification was originally designed by Intel for its GMA (Graphics \
Media Accelerator) series of GPU hardware, the API is however not \
limited to GPUs or Intel specific hardware, as other hardware and \
manufacturers can also freely use this API for hardware accelerated \
video decoding."

HOMEPAGE = "http://www.freedesktop.org/wiki/Software/vaapi"
BUGTRACKER = "https://bugs.freedesktop.org"

SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"

inherit autotools pkgconfig

SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/libva/libva-${PV}.tar.bz2 \
	   file://0001-disable-tests.patch \
	   file://0002-allow-building-gl-backends-only.patch \
	   file://0003-allow-building-glx-backend-without-x11-enabled.patch"

SRC_URI[md5sum] = "430cc2742df60204f121409c06039d09"
SRC_URI[sha256sum] = "c417f09cdeef549e54f4be5f9876026513afeac395c5be28750b431d848c8bd0"

DEPENDS = "libdrm virtual/mesa virtual/libgles1 virtual/libgles2"

S = "${WORKDIR}/libva-${PV}"

EXTRA_OECONF = "--disable-dummy-driver --disable-x11 --disable-wayland --disable-drm"

PACKAGECONFIG ??= "${@base_contains("DISTRO_FEATURES", "opengl", "egl glx", "", d)}"
PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl,libva-x11"
PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl libx11,libva-x11"

FILES_${PN}-dbg += "${libdir}/dri/.debug"