[aur-general] packaging question for optional-wayland optional-xorg package

todd freed todd.freed at gmail.com
Sun Oct 17 04:52:15 UTC 2021


Hello,

First-time AUR packager here. I am working on a PKGBUILD for a program
that optionally supports wayland, and optionally supports xorg.

When you configure the program, you specify one, the other, or both,
of --enable-wayland and --enable-xorg. Specifying either option
implies a build-time and a run-time dependency on the relevant client
libraries.

I could build a single package with dependencies on both, but I
suspect most wayland users would want the wayland-only package, and
vice-versa for xorg.

Is this a use-case for split-package? Trying not to overcomplicate things.

Thanks.

-hossbeast


More information about the aur-general mailing list