SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(EXEC_PREFIX "${PREFIX}")
SET(INCLUDEDIR "${PREFIX}/include")
-SET(VERSION 1.60.10)
+SET(VERSION ${VERSION})
FIND_PROGRAM(UNAME NAMES uname)
EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH")
INCLUDE(FindPkgConfig)
pkg_check_modules(pkgs REQUIRED
aul capi-media-audio-io capi-appfw-app-manager capi-system-info dbus-1 dlog ecore
- glib-2.0 libgum libtzplatform-config libxml-2.0 libsystemd-login vconf bundle buxton2 pkgmgr gmock
+ glib-2.0 libgum libtzplatform-config libxml-2.0 vconf bundle buxton2 pkgmgr gmock capi-appfw-app-common rpc-port
)
pkg_check_modules(pkgs_test REQUIRED
## Dbus service ##
INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttsserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttsnotiserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttssrserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttsnotiserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.voice.ttsinterruptserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/system-services)
+
## tts_getengine ##
IF("${ARCH}" MATCHES "^arm.*")
INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/bin/armv7l/tts_getengine DESTINATION ${TZ_SYS_BIN})
INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/bin/aarch64/tts_getengine DESTINATION ${TZ_SYS_BIN})
ELSEIF("${ARCH}" MATCHES "^x86_64.*")
INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/bin/x86_64/tts_getengine DESTINATION ${TZ_SYS_BIN})
+ELSEIF("${ARCH}" MATCHES "^riscv64.*")
+INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/bin/riscv64/tts_getengine DESTINATION ${TZ_SYS_BIN})
ENDIF()