From 447ab8176105c8e708fe0bb8fdd1f0dc69dc8eca Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 12 Nov 2025 20:28:21 -0800 Subject: [PATCH] add: Ueberzugpp (#7323) (#7328) --- anda/tools/ueberzugpp/anda.hcl | 5 +++ anda/tools/ueberzugpp/ueberzugpp.spec | 57 +++++++++++++++++++++++++++ anda/tools/ueberzugpp/update.rhai | 1 + 3 files changed, 63 insertions(+) create mode 100644 anda/tools/ueberzugpp/anda.hcl create mode 100644 anda/tools/ueberzugpp/ueberzugpp.spec create mode 100644 anda/tools/ueberzugpp/update.rhai diff --git a/anda/tools/ueberzugpp/anda.hcl b/anda/tools/ueberzugpp/anda.hcl new file mode 100644 index 0000000000..55c968338f --- /dev/null +++ b/anda/tools/ueberzugpp/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ueberzugpp.spec" + } +} diff --git a/anda/tools/ueberzugpp/ueberzugpp.spec b/anda/tools/ueberzugpp/ueberzugpp.spec new file mode 100644 index 0000000000..fb9e852d99 --- /dev/null +++ b/anda/tools/ueberzugpp/ueberzugpp.spec @@ -0,0 +1,57 @@ +Name: ueberzugpp +Version: 2.9.8 +Release: 1%?dist +License: GPL-3.0 +Summary: Drop in replacement for ueberzug written in C++ +URL: https://github.com/jstkdng/%{name} +Source: %{url}/archive/v%{version}.tar.gz +Packager: metcya + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(vips) +BuildRequires: pkgconfig(libsixel) +BuildRequires: pkgconfig(chafa) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(tbb) +BuildRequires: pkgconfig(nlohmann_json) +BuildRequires: cli11-devel +BuildRequires: pkgconfig(spdlog) +BuildRequires: pkgconfig(fmt) +BuildRequires: range-v3-devel +BuildRequires: pkgconfig(opencv) +BuildRequires: xcb-util-image-devel +BuildRequires: wayland-devel +BuildRequires: wayland-protocols-devel +BuildRequires: extra-cmake-modules + +%description +Überzug++ is a command line utility written in C++ which allows to draw images +on terminals by using X11/wayland child windows, sixels, kitty and iterm2. + +%prep +%autosetup + +%build +%cmake . -DENABLE_WAYLAND=ON \ + -DENABLE_XCB_ERROR=ON +%cmake_build + +%install +%cmake_install + +%files +%doc README.md +%doc CODE_OF_CONDUCT.md +%license LICENSE +%{_bindir}/ueberzug +%{_bindir}/ueberzugpp +%{_mandir}/man1/ueberzug.1* +%{_mandir}/man1/ueberzugpp.1* + +%check +%ctest + +%changelog +* Tue Nov 11 2025 metcya +- Package ueberzugpp diff --git a/anda/tools/ueberzugpp/update.rhai b/anda/tools/ueberzugpp/update.rhai new file mode 100644 index 0000000000..d84bab31dc --- /dev/null +++ b/anda/tools/ueberzugpp/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("jstkdng/ueberzugpp"));