Can you replace the dependencies wxwidgets-common and wxwidgets-gtk3 with wxwidgets only?
This would allow to either select wxwidgets-gtk3 or wxwidgets-qt5 depending on which desktop environment is used.
I tested it locally with makepkg and it seems to work.
Edit: I just realized that I manually had to create a symlink from /usr/bin/wx-config to /usr/bin/wx-config-qt to make the build work. Not sure how to solve this :(
Edit2: I created a pull request to fix this: https://github.com/espanso/espanso/pull/1918
Pinned Comments
carsme commented on 2024-01-21 08:25 (UTC)
NOTICE: The standalone
espanso-wayland
package has been merged into this pkgbase, which now builds two distinct packages:espanso-x11
: Espanso built for X11, replaces the formerespanso
package.espanso-wayland
: Espanso built for Wayland, identical to the former standaloneespanso-wayland
package.This change simplifies maintenance and ensures the packages are kept in sync. It does however incur slightly longer build times, as Espanso is compiled twice during the build process.
Your AUR helper will hopefully handle the upgrade/migration automatically.
Let me know if you encounter any issues.