diff --git a/CMakeLists.txt b/CMakeLists.txt index cdd698cf..19c97e8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/debian/DEBIAN/control b/debian/DEBIAN/control deleted file mode 100644 index bb7f391a..00000000 --- a/debian/DEBIAN/control +++ /dev/null @@ -1,10 +0,0 @@ -Package: d1-graphics-tool -Version: 0.5.0 -Architecture: amd64 -Maintainer: Anders Jenbo -Installed-Size: 444 -Depends: libqt6widgets6 (>= 6.2.4), qt6-qpa-plugins (>= 6.2.4) -Section: graphics -Priority: optional -Homepage: https://github.com/savagesteel/d1-graphics-tool -Description: Diablo 1 Graphics Tool can open CEL/CL2 graphics files and display them with chosen color palette (PAL) and color translation (TRN) files. diff --git a/resources/nix/build-deb.sh b/resources/nix/build-deb.sh deleted file mode 100644 index ffb34afd..00000000 --- a/resources/nix/build-deb.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Copy latest release build -mkdir -p debian/usr/bin/ -cp build/D1GraphicsTool debian/usr/bin/ -# Strip symbols -strip -s debian/usr/bin/D1GraphicsTool - -# Copy short cut icon -mkdir -p debian/opt/d1-graphics-tool/ -cp resources/icon.svg debian/opt/d1-graphics-tool/ - -# Build .deb package -dpkg-deb --build debian - -# Rename package -mv debian.deb d1-graphics-tool.deb