Skip to content

Commit

Permalink
Configure CPack
Browse files Browse the repository at this point in the history
  • Loading branch information
matinlotfali committed Feb 28, 2022
1 parent 014e687 commit 552ec37
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CMake

on:
push:
branches: [ master, latest-shapecorners-code, kwin_5.23 ]
branches: [ master, latest-shapecorners-code, kwin_5.23, kwin_5.24 ]
pull_request:
branches: [ master ]

Expand Down
12 changes: 12 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,15 @@ kcoreaddons_desktop_to_json(kwin4_shapecorners_config shapecorners_config.deskto
install(TARGETS kwin4_shapecorners_config DESTINATION ${MODULEPATH}/kwin/effects/configs)
install(FILES shapecorners_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kwin)

# these are cache variables, so they could be overwritten with -D,
set(CPACK_PACKAGE_NAME kwin4-effect-shapecorners
CACHE STRING kwin4-effect-shapecorners
)
set(CPACK_DEBIAN_FILE_NAME "kwin4-effect-shapecorners-kubuntu2004-amd64.deb")
set(CPACK_PACKAGE_CONTACT "matinlotfali@gmail.com")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Matin Lotfaliei")

# autogenerate dependency information
set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)

include(CPack)

0 comments on commit 552ec37

Please sign in to comment.