Skip to content

Commit

Permalink
Fix: Compatibility with Qt5 + CPack configuration in CMakeLists + bum…
Browse files Browse the repository at this point in the history
…p versions/cleanup files (diasurgical#117)
  • Loading branch information
tetektoza authored and pionere committed Oct 20, 2023
1 parent 9fc709b commit 0410744
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,15 @@ if(CPACK AND CMAKE_SYSTEM_NAME STREQUAL "Linux")

# -G DEB
set(CPACK_PACKAGE_CONTACT "${PROJECT_NAME} https://github.com/pionere/d1-graphics-tool")
set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/pionere/d1-graphics-tool")
set(CPACK_PACKAGE_DESCRIPTION "Diablo 1 Graphics Tool to manipulate asset files (CEL/CL2/DUN etc.) of Diablo 1.")
#set(CPACK_DEBIAN_PACKAGE_SECTION "graphics")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
#if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
# set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt6widgets6 (>= 6.2.4), qt6-qpa-plugins (>= 6.2.4)")
#else()
# set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt5widgets5 (>= 5.15.0)")
#endif()
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)

# -G RPM
Expand Down
10 changes: 0 additions & 10 deletions debian/DEBIAN/control

This file was deleted.

17 changes: 0 additions & 17 deletions resources/nix/build-deb.sh

This file was deleted.

0 comments on commit 0410744

Please sign in to comment.