From f76f51534d43328aa0101ede0b67402ba36cbe58 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Sat, 26 Nov 2011 15:42:54 -0600 Subject: 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 --- common/recipes-multimedia/libva/libva.inc | 41 +++++++++++++++++++++++++ common/recipes-multimedia/libva/libva_1.0.10.bb | 38 ----------------------- common/recipes-multimedia/libva/libva_1.0.12.bb | 8 +++++ 3 files changed, 49 insertions(+), 38 deletions(-) create mode 100644 common/recipes-multimedia/libva/libva.inc delete mode 100644 common/recipes-multimedia/libva/libva_1.0.10.bb create mode 100644 common/recipes-multimedia/libva/libva_1.0.12.bb (limited to 'common') diff --git a/common/recipes-multimedia/libva/libva.inc b/common/recipes-multimedia/libva/libva.inc new file mode 100644 index 00000000..93b3caec --- /dev/null +++ b/common/recipes-multimedia/libva/libva.inc @@ -0,0 +1,41 @@ +SUMMARY = "Video Acceleration (VA) API for Linux" +DESCRIPTION = "Video Acceleration API (VA API) is a library (libVA) \ +and API specification which enables and provides access to graphics \ +hardware (GPU) acceleration for video processing on Linux and UNIX \ +based operating systems. Accelerated processing includes video \ +decoding, video encoding, subpicture blending and rendering. The \ +specification was originally designed by Intel for its GMA (Graphics \ +Media Accelerator) series of GPU hardware, the API is however not \ +limited to GPUs or Intel specific hardware, as other hardware and \ +manufacturers can also freely use this API for hardware accelerated \ +video decoding." + +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/vaapi" +BUGTRACKER = "https://bugs.freedesktop.org" + +SECTION = "x11" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" + +INC_PR = "r0" + +DEPENDS = "libxext libxfixes libdrm" + +inherit autotools pkgconfig + +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.*" +FILES_${PN}-egl =+ "${libdir}/libva-egl.*" diff --git a/common/recipes-multimedia/libva/libva_1.0.10.bb b/common/recipes-multimedia/libva/libva_1.0.10.bb deleted file mode 100644 index 0cd0444d..00000000 --- a/common/recipes-multimedia/libva/libva_1.0.10.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "Video Acceleration (VA) API for Linux" -DESCRIPTION = "Video Acceleration API (VA API) is a library (libVA) \ -and API specification which enables and provides access to graphics \ -hardware (GPU) acceleration for video processing on Linux and UNIX \ -based operating systems. Accelerated processing includes video \ -decoding, video encoding, subpicture blending and rendering. The \ -specification was originally designed by Intel for its GMA (Graphics \ -Media Accelerator) series of GPU hardware, the API is however not \ -limited to GPUs or Intel specific hardware, as other hardware and \ -manufacturers can also freely use this API for hardware accelerated \ -video decoding." - -HOMEPAGE = "http://www.freedesktop.org/wiki/Software/vaapi" -BUGTRACKER = "https://bugs.freedesktop.org" - -SECTION = "x11" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" - -PR = "r1" - -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" -RDEPENDS_${PN} =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl" -FILES_${PN}-x11 =+ "${libdir}/libva-x11.*" -FILES_${PN}-tpi =+ "${libdir}/libva-tpi.*" -FILES_${PN}-glx =+ "${libdir}/libva-glx.*" -FILES_${PN}-egl =+ "${libdir}/libva-egl.*" 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" -- cgit v1.2.3-54-g00ecf