add: xcur2png (#8337) (#8358)

(cherry picked from commit 961f97cb62)

Co-authored-by: metcya <134973769+metcya@users.noreply.github.com>
This commit is contained in:
Raboneko
2025-12-14 00:20:41 -08:00
committed by GitHub
parent 4c12a88c4e
commit 1946addca3
3 changed files with 44 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "xcur2png.spec"
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("eworm-de/xcur2png"));
+38
View File
@@ -0,0 +1,38 @@
%global _distro_extra_cflags -Wno-parenthesis -Wno-implicit-int
Name: xcur2png
Version: 0.7.1
Release: 1%{?dist}
License: GPL-3.0-or-later
Summary: Convert X cursors to PNG images
URL: https://github.com/eworm-de/xcur2png
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz
Packager: Metcya <metcya@gmail.com>
BuildRequires: gcc
BuildRequires: make
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(xcursor)
%description
xcur2png is a program which let you take PNG image from X cursor, and generate config-file which is reusable by xcursorgen. To put it simply, it is converter from X cursor to PNG image.
%prep
%autosetup
%build
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc AUTHORS INSTALL NEWS README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*
%changelog
* Sat Dec 13 2025 Metcya <metcya@gmail.com> - 0.7.1
- package xcur2png