From: Darren Hart <dvhart@linux.intel.com>
To: tom.zanussi@intel.com
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 1/2] meta-intel: add PROVIDES for extra packages provided by libva
Date: Wed, 21 Dec 2011 21:44:57 -0800 [thread overview]
Message-ID: <4EF2C3D9.60101@linux.intel.com> (raw)
In-Reply-To: <950dae279cb0925fe80ad1f10be7eb36bc45eea5.1324525137.git.tom.zanussi@intel.com>
On 12/21/2011 07:48 PM, tom.zanussi@intel.com wrote:
> From: Tom Zanussi <tom.zanussi@intel.com>
>
> 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>
> ---
> common/recipes-multimedia/libva/libva.inc | 42 +++++++++++++++++++++-------
> 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"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
>
> -INC_PR = "r0"
> +INC_PR = "r1"
>
> -DEPENDS = "libxext libxfixes libdrm"
> +DEPENDS = "libxext libxfixes libdrm mesa-dri"
>
> inherit autotools pkgconfig
>
> PACKAGES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
> +PROVIDES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
> PACKAGES =+ "${PN}-x11-dev ${PN}-tpi-dev ${PN}-glx-dev ${PN}-egl-dev"
> +PACKAGES =+ "${PN}-x11-dbg ${PN}-tpi-dbg ${PN}-glx-dbg ${PN}-egl-dbg"
> +RPROVIDES_${PN}-dev =+ "${PN}-x11-dev ${PN}-tpi-dev ${PN}-glx-dev ${PN}-egl-dev"
>
> -RDEPENDS_${PN} =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
> +RDEPENDS_${PN}-tpi =+ "${PN}"
> +RDEPENDS_${PN}-x11 =+ "${PN}"
> +RDEPENDS_${PN}-glx =+ "${PN}-x11"
> +RDEPENDS_${PN}-egl =+ "${PN}-x11"
>
> FILES_${PN}-dbg += "${libdir}/dri/.debug"
> FILES_${PN} += "${libdir}/dri"
>
> -FILES_${PN}-x11-dev =+ "${libdir}/libva-x11.so"
> -FILES_${PN}-tpi-dev =+ "${libdir}/libva-tpi.so"
> -FILES_${PN}-glx-dev =+ "${libdir}/libva-glx.so"
> -FILES_${PN}-egl-dev =+ "${libdir}/libva-egl.so"
> -FILES_${PN}-x11 =+ "${libdir}/libva-x11.*"
> -FILES_${PN}-tpi =+ "${libdir}/libva-tpi.*"
> -FILES_${PN}-glx =+ "${libdir}/libva-glx.*"
> -FILES_${PN}-egl =+ "${libdir}/libva-egl.*"
> +FILES_${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}"
> +FILES_${PN}-tpi =+ "${libdir}/libva-tpi*${SOLIBS}"
> +FILES_${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}"
> +FILES_${PN}-egl =+ "${libdir}/libva-egl*${SOLIBS}"
> +
> +FILES_${PN}-x11-dev =+ "${libdir}/libva-x11*${SOLIBSDEV}"
> +FILES_${PN}-tpi-dev =+ "${libdir}/libva-tpi*${SOLIBSDEV}"
> +FILES_${PN}-glx-dev =+ "${libdir}/libva-glx*${SOLIBSDEV}"
> +FILES_${PN}-egl-dev =+ "${libdir}/libva-egl*${SOLIBSDEV}"
> +FILES_${PN}-x11-dev =+ "${libdir}/libva-x11*.la"
> +FILES_${PN}-tpi-dev =+ "${libdir}/libva-tpi*.la"
> +FILES_${PN}-glx-dev =+ "${libdir}/libva-glx*.la"
> +FILES_${PN}-egl-dev =+ "${libdir}/libva-egl*.la"
> +FILES_${PN}-x11-dev =+ "${libdir}/pkgconfig/libva-x11*.pc"
> +FILES_${PN}-tpi-dev =+ "${libdir}/pkgconfig/libva-tpi*.pc"
> +FILES_${PN}-glx-dev =+ "${libdir}/pkgconfig/libva-glx*.pc"
> +FILES_${PN}-egl-dev =+ "${libdir}/pkgconfig/libva-egl*.pc"
> +
> +FILES_${PN}-x11-dbg =+ "${libdir}/.debug/libva-x11.*"
> +FILES_${PN}-tpi-dbg =+ "${libdir}/.debug/libva-tpi.*"
> +FILES_${PN}-glx-dbg =+ "${libdir}/.debug/libva-glx.*"
> +FILES_${PN}-egl-dbg =+ "${libdir}/.debug/libva-egl.*"
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
next prev parent reply other threads:[~2011-12-22 5:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-22 3:48 [PATCH 0/2] meta-intel: libva fixes tom.zanussi
2011-12-22 3:48 ` [PATCH 1/2] meta-intel: add PROVIDES for extra packages provided by libva tom.zanussi
2011-12-22 5:44 ` Darren Hart [this message]
2011-12-22 3:48 ` [PATCH 2/2] meta-intel: change EMGD xserver libva dependency to libva-x11 tom.zanussi
2011-12-22 5:45 ` Darren Hart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EF2C3D9.60101@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=tom.zanussi@intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.