summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2011-12-21 17:29:27 (GMT)
committerTom Zanussi <tom.zanussi@intel.com>2011-12-22 15:21:30 (GMT)
commitf308cef33a6e0d2a64a91dcda3fc52829c5b1090 (patch)
tree8ef78a6a8e1f91a77d31de2feddf1a253f561ab3
parentb6d5d9a3b06caf578103a04dc5fcf5e476343205 (diff)
downloadmeta-intel-f308cef33a6e0d2a64a91dcda3fc52829c5b1090.tar.gz
meta-intel: add PROVIDES for extra packages provided by libva
libva provides some extra packages such as libva-glx. Add PROVIDES for them so the rest of the build system knows about it. We also need to add the dependency relationships between libva, libva-x11, and libva-glx. Also remove the bogus RDEPENDS on the display components. Also libva-glx depends on mesa-dri - if it's not there, libva-glx won't be built. Also, add missing -dev and -dbg packaging. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Acked-by: Darren Hart <dvhart@linux.intel.com>
-rw-r--r--common/recipes-multimedia/libva/libva.inc42
1 files changed, 31 insertions, 11 deletions
diff --git a/common/recipes-multimedia/libva/libva.inc b/common/recipes-multimedia/libva/libva.inc
index 93b3cae..d897f36 100644
--- a/common/recipes-multimedia/libva/libva.inc
+++ b/common/recipes-multimedia/libva/libva.inc
@@ -17,25 +17,45 @@ SECTION = "x11"
17LICENSE = "MIT" 17LICENSE = "MIT"
18LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" 18LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
19 19
20INC_PR = "r0" 20INC_PR = "r1"
21 21
22DEPENDS = "libxext libxfixes libdrm" 22DEPENDS = "libxext libxfixes libdrm mesa-dri"
23 23
24inherit autotools pkgconfig 24inherit autotools pkgconfig
25 25
26PACKAGES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl" 26PACKAGES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
27PROVIDES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
27PACKAGES =+ "${PN}-x11-dev ${PN}-tpi-dev ${PN}-glx-dev ${PN}-egl-dev" 28PACKAGES =+ "${PN}-x11-dev ${PN}-tpi-dev ${PN}-glx-dev ${PN}-egl-dev"
29PACKAGES =+ "${PN}-x11-dbg ${PN}-tpi-dbg ${PN}-glx-dbg ${PN}-egl-dbg"
30RPROVIDES_${PN}-dev =+ "${PN}-x11-dev ${PN}-tpi-dev ${PN}-glx-dev ${PN}-egl-dev"
28 31
29RDEPENDS_${PN} =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl" 32RDEPENDS_${PN}-tpi =+ "${PN}"
33RDEPENDS_${PN}-x11 =+ "${PN}"
34RDEPENDS_${PN}-glx =+ "${PN}-x11"
35RDEPENDS_${PN}-egl =+ "${PN}-x11"
30 36
31FILES_${PN}-dbg += "${libdir}/dri/.debug" 37FILES_${PN}-dbg += "${libdir}/dri/.debug"
32FILES_${PN} += "${libdir}/dri" 38FILES_${PN} += "${libdir}/dri"
33 39
34FILES_${PN}-x11-dev =+ "${libdir}/libva-x11.so" 40FILES_${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}"
35FILES_${PN}-tpi-dev =+ "${libdir}/libva-tpi.so" 41FILES_${PN}-tpi =+ "${libdir}/libva-tpi*${SOLIBS}"
36FILES_${PN}-glx-dev =+ "${libdir}/libva-glx.so" 42FILES_${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}"
37FILES_${PN}-egl-dev =+ "${libdir}/libva-egl.so" 43FILES_${PN}-egl =+ "${libdir}/libva-egl*${SOLIBS}"
38FILES_${PN}-x11 =+ "${libdir}/libva-x11.*" 44
39FILES_${PN}-tpi =+ "${libdir}/libva-tpi.*" 45FILES_${PN}-x11-dev =+ "${libdir}/libva-x11*${SOLIBSDEV}"
40FILES_${PN}-glx =+ "${libdir}/libva-glx.*" 46FILES_${PN}-tpi-dev =+ "${libdir}/libva-tpi*${SOLIBSDEV}"
41FILES_${PN}-egl =+ "${libdir}/libva-egl.*" 47FILES_${PN}-glx-dev =+ "${libdir}/libva-glx*${SOLIBSDEV}"
48FILES_${PN}-egl-dev =+ "${libdir}/libva-egl*${SOLIBSDEV}"
49FILES_${PN}-x11-dev =+ "${libdir}/libva-x11*.la"
50FILES_${PN}-tpi-dev =+ "${libdir}/libva-tpi*.la"
51FILES_${PN}-glx-dev =+ "${libdir}/libva-glx*.la"
52FILES_${PN}-egl-dev =+ "${libdir}/libva-egl*.la"
53FILES_${PN}-x11-dev =+ "${libdir}/pkgconfig/libva-x11*.pc"
54FILES_${PN}-tpi-dev =+ "${libdir}/pkgconfig/libva-tpi*.pc"
55FILES_${PN}-glx-dev =+ "${libdir}/pkgconfig/libva-glx*.pc"
56FILES_${PN}-egl-dev =+ "${libdir}/pkgconfig/libva-egl*.pc"
57
58FILES_${PN}-x11-dbg =+ "${libdir}/.debug/libva-x11.*"
59FILES_${PN}-tpi-dbg =+ "${libdir}/.debug/libva-tpi.*"
60FILES_${PN}-glx-dbg =+ "${libdir}/.debug/libva-glx.*"
61FILES_${PN}-egl-dbg =+ "${libdir}/.debug/libva-egl.*"