Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dsterba:chess
chessx
chessx-install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chessx-install.patch of Package chessx
Index: chessx-1.5.6-lw/CMakeLists.txt =================================================================== --- chessx-1.5.6-lw.orig/CMakeLists.txt +++ chessx-1.5.6-lw/CMakeLists.txt @@ -12,6 +12,11 @@ option(ENABLE_SOUNDS "Enable sounds (req option(ENABLE_TTS "Enable text-to-speech (requires Qt5::TextToSpeech)" ON) option(ENABLE_SCID_SUPPORT "Enable support for Scid database format (*.si4)" ON) +if(UNIX AND NOT APPLE) + set(LINUX TRUE) + include(GNUInstallDirs) +endif() + add_subdirectory(dep) # common definitions to use with Qt @@ -149,3 +154,10 @@ if (ENABLE_TESTING) add_subdirectory(tests/unittests) endif() +if(LINUX) + install(TARGETS chessx DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}) + install(FILES unix/chessx.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/applications) + install(FILES data/images/chessx.png DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/pixmaps) + install(DIRECTORY data DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/chessx) + install(FILES ${TRANSLATIONS_BIN_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/chessx/data/lang) +endif()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor