r21481 by craig - #14273: tweak .desktop and .appdata.xml according to -DCUSTOM_VERSIONTAG <mapreri>

scribus-commit scribus-commit at lists.scribus.net
Sun Oct 30 19:46:31 UTC 2016


Author: craig
Date: Sun Oct 30 19:46:31 2016
New Revision: 21481

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21481
Log:
#14273: tweak .desktop and .appdata.xml according to -DCUSTOM_VERSIONTAG <mapreri>

Added:
    trunk/Scribus/scribus.appdata.xml.in
    trunk/Scribus/scribus.desktop.in
Modified:
    trunk/Scribus/CMakeLists.txt
    trunk/Scribus/resources/spell_dicts/

Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21481&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt	(original)
+++ trunk/Scribus/CMakeLists.txt	Sun Oct 30 19:46:31 2016
@@ -1019,22 +1019,33 @@
 ENDIF (APPLE)
 
 #Install the .desktop file
+CONFIGURE_FILE(
+	${CMAKE_CURRENT_SOURCE_DIR}/scribus.desktop.in
+	${CMAKE_CURRENT_SOURCE_DIR}/scribus.desktop
+)
 INSTALL(FILES
 	scribus.desktop
+	RENAME scribus${TAG_VERSION}.desktop
 	DESTINATION ${DESKTOPDIR}
 )
 
 #Install our MIME data
 INSTALL(FILES
 	scribus.xml
+	RENAME scribus${TAG_VERSION}.xml
 	DESTINATION ${MIMEDIR}
 )
 
 
 #Install the appdata file
+CONFIGURE_FILE(
+	${CMAKE_CURRENT_SOURCE_DIR}/scribus.appdata.xml.in
+	${CMAKE_CURRENT_SOURCE_DIR}/scribus.appdata.xml
+)
 INSTALL(FILES
-scribus.appdata.xml
-DESTINATION ${APPDATADIR}
+	scribus.appdata.xml
+	RENAME scribus${TAG_VERSION}.appdata.xml
+	DESTINATION ${APPDATADIR}
 )
 
 




More information about the scribus-commit mailing list