Bundle Club Fantastic song packs in full releases
This commit is contained in:
+40
-35
@@ -1,38 +1,47 @@
|
||||
if(WITH_FULL_RELEASE)
|
||||
set(NSIS_VERSION_FINAL "${SM_VERSION_TRADITIONAL}")
|
||||
else()
|
||||
set(NSIS_VERSION_FINAL "${SM_VERSION_GIT}")
|
||||
endif()
|
||||
|
||||
set(CPACK_PACKAGE_NAME "${SM_EXE_NAME}")
|
||||
set(CPACK_PACKAGE_VENDOR "ITGmania")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Rhythm Game Simulator")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR "${SM_VERSION_MAJOR}")
|
||||
set(CPACK_PACKAGE_VERSION_MINOR "${SM_VERSION_MINOR}")
|
||||
set(CPACK_PACKAGE_VERSION_PATCH "${SM_VERSION_PATCH}")
|
||||
set(CPACK_PACKAGE_VERSION "${SM_VERSION_TRADITIONAL}")
|
||||
set(CPACK_NSIS_HELP_LINK "https://github.com/itgmania/itgmania/issues")
|
||||
set(CPACK_NSIS_PACKAGE_NAME "${SM_EXE_NAME} ${NSIS_VERSION_FINAL}")
|
||||
set(CPACK_NSIS_URL_INFO_ABOUT "https://www.itgmania.com/")
|
||||
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
|
||||
if(WITH_FULL_RELEASE)
|
||||
set(CPACK_PACKAGE_VERSION "${SM_VERSION_TRADITIONAL}")
|
||||
else()
|
||||
set(CPACK_PACKAGE_VERSION "${SM_VERSION_GIT}")
|
||||
endif()
|
||||
set(CPACK_PACKAGE_EXECUTABLES "${SM_EXE_NAME}" "ITGmania")
|
||||
set(CPACK_RESOURCE_FILE_README "${SM_ROOT_DIR}/README.md")
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${SM_CMAKE_DIR}/license_install.txt")
|
||||
set(CPACK_PACKAGE_EXECUTABLES "${SM_EXE_NAME}" "ITGmania")
|
||||
set(CPACK_NSIS_MUI_ICON "${SM_INSTALLER_DIR}/install.ico")
|
||||
set(CPACK_NSIS_MUI_UNIICON "${SM_INSTALLER_DIR}/uninstall.ico")
|
||||
set(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
|
||||
|
||||
# Custom items for nsis go here.
|
||||
set(CPACK_SM_NSIS_REPOSITORY "https://github.com/itgmania/itgmania")
|
||||
set(CPACK_SM_NSIS_ROOT_DIR "${SM_ROOT_DIR}")
|
||||
set(CPACK_SM_NSIS_PRODUCT_ID
|
||||
"ITGmania ${SM_VERSION_MAJOR}.${SM_VERSION_MINOR}")
|
||||
set(CPACK_SM_NSIS_PRODUCT_VERSION "${SM_VERSION_TRADITIONAL}.0")
|
||||
set(CPACK_SM_NSIS_HEADER_BITMAP "${SM_INSTALLER_DIR}/header-sm5.bmp")
|
||||
set(CPACK_SM_NSIS_WELCOME_BITMAP "${SM_INSTALLER_DIR}/welcome-sm5.bmp")
|
||||
set(CPACK_SM_NSIS_GIT_VERSION "${SM_VERSION_GIT}")
|
||||
|
||||
if(WIN32)
|
||||
set(CPACK_GENERATOR NSIS)
|
||||
|
||||
# By setting these install keys manually, The default directory of "StepMania
|
||||
# major.minor.patch" is lost. This is currently done to maintain backwards
|
||||
# compatibility. However, removing these two will allow for multiple versions
|
||||
# of StepMania to be installed relatively cleanly.
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "ITGmania")
|
||||
set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "ITGmania")
|
||||
set(CPACK_NSIS_EXECUTABLES_DIRECTORY "Program")
|
||||
set(CPACK_NSIS_INSTALL_ROOT "C:\\\\Games")
|
||||
|
||||
set(CPACK_NSIS_HELP_LINK "https://github.com/itgmania/itgmania/issues")
|
||||
set(CPACK_NSIS_PACKAGE_NAME "${SM_EXE_NAME} ${CPACK_PACKAGE_VERSION}")
|
||||
set(CPACK_NSIS_URL_INFO_ABOUT "https://www.itgmania.com/")
|
||||
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
|
||||
set(CPACK_NSIS_MUI_ICON "${SM_INSTALLER_DIR}/install.ico")
|
||||
set(CPACK_NSIS_MUI_UNIICON "${SM_INSTALLER_DIR}/uninstall.ico")
|
||||
set(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
|
||||
|
||||
# Custom items for nsis go here.
|
||||
set(CPACK_SM_NSIS_REPOSITORY "https://github.com/itgmania/itgmania")
|
||||
set(CPACK_SM_NSIS_ROOT_DIR "${SM_ROOT_DIR}")
|
||||
set(CPACK_SM_NSIS_PRODUCT_ID "ITGmania ${SM_VERSION_MAJOR}.${SM_VERSION_MINOR}")
|
||||
set(CPACK_SM_NSIS_PRODUCT_VERSION "${SM_VERSION_TRADITIONAL}.0")
|
||||
set(CPACK_SM_NSIS_HEADER_BITMAP "${SM_INSTALLER_DIR}/header-sm5.bmp")
|
||||
set(CPACK_SM_NSIS_WELCOME_BITMAP "${SM_INSTALLER_DIR}/welcome-sm5.bmp")
|
||||
set(CPACK_SM_NSIS_GIT_VERSION "${SM_VERSION_GIT}")
|
||||
|
||||
# The header and welcome bitmaps require backslashes.
|
||||
string(REGEX
|
||||
REPLACE "/"
|
||||
@@ -44,16 +53,12 @@ if(WIN32)
|
||||
"\\\\\\\\"
|
||||
CPACK_SM_NSIS_WELCOME_BITMAP
|
||||
"${CPACK_SM_NSIS_WELCOME_BITMAP}")
|
||||
|
||||
set(CPACK_PACKAGE_FILE_NAME "${SM_EXE_NAME}-${NSIS_VERSION_FINAL}-win32")
|
||||
# By setting these install keys manually, The default directory of "StepMania
|
||||
# major.minor.patch" is lost. This is currently done to maintain backwards
|
||||
# compatibility. However, removing these two will allow for multiple versions
|
||||
# of StepMania to be installed relatively cleanly.
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "ITGmania")
|
||||
set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "ITGmania")
|
||||
set(CPACK_NSIS_EXECUTABLES_DIRECTORY "Program")
|
||||
set(CPACK_NSIS_INSTALL_ROOT "C:\\\\Games")
|
||||
elseif(MACOSX)
|
||||
set(CPACK_GENERATOR DragNDrop)
|
||||
set(CPACK_DMG_VOLUME_NAME "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION}")
|
||||
set(CPACK_DMG_FORMAT ULMO) # lzma-compressed image
|
||||
else()
|
||||
set(CPACK_GENERATOR TGZ TXZ STGZ)
|
||||
endif()
|
||||
|
||||
include(CPack)
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
LICENSE
|
||||
=======
|
||||
|
||||
StepMania's source code and resulting binary is licensed under the MIT license. Go to http://opensource.org/licenses/MIT for more information.
|
||||
ITGmania's source code and resulting binary is licensed under the MIT license. Go to http://opensource.org/licenses/MIT for more information.
|
||||
|
||||
A few sample songs were provided that can be distributed. They are under the CC-NC (Creative Commons Non-Commercial) license. Go to https://creativecommons.org/ for more information.
|
||||
The 'StepMania 5' folder contains a few sample songs that can be distributed. They are under the CC-NC (Creative Commons Non-Commercial) license. Go to https://creativecommons.org/ for more information.
|
||||
|
||||
The copyright for songs in the 'Club Fantastic' folders rests with the original authors. The content is explicitly NOT placed under a Creative Commons license (or similar license), but has been provided free of charge, for personal or public use, including online broadcasting, tournaments, and other purposes. Go to https://www.clubfantastic.com/ for more information.
|
||||
|
||||
The FFMPEG codes (see https://www.ffmpeg.org/ for more) and the MAD library (see http://www.underbit.com/products/mad/ for more) use the GPL license. Go to http://www.gnu.org for more information.
|
||||
|
||||
Reference in New Issue
Block a user