diff options
author | Ross Burton <ross.burton@intel.com> | 2013-10-18 16:15:45 +0100 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2013-11-14 15:56:45 -0600 |
commit | ccc27afc38d0190e25d7c19ebb49d5c33fba3194 (patch) | |
tree | b52378fd15bae0d9616bb583e6c6aab31b819fa7 /common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc | |
parent | 678e42bdcc31b6f416c9885fc90498a4700276cd (diff) | |
download | meta-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.inc | 41 |
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 00000000..9fc32481 --- /dev/null +++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "VA-API support to GStreamer" | ||
2 | DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ | ||
3 | based plugins for GStreamer and helper libraries: `vaapidecode', \ | ||
4 | `vaapiconvert', and `vaapisink'." | ||
5 | |||
6 | REALPN = "gstreamer-vaapi" | ||
7 | FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", "${FILE_DIRNAME}/${REALPN}"], d)}" | ||
8 | |||
9 | LICENSE = "LGPLv2.1+" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
11 | |||
12 | DEPENDS = "libva" | ||
13 | |||
14 | SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2 \ | ||
15 | file://install-tests.patch" | ||
16 | |||
17 | SRC_URI[md5sum] = "7b1ede7193bc5a0aca921c490684f7b5" | ||
18 | SRC_URI[sha256sum] = "68e0598456fe17085f6b8b1ce3da066322cc02c363955fb319776a5404d2b0da" | ||
19 | |||
20 | S = "${WORKDIR}/${REALPN}-${PV}" | ||
21 | |||
22 | inherit autotools pkgconfig gtk-doc | ||
23 | |||
24 | PACKAGES =+ "${PN}-tests" | ||
25 | |||
26 | EXTRA_OECONF += "--with-gstreamer-api=${GST_API_VERSION}" | ||
27 | |||
28 | PACKAGECONFIG ??= "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 | |||
33 | PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm" | ||
34 | PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa" | ||
35 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland" | ||
36 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender" | ||
37 | |||
38 | FILES_${PN} += "${libdir}/gstreamer-*/*.so" | ||
39 | FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug" | ||
40 | FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a" | ||
41 | FILES_${PN}-tests = "${bindir}/*" | ||