FIND_PROGRAM(UNAME NAMES uname)
EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH")
-IF("${ARCH}" STREQUAL "arm")
+
+IF("${ARCH}" MATCHES "^arm.*")
ADD_DEFINITIONS("-DTARGET")
MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
+ENDIF("${ARCH}" MATCHES "^arm.*")
ADD_DEFINITIONS("-DDEBUG")
ADD_DEFINITIONS("-DDEBUG_ON")
#Install desktop file & icon.
INSTALL(TARGETS message DESTINATION bin)
+IF("${ARCH}" MATCHES "^arm.*")
+ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${PKGNAME}.xml.target ${CMAKE_SOURCE_DIR}/${PKGNAME}.xml)
+ELSE("${ARCH}" MATCHES "^arm.*")
+ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${PKGNAME}.xml.emul ${CMAKE_SOURCE_DIR}/${PKGNAME}.xml)
+ENDIF("${ARCH}" MATCHES "^arm.*")
INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.xml DESTINATION /opt/share/packages)
INSTALL(FILES ${CMAKE_SOURCE_COMMON_DIR}/data/image/${PKGNAME}.png DESTINATION ${ICONDIR})
INSTALL(FILES ${CMAKE_SOURCE_COMMON_DIR}/data/image/${PKGNAME}.voice.png DESTINATION ${ICONDIR})
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="org.tizen.message" version="0.8.15" install-location="internal-only">
+ <label>Message</label>
+ <author email="jyjeong@samsung.com" href="www.samsung.com">Jaeyun Jeong</author>
+ <description>Message Application</description>
+ <ui-application appid="org.tizen.message" exec="/opt/apps/org.tizen.message/bin/message" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+ <icon>org.tizen.message.png</icon>
+ <label>Messages</label>
+ <label xml:lang="en-us">Messages</label>
+ <label xml:lang="nl-nl">Berichten</label>
+ <label xml:lang="de-de">Nachrichten</label>
+ <label xml:lang="zh-hk">訊息</label>
+ <label xml:lang="zh-cn">信息</label>
+ <label xml:lang="ru-ru">Сообщения</label>
+ <label xml:lang="zh-tw">訊息</label>
+ <label xml:lang="ja-jp">メール</label>
+ <label xml:lang="es-es">Mensajes</label>
+ <label xml:lang="el-gr">Μηνύματα</label>
+ <label xml:lang="it-it">Messaggi</label>
+ <label xml:lang="tr-tr">Mesajlar</label>
+ <label xml:lang="pt-pt">Mensagem</label>
+ <label xml:lang="fr-fr">Messages</label>
+ <label xml:lang="ko-kr">메시지</label>
+ </ui-application>
+ <ui-application appid="org.tizen.msg-ui-class0" exec="/opt/apps/org.tizen.message/bin/msg-ui-class0" nodisplay="true" multiple="false" type="capp" taskmanage="true">
+ <label>Msg-ui-class0</label>
+ <label xml:lang="en-us">Class0 message viewer</label>
+ <label xml:lang="ko-kr">메시지</label>
+ </ui-application>
+ <ui-application appid="msg-composer-efl" exec="/opt/ug/bin/msg-composer-efl" nodisplay="true" multiple="true" type="capp" taskmanage="false">
+ <icon>org.tizen.message.png</icon>
+ <label>Message</label>
+ <label xml:lang="en-us">Message</label>
+ </ui-application>
+</manifest>