[Filter/TFLite] Move shared object of tflitecore to libdir
authorWook Song <wook16.song@samsung.com>
Mon, 26 Nov 2018 01:17:58 +0000 (10:17 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Mon, 26 Nov 2018 09:42:42 +0000 (09:42 +0000)
This patch moves the shared object of tflitecore,
libtensor_filter_tflitecore.so, from GST_PLUGIN_PATH to INSTALL_LIBDIR.

Signed-off-by: Wook Song <wook16.song@samsung.com>
debian/nnstreamer.install
gst/tensor_filter/CMakeLists.txt
packaging/nnstreamer.spec

index 3ed7b1b..a12f5f3 100644 (file)
@@ -1 +1,2 @@
+/usr/lib/libtensor_filter_tflitecore.so
 /usr/lib/gstreamer-1.0/*.so
index 2924cc6..6ba3b66 100644 (file)
@@ -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}
 )
index b693ab8..9106de1 100644 (file)
@@ -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 <myungjoo.ham@samsung.com>