From ae221996a26ace1768147bc19fad285b7e0613c1 Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Wed, 2 Aug 2017 18:07:57 +0200 Subject: libgstomx: Introduce gstreamer 0.10 support for TK1 Move current gstreamer1.0 base libgstomx to libgstomx1 and add libgstomx with gstreamer-0.10 support for TK1 Signed-off-by: Dominik Sliwa Acked-by: Stefan Agner --- .../libgstomx-0.10/libgstomx-0.10_21.5.0.bb | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.5.0.bb (limited to 'recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.5.0.bb') diff --git a/recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.5.0.bb b/recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.5.0.bb new file mode 100644 index 0000000..d9e544d --- /dev/null +++ b/recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.5.0.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "NVIDIA Linux Driver Packages" +HOMEPAGE = "https://developer.nvidia.com/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" + +SRC_URI = " \ + http://developer.download.nvidia.com/embedded/L4T/r21_Release_v5.0/source/gstomx_src.tbz2 \ + file://0001-fix-gstomx-compilation-issues.patch \ +" + +SRC_URI[md5sum] = "457764edbcbe7239f93f6e1284d66b17" +SRC_URI[sha256sum] = "586b95c8c56ef0b7527dc0f7006e0eccd12a7da9613606cc766cf8d85b0f0a23" + +DEPENDS += " libgstnvegl libffi glib-2.0 gstreamer gst-plugins-base libpcre libxml2 zlib " +DEPENDS += " virtual/egl virtual/mesa virtual/libgles2 gdbm drm " + +S = "${WORKDIR}/gstomx_src/gst-openmax" + +inherit autotools pkgconfig + +EXTRA_OECONF = " --enable-tegra --enable-eglimage --enable-experimental --disable-static " + +CXXFLAGS += " -I${S}/omx/openmax -I${WORKDIR}/gstomx_src/nv_headers -Wl,--no-undefined " +CFLAGS += " -I${S}/omx/openmax -I${WORKDIR}/gstomx_src/nv_headers -Wl,--no-undefined " + + +do_configure_prepend() { + export LIBS="-lEGL -lGLESv2 -lX11 -lgstreamer-0.10 " +} + +FILES_${PN}-dbg = " \ + /usr/src/debug/* \ + /usr/lib/.debug/* \ +" +FILES_${PN} = " \ + /usr/lib/gstreamer-0.10/libgstomx.so \ + /usr/lib/gstreamer-0.10/libgstomx.la \ +" -- cgit v1.2.3