X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=CMakeLists.txt;h=0f3f2501d64490185713433ee0b4b5a28b542a10;hb=HEAD;hp=14c4bb1bcdf4832b9a4082a0fe487fe2cf711abf;hpb=6138f9ef2ce0273d386aa569f8c466f3c8783d42;p=platform%2Fcore%2Fuifw%2Ftts.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 14c4bb1..0f3f250 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ PROJECT(tts) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) SET(EXEC_PREFIX "${PREFIX}") SET(INCLUDEDIR "${PREFIX}/include") -SET(VERSION 1.65.2) +SET(VERSION ${VERSION}) FIND_PROGRAM(UNAME NAMES uname) EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH") @@ -39,7 +39,7 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/common") 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 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 @@ -65,10 +65,11 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/tts-server.conf DESTINATION /etc/dbus-1/system ## 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}) @@ -80,6 +81,8 @@ ELSEIF("${ARCH}" MATCHES "^aarch64.*") 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()