From ccc27afc38d0190e25d7c19ebb49d5c33fba3194 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 18 Oct 2013 16:15:45 +0100 Subject: gstreamer-vaapi: add 0.5.6 gstreamer-vaapi 0.5.x supports GStreamer 0.10/1.0/1.2, so add seperate recipes for 0.10 and 1.0 builds. This adds a new recipe name so keep the old gstreamer-vaapi_0.4.3 for now until all users of that have migrated away. Signed-off-by: Ross Burton Signed-off-by: Tom Zanussi --- .../gstreamer/gstreamer-vaapi.inc | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc (limited to 'common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc') diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc new file mode 100644 index 00000000..9fc32481 --- /dev/null +++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc @@ -0,0 +1,41 @@ +SUMMARY = "VA-API support to GStreamer" +DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ +based plugins for GStreamer and helper libraries: `vaapidecode', \ +`vaapiconvert', and `vaapisink'." + +REALPN = "gstreamer-vaapi" +FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", "${FILE_DIRNAME}/${REALPN}"], d)}" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "libva" + +SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2 \ + file://install-tests.patch" + +SRC_URI[md5sum] = "7b1ede7193bc5a0aca921c490684f7b5" +SRC_URI[sha256sum] = "68e0598456fe17085f6b8b1ce3da066322cc02c363955fb319776a5404d2b0da" + +S = "${WORKDIR}/${REALPN}-${PV}" + +inherit autotools pkgconfig gtk-doc + +PACKAGES =+ "${PN}-tests" + +EXTRA_OECONF += "--with-gstreamer-api=${GST_API_VERSION}" + +PACKAGECONFIG ??= "drm \ + ${@base_contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \ + ${@base_contains("DISTRO_FEATURES", "wayland", "wayland", "", d)} \ + ${@base_contains("DISTRO_FEATURES", "x11", "x11", "", d)}" + +PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm" +PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa" +PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland" +PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender" + +FILES_${PN} += "${libdir}/gstreamer-*/*.so" +FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug" +FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a" +FILES_${PN}-tests = "${bindir}/*" -- cgit v1.2.3-54-g00ecf