From f76f51534d43328aa0101ede0b67402ba36cbe58 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Sat, 26 Nov 2011 15:42:54 -0600 Subject: [PATCH] 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 --- .../libva/{libva_1.0.10.bb => libva.inc} | 19 +++++++++++-------- .../recipes-multimedia/libva/libva_1.0.12.bb | 8 ++++++++ 2 files changed, 19 insertions(+), 8 deletions(-) rename common/recipes-multimedia/libva/{libva_1.0.10.bb => libva.inc} (78%) create mode 100644 common/recipes-multimedia/libva/libva_1.0.12.bb diff --git a/common/recipes-multimedia/libva/libva_1.0.10.bb b/common/recipes-multimedia/libva/libva.inc similarity index 78% rename from common/recipes-multimedia/libva/libva_1.0.10.bb rename to common/recipes-multimedia/libva/libva.inc index 0cd0444d..93b3caec 100644 --- a/common/recipes-multimedia/libva/libva_1.0.10.bb +++ b/common/recipes-multimedia/libva/libva.inc @@ -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.*" diff --git a/common/recipes-multimedia/libva/libva_1.0.12.bb b/common/recipes-multimedia/libva/libva_1.0.12.bb new file mode 100644 index 00000000..490e60f8 --- /dev/null +++ b/common/recipes-multimedia/libva/libva_1.0.12.bb @@ -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"