mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
41671ad82c
* update
* update
* testit
* Revert "testit"
This reverts commit b1cc645161
.
* update schema
* update
* add adjustment to serverinfo
* remove Adjustbool
* remove v4l2only
* fix json check for create effect
* update deb
* update
* update remote adjust
* update
* add eff schemas
33 lines
1.6 KiB
CMake
33 lines
1.6 KiB
CMake
# cmake file for generating distribution packages
|
|
|
|
SET ( CPACK_GENERATOR "DEB" "TGZ" "STGZ" ) # "RPM"
|
|
|
|
SET ( CPACK_PACKAGE_NAME "hyperion" )
|
|
SET ( CPACK_PACKAGE_DESCRIPTION_SUMMARY "Hyperion is an open source ambient light implementation" )
|
|
SET ( CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md" )
|
|
SET ( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE" )
|
|
|
|
SET ( CPACK_DEBIAN_PACKAGE_MAINTAINER "Hyperion Team")
|
|
SET ( CPACK_DEBIAN_PACKAGE_NAME "Hyperion" )
|
|
SET ( CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/cmake/debian/postinst;${CMAKE_CURRENT_SOURCE_DIR}/cmake/debian/preinst" )
|
|
SET ( CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://www.hyperion-project.org" )
|
|
SET ( CPACK_DEBIAN_PACKAGE_DEPENDS "libqt5core5a (>= 5.2.0), libqt5network5 (>= 5.2.0), libqt5gui5 (>= 5.2.0), libqt5serialport5 (>= 5.2.0), libavahi-core7 (>= 0.6.31), libavahi-compat-libdnssd1 (>= 0.6.31), libusb-1.0-0, libpython2.7, libc6" )
|
|
SET ( CPACK_DEBIAN_PACKAGE_SECTION "Miscellaneous" )
|
|
|
|
SET ( CPACK_RPM_PACKAGE_NAME "Hyperion" )
|
|
SET ( CPACK_RPM_PACKAGE_URL "https://github.com/hyperion-project/hyperion" )
|
|
SET ( CPACK_RPM_POST_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/rpm/postinst" )
|
|
|
|
SET(CPACK_PACKAGE_VERSION_MAJOR "${HYPERION_VERSION_MAJOR}")
|
|
SET(CPACK_PACKAGE_VERSION_MINOR "${HYPERION_VERSION_MINOR}")
|
|
SET(CPACK_PACKAGE_VERSION_PATCH "${HYPERION_VERSION_PATCH}")
|
|
|
|
SET ( CPACK_COMPONENTS_ALL "${PLATFORM}" )
|
|
SET ( CPACK_ARCHIVE_COMPONENT_INSTALL ON )
|
|
SET ( CPACK_DEB_COMPONENT_INSTALL ON )
|
|
SET ( CPACK_RPM_COMPONENT_INSTALL ON )
|
|
SET ( CPACK_STRIP_FILES ON )
|
|
|
|
# no code after following line!
|
|
INCLUDE ( CPack )
|