r21230 by mrdocs -
scribus-commit
scribus-commit at lists.scribus.net
Sun Apr 24 05:00:13 UTC 2016
Author: mrdocs
Date: Sun Apr 24 05:00:13 2016
New Revision: 21230
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21230
Log:
Part of https://bugs.scribus.net/view.php?id=12708
Modified:
trunk/Scribus/CMakeLists.txt
Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21230&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt (original)
+++ trunk/Scribus/CMakeLists.txt Sun Apr 24 05:00:13 2016
@@ -341,6 +341,15 @@
ELSE()
ADD_DEFINITIONS("-DDESKTOPDIR=\\\"${DESKTOPDIR}\\\"")
ENDIF()
+
+#APPDATA
+SET(APPDATADIR "${CMAKE_INSTALL_DATAROOTDIR}/appdata/")
+IF(NOT IS_ABSOLUTE ${APPDATADIRR})
+ ADD_DEFINITIONS("-DAPPDATADIR=\\\"${CMAKE_INSTALL_PREFIX}/${APPDATADIR}\\\"")
+ELSE()
+ ADD_DEFINITIONS("-DAPPDATADIR=\\\"${APPDATADIR}\\\"")
+ENDIF()
+
# APPLICATION_DATA_DIR
# It allows specify the user configuration directory in the compile time.
@@ -1011,6 +1020,16 @@
DESTINATION ${MIMELNKDIR}
)
+)
+
+
+#Install the appdata file
+INSTALL(FILES
+scribus.appdata.xml
+DESTINATION ${APPDATADIR}
+)
+
+
#If building an Apple bundle, install these specific files
IF(APPLEBUNDLE)
INSTALL(FILES
More information about the scribus-commit
mailing list