Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "libva-utils is a collection of utilities from libva project" |
| 2 | |
| 3 | DESCRIPTION = "libva-utils is a collection of utilities \ |
| 4 | and examples to exercise VA-API in accordance with the libva \ |
| 5 | project.VA-API is an open-source library and API specification, \ |
| 6 | which provides access to graphics hardware acceleration capabilities \ |
| 7 | for video processing. It consists of a main library and driver-specific \ |
| 8 | acceleration backends for each supported hardware vendor" |
| 9 | |
| 10 | HOMEPAGE = "https://01.org/linuxmedia/vaapi" |
| 11 | BUGTRACKER = "https://github.com/intel/libva-utils/issues" |
| 12 | |
| 13 | SECTION = "x11" |
| 14 | LICENSE = "MIT" |
| 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=b148fc8adf19dc9aec17cf9cd29a9a5e" |
| 16 | |
| 17 | SRC_URI = "https://github.com/intel/${BPN}/releases/download/${PV}/${BP}.tar.bz2 \ |
| 18 | file://0001-Build-sfcsample-only-when-X11-backend-is-enabled.patch \ |
| 19 | " |
| 20 | |
| 21 | SRC_URI[md5sum] = "f5374c4c32ce136e50aea0267887aed5" |
| 22 | SRC_URI[sha256sum] = "5b7d1954b40fcb2c0544be20125c71a0852049715ab85a3e8aba60434a40c6b3" |
| 23 | |
| 24 | UPSTREAM_CHECK_URI = "https://github.com/intel/libva-utils/releases" |
| 25 | |
| 26 | DEPENDS = "libva" |
| 27 | |
| 28 | inherit autotools pkgconfig distro_features_check |
| 29 | |
| 30 | # depends on libva which requires opengl |
| 31 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 32 | |
| 33 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" |
| 34 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxext libxfixes" |
| 35 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland" |