Skip to content

For Package Maintainers

Jackson Huff edited this page May 17, 2023 · 2 revisions

Thanks for packaging the Clipboard Project! ๐Ÿ‘‹

Here's some useful information so that you can make your CB packages the best they can be.

Name

See if you can use "clipboard" as the package name. If that isn't available, use "cb" instead. If "cb" isn't available, then contact the authors to find a suitable alternative.

Description

On GitHub, we give CB an almost ridiculous description to grab your attention. However, this is not necessary in packaging systems. So, you can use "Cut, copy, and paste anything in your terminal" as the package description if needed.

Dependencies

As of CB 0.7.1, the only hard dependencies are CMake and a compiler with C++20 support. This version requires at least CMake 3.16 and GCC 11 or Clang 14. For X11 support, all extra that is needed is libx11. For Wayland, because the protocols aren't as mature as X11, we need the Wayland Protocols tools in addition to libwayland.

Artifacts

As of 0.7.1, CMake builds the cb executable on non-Windows systems, and cb.exe on Windows. For X11, it also builds the dynamically loadable library libcbx11.so, and libcbwayland.so for Wayland.