summaryrefslogtreecommitdiffstats
path: root/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-10-18 15:15:45 (GMT)
committerTom Zanussi <tom.zanussi@intel.com>2013-11-14 21:56:45 (GMT)
commitccc27afc38d0190e25d7c19ebb49d5c33fba3194 (patch)
treeb52378fd15bae0d9616bb583e6c6aab31b819fa7 /common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
parent678e42bdcc31b6f416c9885fc90498a4700276cd (diff)
downloadmeta-intel-ccc27afc38d0190e25d7c19ebb49d5c33fba3194.tar.gz
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 <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc')
-rw-r--r--common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc41
1 files changed, 41 insertions, 0 deletions
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
new file mode 100644
index 0000000..9fc3248
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
@@ -0,0 +1,41 @@
1SUMMARY = "VA-API support to GStreamer"
2DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \
3based plugins for GStreamer and helper libraries: `vaapidecode', \
4`vaapiconvert', and `vaapisink'."
5
6REALPN = "gstreamer-vaapi"
7FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", "${FILE_DIRNAME}/${REALPN}"], d)}"
8
9LICENSE = "LGPLv2.1+"
10LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
11
12DEPENDS = "libva"
13
14SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2 \
15 file://install-tests.patch"
16
17SRC_URI[md5sum] = "7b1ede7193bc5a0aca921c490684f7b5"
18SRC_URI[sha256sum] = "68e0598456fe17085f6b8b1ce3da066322cc02c363955fb319776a5404d2b0da"
19
20S = "${WORKDIR}/${REALPN}-${PV}"
21
22inherit autotools pkgconfig gtk-doc
23
24PACKAGES =+ "${PN}-tests"
25
26EXTRA_OECONF += "--with-gstreamer-api=${GST_API_VERSION}"
27
28PACKAGECONFIG ??= "drm \
29 ${@base_contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \
30 ${@base_contains("DISTRO_FEATURES", "wayland", "wayland", "", d)} \
31 ${@base_contains("DISTRO_FEATURES", "x11", "x11", "", d)}"
32
33PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
34PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa"
35PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
36PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender"
37
38FILES_${PN} += "${libdir}/gstreamer-*/*.so"
39FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug"
40FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a"
41FILES_${PN}-tests = "${bindir}/*"