diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvjpeg/use-nvjpeg-for-plugin-name.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvjpeg/use-nvjpeg-for-plugin-name.patch index c24b535c..e2c4300b 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvjpeg/use-nvjpeg-for-plugin-name.patch +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvjpeg/use-nvjpeg-for-plugin-name.patch @@ -1,7 +1,7 @@ -Index: gst-jpeg-1.0/ext/jpeg/Makefile.am +Index: gstjpeg_src/gst-jpeg/gst-jpeg-1.0/ext/jpeg/Makefile.am =================================================================== ---- gst-jpeg-1.0.orig/ext/jpeg/Makefile.am -+++ gst-jpeg-1.0/ext/jpeg/Makefile.am +--- gstjpeg_src/gst-jpeg/gst-jpeg-1.0.orig/ext/jpeg/Makefile.am ++++ gstjpeg_src/gst-jpeg/gst-jpeg-1.0/ext/jpeg/Makefile.am @@ -1,16 +1,16 @@ -plugin_LTLIBRARIES = libgstjpeg.la +plugin_LTLIBRARIES = libgstnvjpeg.la diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvjpeg_1.14.0-r35.1.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvjpeg_1.14.0-r35.1.0.bb index 1ab5c81c..698f75fb 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvjpeg_1.14.0-r35.1.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-nvjpeg_1.14.0-r35.1.0.bb @@ -10,8 +10,9 @@ SRC_URI += "file://use-nvjpeg-for-plugin-name.patch" DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libjpeg-turbo tegra-libraries-multimedia tegra-libraries-multimedia-utils" -S = "${WORKDIR}/gstjpeg_src/gst-jpeg/gst-jpeg-1.0" -CFLAGS += "-I${WORKDIR}/gstjpeg_src/nv_headers -DUSE_TARGET_TEGRA" +S = "${WORKDIR}/gstjpeg_src" +AUTOTOOLS_SCRIPT_PATH = "${S}/gst-jpeg/gst-jpeg-1.0" +CFLAGS += "-I${S}/nv_headers -DUSE_TARGET_TEGRA" EXTRA_OECONF = "--disable-examples" EXTRA_OEMAKE = "JPEG_LIBS=-lnvjpeg"