Skycoder42 / QHotkey

A global shortcut/hotkey for Desktop Qt-Applications
BSD 3-Clause "New" or "Revised" License
548 stars 161 forks source link

CPack instructions to build Debian package #72

Closed Cuperino closed 2 years ago

Cuperino commented 2 years ago

WIth these instructions, one can use CMake's CPack to generate a Debian package compatible with Debian 11 and derivative distributions. This is convenient for use in software that dynamically links to QHotkey.

To create a Debian package, run cmake and make, followed by:

cpack -G DEB

The resulting file uses the following naming convention: libqhotkey-version-os-architecture.deb

I've added myself as package vendor and contact, but anyone's free to take the reigns. I've never submitted software to Debian before, as I try to stick to universal packages, but libraries such as this one are the kind of software that is good to have in repos.

Shatur commented 2 years ago

Thanks!

Cuperino commented 2 years ago

Happy to contribute!