libva: upgrade to 1.0.12 and factor out common settings

EMGD 1.8 requires libva-1.0.12, so upgrade to that version, and we
don't actually need the 1.0.10 recipe, so remove it.

This also adds -dbg and -dev packaging fixes to fix QA problems,
removes some unnecessary settings, updates checksums, etc.

Also create and use a common libva.inc, as we'll soon be adding a more
updated version of libva to the current version.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
Tom Zanussi 2011-11-26 15:42:54 -06:00
parent a5e14b9261
commit f76f51534d
2 changed files with 19 additions and 8 deletions

View File

@ -17,21 +17,24 @@ SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
PR = "r1"
INC_PR = "r0"
DEPENDS = "libxext libxfixes libdrm"
SRC_URI = "http://cgit.freedesktop.org/libva/snapshot/libva-${PV}.tar.bz2"
SRC_URI[md5sum] = "959de03d47654adab855e10bff614df3"
SRC_URI[sha256sum] = "05f757f0043dce9f753d354d15e0cb772b1240cc9d29d26bbb5526285a203693"
inherit autotools pkgconfig
LEAD_SONAME = "libva.so"
PACKAGES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
PACKAGES =+ "${PN}-x11-dev ${PN}-tpi-dev ${PN}-glx-dev ${PN}-egl-dev"
RDEPENDS_${PN} =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl"
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.*"

View File

@ -0,0 +1,8 @@
require libva.inc
PR = "${INC_PR}.0"
SRC_URI = "http://cgit.freedesktop.org/libva/snapshot/libva-${PV}.tar.bz2"
SRC_URI[md5sum] = "84408a0746a63b8cf308dc7b9f2451cf"
SRC_URI[sha256sum] = "e80aae68fc78d237d046be6525d333f072fd57fe4f4d8f981e869703ebfee8f5"