forked from Ultimaker/Uranium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CPackConfig.cmake
34 lines (31 loc) · 1.08 KB
/
CPackConfig.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
set(CPACK_PACKAGE_VENDOR "Ultimaker")
set(CPACK_PACKAGE_CONTACT "Arjen Hiemstra <[email protected]>")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Uranium 3D Application Framework")
set(CPACK_PACKAGE_VERSION_MAJOR 15)
set(CPACK_PACKAGE_VERSION_MINOR 05)
set(CPACK_PACKAGE_VERSION_PATCH 93)
set(CPACK_GENERATOR "DEB;RPM")
set(RPM_REQUIRES
"python3 >= 3.5.0"
"python3-qt5 >= 5.6.0"
"qt5-qtquickcontrols >= 5.6.0"
"arcus >= 15.05.90"
)
string(REPLACE ";" "," RPM_REQUIRES "${RPM_REQUIRES}")
set(CPACK_RPM_PACKAGE_REQUIRES ${RPM_REQUIRES})
set(DEB_DEPENDS
"python3 (>= 3.5.0)"
"python3-pyqt5 (>= 5.6.0)"
"python3-pyqt5.qtopengl (>= 5.6.0)"
"python3-pyqt5.qtquick (>= 5.6.0)"
"python3-pyqt5.qtsvg (>= 5.6.0)"
"qml-module-qtquick2 (>= 5.6.0)"
"qml-module-qtquick-window2 (>= 5.6.0)"
"qml-module-qtquick-layouts (>= 5.6.0)"
"qml-module-qtquick-dialogs (>= 5.6.0)"
"qml-module-qtquick-controls (>= 5.6.0)"
"arcus (>= 15.05.90)"
)
string(REPLACE ";" "," DEB_DEPENDS "${DEB_DEPENDS}")
set(CPACK_DEBIAN_PACKAGE_DEPENDS ${DEB_DEPENDS})
include(CPack)