aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-graphics/libva/libva_1.7.3.bb
blob: 88a8c5f70833eb72a7d184dc02dd00bbf423a4ef (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
SUMMARY = "Dummy package for dependency resolution between Mesa and Libva"
DESCRIPTION = "There exists a cyclic dependency between Mesa and Libva \
	       when libva is built with egl/glx enabled and mesa \
	       is enabling its vaapi backend. This package strives \
	       to cover up the dependency chain."

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/${BP}.tar.bz2"

SRC_URI[md5sum] = "dafb1d7d6449e850e9eb1a099895c683"
SRC_URI[sha256sum] = "22bc139498065a7950d966dbdb000cad04905cbd3dc8f3541f80d36c4670b9d9"

DEPENDS = "libdrm"

EXTRA_OECONF = "--disable-dummy-driver --disable-egl --disable-glx"

PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)} \
                   ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)}"
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxext libxfixes"
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"

PACKAGES =+ "${PN}-x11 ${PN}-tpi ${PN}-wayland"

RDEPENDS_${PN}-tpi =+ "${PN}"
RDEPENDS_${PN}-x11 =+ "${PN}"

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

FILES_${PN}-x11 =+ "${libdir}/${PN}-x11*${SOLIBS}"
FILES_${PN}-tpi =+ "${libdir}/${PN}-tpi*${SOLIBS}"
FILES_${PN}-wayland =+ "${libdir}/${PN}-wayland*${SOLIBS}"