From 58178fb139429ed5ea43d675f7dc855e017040ba Mon Sep 17 00:00:00 2001 From: Wook Song Date: Mon, 26 Nov 2018 10:17:58 +0900 Subject: [PATCH] [Filter/TFLite] Move shared object of tflitecore to libdir This patch moves the shared object of tflitecore, libtensor_filter_tflitecore.so, from GST_PLUGIN_PATH to INSTALL_LIBDIR. Signed-off-by: Wook Song --- debian/nnstreamer.install | 1 + gst/tensor_filter/CMakeLists.txt | 2 +- packaging/nnstreamer.spec | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/nnstreamer.install b/debian/nnstreamer.install index 3ed7b1b..a12f5f3 100644 --- a/debian/nnstreamer.install +++ b/debian/nnstreamer.install @@ -1 +1,2 @@ +/usr/lib/libtensor_filter_tflitecore.so /usr/lib/gstreamer-1.0/*.so diff --git a/gst/tensor_filter/CMakeLists.txt b/gst/tensor_filter/CMakeLists.txt index 2924cc6..6ba3b66 100644 --- a/gst/tensor_filter/CMakeLists.txt +++ b/gst/tensor_filter/CMakeLists.txt @@ -58,6 +58,6 @@ ADD_LIBRARY(tensor_filterOBJ OBJECT ${FILTER_SOURCE}) INSTALL(TARGETS ${FILTER_TARGET} RUNTIME DESTINATION ${EXEC_PREFIX} - LIBRARY DESTINATION ${GST_INSTALL_DIR} + LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR} ) diff --git a/packaging/nnstreamer.spec b/packaging/nnstreamer.spec index b693ab8..9106de1 100644 --- a/packaging/nnstreamer.spec +++ b/packaging/nnstreamer.spec @@ -151,6 +151,7 @@ install build/gst/tensor_filter/*.a %{buildroot}%{_libdir}/ %manifest nnstreamer.manifest %defattr(-,root,root,-) %license LICENSE +%{_libdir}/libtensor_filter_tflitecore.so %{gstlibdir}/*.so %files devel @@ -168,7 +169,7 @@ install build/gst/tensor_filter/*.a %{buildroot}%{_libdir}/ %defattr(-,root,root,-) %license LICENSE %{_libdir}/*.so - +%exclude %{_libdir}/libtensor_filter_tflitecore.so %changelog * Mon Oct 15 2018 MyungJoo Ham -- 2.7.4