-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a73359
commit 88df7f6
Showing
1 changed file
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# Packaging | ||
set(CPACK_PACKAGE_NAME "LemonLime") | ||
set(CPACK_PACKAGE_VENDOR "Coelacanthus") | ||
set(CPACK_PACKAGE_VERSION ${VERSION_STRING}) | ||
set(CPACK_PACKAGE_VENDOR "Project LemonLime Developers") | ||
set(CPACK_PACKAGE_DESCRIPTION "A tiny judging environment for OI contest based on Lemon + LemonPlus.") | ||
set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/Project-LemonLime/Project_LemonLime") | ||
set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/assets/lemon-lime.ico") | ||
|
@@ -18,8 +17,7 @@ if(UNIX) | |
if(BUILD_DEB) | ||
set(CPACK_GENERATOR "DEB") | ||
set(CPACK_DEBIAN_PACKAGE_NAME "LemonLime") | ||
set(CPACK_PACKAGE_CONTACT "[email protected]") | ||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Coelacanthus") | ||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Project LemonLime Developers") | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "qtbase5-dev, qttools5-dev, libspdlog") | ||
endif() | ||
|
||
|
@@ -28,14 +26,13 @@ if(UNIX) | |
#set(CPACK_RPM_USER_BINARY_SPECFILE "${CMAKE_CURRENT_BINARY_DIR}/lemonlime.spec") | ||
set(CPACK_GENERATOR "RPM") | ||
set(CPACK_RPM_PACKAGE_NAME "LemonLime") | ||
set(CPACK_PACKAGE_CONTACT "[email protected]") | ||
set(CPACK_RPM_PACKAGE_VENDOR "Coelacanthus") | ||
set(CPACK_RPM_PACKAGE_VENDOR "Project LemonLime Developers") | ||
if(LSB_RELEASE_ID_SHORT EQUAL "openSUSE") | ||
set(CPACK_RPM_BUILDREQUIRES "cmake >= 3.9, libqt5-qtbase-common-devel >= 5.15, libQt5Core-devel, libQt5Gui-devel, libQt5Network-devel, libQt5Widgets-devel, libQt5Concurrent-devel, libqt5-linguist-devel, libqt5-qtsvg-devel, update-desktop-files, ninja, spdlog-devel") | ||
else() | ||
set(CPACK_RPM_BUILDREQUIRES "cmake >= 3.9, qt5-qtbase-devel >= 5.15, qt5-linguist, qt5-qtsvg-devel, desktop-file-utils, ninja-build, spdlog") | ||
endif() | ||
set(CPACK_RPM_PACKAGE_LICENSE "GPL3") | ||
set(CPACK_RPM_PACKAGE_LICENSE "GPL-3.0-or-later") | ||
endif() | ||
endif() | ||
|
||
|