Make CPack information more NSIS-friendly.

1. It's wont process UTF-8 correctly, so let's cripple my name.
2. Add a project URL, again in a crippled format.
This commit is contained in:
Přemysl Eric Janouch 2011-02-08 00:38:44 +01:00
parent da34bbb3bb
commit 93bac99a10

View File

@ -284,7 +284,7 @@ endif (WIN32)
# CPack
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Schematic editor")
set (CPACK_PACKAGE_VENDOR "Přemysl Janouch")
set (CPACK_PACKAGE_VENDOR "Premysl Janouch")
set (CPACK_PACKAGE_CONTACT "p.janouch@gmail.com")
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set (CPACK_PACKAGE_VERSION_MAJOR ${project_VERSION_MAJOR})
@ -308,6 +308,9 @@ set (CPACK_NSIS_CREATE_ICONS_EXTRA
set (CPACK_NSIS_DELETE_ICONS_EXTRA
"Delete '\$SMPROGRAMS\\\\$MUI_TEMP\\\\logdiag.lnk'")
string (REPLACE "http://" "http:\\\\\\\\" project_URL_NSIS "${project_URL}")
set (CPACK_NSIS_URL_INFO_ABOUT "${project_URL_NSIS}")
set (CPACK_DEBIAN_PACKAGE_DEPENDS
"libgtk2.0-0 (>= 2.12), libjson-glib-1.0-0 (>= 0.10.4), liblua5.1-0, librsvg2-common")
set (CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS