diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-11-07 10:32:26 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-11-20 15:33:02 -0800 |
commit | d53dbb38c43da3fd04fed9a55e7b3b9e2c512b9a (patch) | |
tree | fbe372dba00d45bbf9fbfbb3726708dc2590daeb /recipes-multimedia/libva | |
parent | 5adbf6df4fd89e7531ccccfb9cec7a5314d635f0 (diff) | |
download | meta-intel-d53dbb38c43da3fd04fed9a55e7b3b9e2c512b9a.tar.gz |
meta-intel: Reorganize the layout to remove common
Remove the concept of the common directory and move all the recipes-* dirs
to the top level as a normal layer would be. layer.conf is updated appropriately
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'recipes-multimedia/libva')
-rw-r--r-- | recipes-multimedia/libva/libva-intel-driver_1.8.3.bb | 35 | ||||
-rw-r--r-- | recipes-multimedia/libva/va-intel.bb | 32 |
2 files changed, 67 insertions, 0 deletions
diff --git a/recipes-multimedia/libva/libva-intel-driver_1.8.3.bb b/recipes-multimedia/libva/libva-intel-driver_1.8.3.bb new file mode 100644 index 00000000..72451c02 --- /dev/null +++ b/recipes-multimedia/libva/libva-intel-driver_1.8.3.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "VA driver for Intel G45 & HD Graphics family" | ||
2 | DESCRIPTION = "libva-driver-intel is the VA-API implementation \ | ||
3 | for Intel G45 chipsets and Intel HD Graphics for Intel Core \ | ||
4 | processor family." | ||
5 | |||
6 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/vaapi" | ||
7 | BUGTRACKER = "https://bugs.freedesktop.org" | ||
8 | |||
9 | LICENSE = "MIT" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" | ||
11 | |||
12 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
13 | |||
14 | DEPENDS = "libva libdrm" | ||
15 | |||
16 | SRC_URI = "git://github.com/01org/intel-vaapi-driver.git;branch=v1.8-branch" | ||
17 | # 1.8.3 release tag | ||
18 | SRCREV = "f1d9ceddc0e84ed8d44dd59017b0e19b75dd5dcd" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit autotools pkgconfig distro_features_check | ||
23 | |||
24 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
25 | |||
26 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)} \ | ||
27 | ${@bb.utils.contains("DISTRO_FEATURES", "opengl wayland", "wayland", "", d)}" | ||
28 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11" | ||
29 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland wayland-native virtual/egl" | ||
30 | |||
31 | FILES_${PN} += "${libdir}/dri/*.so" | ||
32 | FILES_${PN}-dev += "${libdir}/dri/*.la" | ||
33 | FILES_${PN}-dbg += "${libdir}/dri/.debug" | ||
34 | |||
35 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" | ||
diff --git a/recipes-multimedia/libva/va-intel.bb b/recipes-multimedia/libva/va-intel.bb new file mode 100644 index 00000000..88539e25 --- /dev/null +++ b/recipes-multimedia/libva/va-intel.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | DESCRIPTION = "Video Acceleration Add-ons for Intel BSPs" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
4 | |||
5 | S = "${WORKDIR}" | ||
6 | |||
7 | PR = "r1" | ||
8 | |||
9 | def map_valibs(d): | ||
10 | # The intel implementation requires the libva-intel-driver package | ||
11 | if bb.utils.contains('MACHINE_FEATURES', 'va-impl-intel', "1", "0", d) == "1": | ||
12 | return "libva libva-intel-driver" | ||
13 | # All meta-intel video acceleration requires libva | ||
14 | return "libva" | ||
15 | |||
16 | VA_IMPL = "${@map_valibs(d)}" | ||
17 | |||
18 | PACKAGES = "\ | ||
19 | va-intel \ | ||
20 | " | ||
21 | |||
22 | ALLOW_EMPTY_va-intel = "1" | ||
23 | |||
24 | RDEPENDS_va-intel = " \ | ||
25 | ${VA_IMPL} \ | ||
26 | " | ||
27 | |||
28 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux*' | ||
29 | |||
30 | inherit distro_features_check | ||
31 | |||
32 | REQUIRED_DISTRO_FEATURES = "opengl" | ||