mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 19:42:41 +00:00
gstreamer-plugins-nvjpeg: rework definition of S
Move S to the top-level directory in the tarball, and use the
AUTOTOOLS_SCRIPT_PATH variable to locate the configure script,
so the header files show up under ${S} and get packaged with
the rest of the sources. Adjust the include path and patch
to account for the change.
This prevents the build path from showing up in the -dbg
packages.
Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
committed by
Matt Madison
parent
5eb059d87d
commit
4b5425c5bd
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user