From ec413939657c0cd4bcb660c52c527cb7c0b0f6f5 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Wed, 23 Jan 2019 15:50:26 +0100 Subject: libgstnvegl, libgstomx-0.10: update to L4T R21.7 Looks like those two we never actually updated to building off from R21.7 sources. This commit fixes that now. Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- .../libgstnvegl/libgstnvegl_21.5.0.bb | 39 ------------------ .../libgstnvegl/libgstnvegl_21.7.0.bb | 46 ++++++++++++++++++++++ .../libgstomx-0.10/libgstomx-0.10_21.5.0.bb | 39 ------------------ .../libgstomx-0.10/libgstomx-0.10_21.7.0.bb | 46 ++++++++++++++++++++++ 4 files changed, 92 insertions(+), 78 deletions(-) delete mode 100644 recipes-multimedia/libgstnvegl/libgstnvegl_21.5.0.bb create mode 100644 recipes-multimedia/libgstnvegl/libgstnvegl_21.7.0.bb delete mode 100644 recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.5.0.bb create mode 100644 recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.7.0.bb diff --git a/recipes-multimedia/libgstnvegl/libgstnvegl_21.5.0.bb b/recipes-multimedia/libgstnvegl/libgstnvegl_21.5.0.bb deleted file mode 100644 index 7ae88d4..0000000 --- a/recipes-multimedia/libgstnvegl/libgstnvegl_21.5.0.bb +++ /dev/null @@ -1,39 +0,0 @@ -DESCRIPTION = "NVIDIA Linux Driver Packages" -HOMEPAGE = "https://developer.nvidia.com/" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d" - -SRC_URI = " \ - http://developer.download.nvidia.com/embedded/L4T/r21_Release_v5.0/source/gstegl_src.tbz2 \ - file://0001-rename-gstegl-to-gstnvegl.patch \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ - file://0001-pkg-config-files-fix-qa-error.patch \ -" - -SRC_URI[md5sum] = "8a08b88f2faa807d94d1939ddcb93b22" -SRC_URI[sha256sum] = "f3ccf2dec5c283b1f4141609a4316bae1258b35181e2448264ae21754d8bdaed" - -S = "${WORKDIR}/gstegl_src/gst-egl" - -inherit autotools pkgconfig -# gobject-introspection - -EXTRA_OECONF = "--disable-nls --disable-static-plugins --enable-introspection=no" - -DEPENDS += " libffi glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base libpcre libxml2 zlib " -DEPENDS += " virtual/egl virtual/mesa virtual/libgles2 wayland gdbm drm " - -FILES_${PN}-dbg = " \ - /usr/src/debug/* \ - /usr/lib/gstreamer-1.0/.debug/* \ - /usr/lib/.debug/* \ -" - -FILES_${PN} = " \ - /usr/lib/gstreamer-1.0/libgstnveglglessink.so \ - /usr/lib/gstreamer-1.0/libgstnveglglessink.la \ - /usr/lib/libgstnvegl-1.0.so \ - /usr/lib/libgstnvegl-1.0.so.0 \ - /usr/lib/libgstnvegl-1.0.so.0.203.0 \ -" - diff --git a/recipes-multimedia/libgstnvegl/libgstnvegl_21.7.0.bb b/recipes-multimedia/libgstnvegl/libgstnvegl_21.7.0.bb new file mode 100644 index 0000000..5645510 --- /dev/null +++ b/recipes-multimedia/libgstnvegl/libgstnvegl_21.7.0.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "NVIDIA Linux Driver Packages" +HOMEPAGE = "https://developer.nvidia.com/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d" + +SRC_URI = " \ + https://developer.download.nvidia.com/embedded/L4T/r21_Release_v7.0/r21.7.0-sources.tbz2 \ + file://0001-rename-gstegl-to-gstnvegl.patch \ + file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ + file://0001-pkg-config-files-fix-qa-error.patch \ +" + +SRC_URI[md5sum] = "620d0979ffbbc8cbe8cb36faacee386b" +SRC_URI[sha256sum] = "4523ce03e18d2507a180a0b67e3ef136d4b73837f48063146c471fe575282440" + +S = "${WORKDIR}/gstegl_src/gst-egl" + +inherit autotools pkgconfig +# gobject-introspection + +EXTRA_OECONF = "--disable-nls --disable-static-plugins --enable-introspection=no" + +DEPENDS += " libffi glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base libpcre libxml2 zlib \ + virtual/egl virtual/mesa virtual/libgles2 wayland gdbm drm tar-native" + +nvidia_unpack() { + cd "${WORKDIR}" + # NVIDIA now packages packages in one big package! + tar xjf gstegl_src.tbz2 +} + +do_unpack[postfuncs] += "nvidia_unpack" + +FILES_${PN}-dbg = " \ + /usr/src/debug/* \ + /usr/lib/gstreamer-1.0/.debug/* \ + /usr/lib/.debug/* \ +" + +FILES_${PN} = " \ + /usr/lib/gstreamer-1.0/libgstnveglglessink.so \ + /usr/lib/gstreamer-1.0/libgstnveglglessink.la \ + /usr/lib/libgstnvegl-1.0.so \ + /usr/lib/libgstnvegl-1.0.so.0 \ + /usr/lib/libgstnvegl-1.0.so.0.203.0 \ +" 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 deleted file mode 100644 index 0ed0cfe..0000000 --- a/recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.5.0.bb +++ /dev/null @@ -1,39 +0,0 @@ -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 \ - file://0001-configure-don-t-use-gst-photography-even-if-it-is-in.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 += " -DTEGRA_ARCH_124 -I${S}/omx/openmax -I${WORKDIR}/gstomx_src/nv_headers -Wl,--no-undefined " -CFLAGS += " -DTEGRA_ARCH_124 -I${S}/omx/openmax -I${WORKDIR}/gstomx_src/nv_headers -Wl,--no-undefined " - - -do_configure_prepend() { - export LIBS="-lEGL -lGLESv2 -lX11 -ldl -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 \ -" diff --git a/recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.7.0.bb b/recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.7.0.bb new file mode 100644 index 0000000..897c01b --- /dev/null +++ b/recipes-multimedia/libgstomx-0.10/libgstomx-0.10_21.7.0.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "NVIDIA Linux Driver Packages" +HOMEPAGE = "https://developer.nvidia.com/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" + +SRC_URI = " \ + https://developer.download.nvidia.com/embedded/L4T/r21_Release_v7.0/r21.7.0-sources.tbz2 \ + file://0001-fix-gstomx-compilation-issues.patch \ + file://0001-configure-don-t-use-gst-photography-even-if-it-is-in.patch \ +" + +SRC_URI[md5sum] = "620d0979ffbbc8cbe8cb36faacee386b" +SRC_URI[sha256sum] = "4523ce03e18d2507a180a0b67e3ef136d4b73837f48063146c471fe575282440" + +DEPENDS += " libgstnvegl libffi glib-2.0 gstreamer gst-plugins-base libpcre libxml2 zlib \ + virtual/egl virtual/mesa virtual/libgles2 gdbm drm tar-native" + +S = "${WORKDIR}/gstomx_src/gst-openmax" + +inherit autotools pkgconfig + +EXTRA_OECONF = " --enable-tegra --enable-eglimage --enable-experimental --disable-static " + +CXXFLAGS += " -DTEGRA_ARCH_124 -I${S}/omx/openmax -I${WORKDIR}/gstomx_src/nv_headers -Wl,--no-undefined " +CFLAGS += " -DTEGRA_ARCH_124 -I${S}/omx/openmax -I${WORKDIR}/gstomx_src/nv_headers -Wl,--no-undefined " + +nvidia_unpack() { + cd "${WORKDIR}" + # NVIDIA now packages packages in one big package! + tar xjf gstomx_src.tbz2 +} + +do_unpack[postfuncs] += "nvidia_unpack" + +do_configure_prepend() { + export LIBS="-lEGL -lGLESv2 -lX11 -ldl -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