diff --git a/srcpkgs/ueberzugpp/template b/srcpkgs/ueberzugpp/template new file mode 100644 index 00000000000000..e88b25e23103d9 --- /dev/null +++ b/srcpkgs/ueberzugpp/template @@ -0,0 +1,24 @@ +# Template file for 'ueberzugpp' +pkgname=ueberzugpp +version=2.9.10 +revision=1 +build_style=cmake +configure_args="$(vopt_if opencv " -DENABLE_OPENCV=ON" " -DENABLE_OPENCV=OFF")$(vopt_if x11 " -DENABLE_X11=ON" " -DENABLE_X11=OFF")$(vopt_if x11 " -DENABLE_WAYLAND=ON" " -DENABLE_WAYLAND=OFF")" +hostmakedepends="cmake extra-cmake-modules pkg-config $(vopt_if wayland wayland-devel)" +makedepends=" +openssl-devel libvips-devel libsixel-devel chafa-devel tbb-devel +fmt-devel xcb-util-image-devel spdlog json-c++ range-v3 cli11 +$(vopt_if opencv libopencv-devel) +$(vopt_if x11 libX11-devel) +$(vopt_if wayland "libwaylandpp-devel wayland-protocols")" +short_desc="Drop in replacement for ueberzug written in C++" +maintainer="JudahJL " +license="GPL-3.0-or-later" +homepage="https://github.com/jstkdng/ueberzugpp/" +distfiles="https://github.com/jstkdng/ueberzugpp/archive/refs/tags/v${version}.tar.gz" +checksum=225b74ae3c71fd7d6dbd8b3a1740dacda95c40146a4fd00c792e4f18f200854d +conflicts="ueberzug" +make_check=no # doesn't include a test suite + +build_options="opencv x11 wayland" +build_options_default="opencv x11 wayland"