Remove the logic to add rpaths in meson build file

Signed-off-by: Khem Raj <[email protected]>
---
 .../0001-gstd-Remove-redundant-rpaths.patch   | 26 +++++++++++++++++++
 .../gstreamer-1.0/gstd_git.bb                 |  3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 
meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-Remove-redundant-rpaths.patch

diff --git 
a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-Remove-redundant-rpaths.patch
 
b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-Remove-redundant-rpaths.patch
new file mode 100644
index 0000000000..b1e1e897bf
--- /dev/null
+++ 
b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-Remove-redundant-rpaths.patch
@@ -0,0 +1,26 @@
+From c183aae97728e25e0822b14f5093f60cb4331207 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Sat, 12 Oct 2024 10:48:01 -0700
+Subject: [PATCH] gstd: Remove redundant rpaths
+
+This emits /usr/lib into binaries which are redundant
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <[email protected]>
+---
+ gstd/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gstd/meson.build b/gstd/meson.build
+index b6aa588..8cdf810 100644
+--- a/gstd/meson.build
++++ b/gstd/meson.build
+@@ -18,7 +18,7 @@ executable(exe_name,
+   include_directories : [configinc, libgstd_inc_dir],
+   dependencies : [gstd_deps, lib_gstd_dep],
+   c_args: gst_c_args,
+-  install_rpath: get_option('prefix') + '/' + get_option('libdir'),
++  #install_rpath: get_option('prefix') + '/' + get_option('libdir'),
+ )
+ lib_gstd_dir = meson.current_build_dir()
+ 
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb 
b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
index 43b82526dd..3b0d3ded13 100644
--- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
+++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
@@ -9,7 +9,8 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base 
gstreamer1.0-plugins-bad gstre
 
 SRCBRANCH ?= "master"
 SRCREV = "dac03d5e4102080a8f3ef274a6a6583455962095"
-SRC_URI = 
"git://[email protected]/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH}"
+SRC_URI = 
"git://[email protected]/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} 
\
+           file://0001-gstd-Remove-redundant-rpaths.patch"
 S = "${WORKDIR}/git"
 
 # Remove the +really when upstream version is > 1.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112833): 
https://lists.openembedded.org/g/openembedded-devel/message/112833
Mute This Topic: https://lists.openembedded.org/mt/108970633/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to