From fb1ad2ba06ff7ab68053182199ad3347c58ad1d8 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Mon, 20 Apr 2020 10:57:27 +0800 Subject: [PATCH] misc: cpack info for debian package --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b892fc5..2c4c847 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,7 +133,7 @@ install ( # CPACK: General Settings set (CPACK_GENERATOR "TBZ2") -set (CPACK_PACKAGE_NAME "PineapplePictures") +set (CPACK_PACKAGE_NAME "pineapple-pictures") set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Yet another image viewer") set (CPACK_PACKAGE_VENDOR "Gary Wang") set (CPACK_PACKAGE_CONTACT "https://github.com/BLumia/PineapplePictures/issues/") @@ -142,7 +142,9 @@ if (WIN32) elseif (APPLE) # ... elseif (UNIX) - set(CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}") + set (CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}") + set (CPACK_DEBIAN_PACKAGE_DEPENDS "libqt5svg5") + set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins") endif() include(CPack)