From: sooyeon.kim Date: Fri, 26 Apr 2019 05:23:35 +0000 (+0900) Subject: Add libraries in other architectures X-Git-Tag: submit/tizen/20190426.052610^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7c471134f9bcc7ebb4ceaf65b36b8b3b00c7399;p=platform%2Fcore%2Fuifw%2Fstt-engine-embedded.git Add libraries in other architectures Change-Id: I0836cf693a7694579d13a6ddd2d1f690a6dd97cc Signed-off-by: sooyeon.kim --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b49d21a..8d20f40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,8 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libopus.so DESTINATION ${APP_INSTALL_ INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libopus.so.0 DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libopus.so.0.6.1 DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libboost_iostreams.so DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libonDevice-api.so DESTINATION /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/ COMPONENT RuntimeLibraries) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libondeviceasr.so DESTINATION /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/ COMPONENT RuntimeLibraries) INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/bin/i586/org.tizen.stt-engine-default DESTINATION ${APP_INSTALL_PREFIX}/bin/) ELSEIF("${ARCH}" MATCHES "^i686.*") INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libn66asrdll.so DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) @@ -59,6 +61,8 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libopus.so DESTINATION ${APP_INSTALL_ INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libopus.so.0 DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libopus.so.0.6.1 DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libboost_iostreams.so DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libonDevice-api.so DESTINATION /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/ COMPONENT RuntimeLibraries) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/i586/libondeviceasr.so DESTINATION /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/ COMPONENT RuntimeLibraries) INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/bin/i586/org.tizen.stt-engine-default DESTINATION ${APP_INSTALL_PREFIX}/bin/) ELSEIF("${ARCH}" MATCHES "^aarch64.*") INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/aarch64/libn66asrdll.so DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) @@ -71,6 +75,8 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/aarch64/libopus.so DESTINATION ${APP_INSTA INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/aarch64/libopus.so.0 DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/aarch64/libopus.so.0.6.1 DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/aarch64/libboost_iostreams.so DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/aarch64/libonDevice-api.so DESTINATION /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/ COMPONENT RuntimeLibraries) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/aarch64/libondeviceasr.so DESTINATION /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/ COMPONENT RuntimeLibraries) INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/bin/aarch64/org.tizen.stt-engine-default DESTINATION ${APP_INSTALL_PREFIX}/bin/) ELSEIF("${ARCH}" MATCHES "^x86_64.*") INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/x86_64/libn66asrdll.so DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) @@ -83,6 +89,8 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/x86_64/libopus.so DESTINATION ${APP_INSTAL INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/x86_64/libopus.so.0 DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/x86_64/libopus.so.0.6.1 DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/x86_64/libboost_iostreams.so DESTINATION ${APP_INSTALL_PREFIX}/lib/ COMPONENT RuntimeLibraries) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/x86_64/libonDevice-api.so DESTINATION /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/ COMPONENT RuntimeLibraries) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/lib/x86_64/libondeviceasr.so DESTINATION /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/ COMPONENT RuntimeLibraries) INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/bin/x86_64/org.tizen.stt-engine-default DESTINATION ${APP_INSTALL_PREFIX}/bin/) ENDIF() diff --git a/lib/aarch64/libonDevice-api.so b/lib/aarch64/libonDevice-api.so new file mode 100755 index 0000000..4cf7b04 Binary files /dev/null and b/lib/aarch64/libonDevice-api.so differ diff --git a/lib/aarch64/libondeviceasr.so b/lib/aarch64/libondeviceasr.so new file mode 100755 index 0000000..36dc8e8 Binary files /dev/null and b/lib/aarch64/libondeviceasr.so differ diff --git a/lib/i586/libonDevice-api.so b/lib/i586/libonDevice-api.so new file mode 100755 index 0000000..4cf7b04 Binary files /dev/null and b/lib/i586/libonDevice-api.so differ diff --git a/lib/i586/libondeviceasr.so b/lib/i586/libondeviceasr.so new file mode 100755 index 0000000..36dc8e8 Binary files /dev/null and b/lib/i586/libondeviceasr.so differ diff --git a/lib/x86_64/libonDevice-api.so b/lib/x86_64/libonDevice-api.so new file mode 100755 index 0000000..4cf7b04 Binary files /dev/null and b/lib/x86_64/libonDevice-api.so differ diff --git a/lib/x86_64/libondeviceasr.so b/lib/x86_64/libondeviceasr.so new file mode 100755 index 0000000..36dc8e8 Binary files /dev/null and b/lib/x86_64/libondeviceasr.so differ diff --git a/packaging/org.tizen.stt-engine-embedded.spec b/packaging/org.tizen.stt-engine-embedded.spec index 0e2b039..e4f2173 100644 --- a/packaging/org.tizen.stt-engine-embedded.spec +++ b/packaging/org.tizen.stt-engine-embedded.spec @@ -87,6 +87,7 @@ exit 0 %{MANIFESTDIR}/org.tizen.stt-engine-embedded.xml /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/configs.txt /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/config +#/opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/*.so /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/libonDevice-api.so /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/lib/libondeviceasr.so /opt/usr/home/owner/share/.voice/stt/1.0/engine-rsc/org.tizen.stt-engine-embedded/model/am/*