From 9bdb3e6a1ab19da7895f56508083b59499bd3c0b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 23 Mar 2025 21:47:24 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.5.0-1mamba;Sun Mar 23 2025] --- README.md | 2 ++ libliftoff.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 libliftoff.spec diff --git a/README.md b/README.md index 01d9c2d..d1b1e00 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libliftoff +libliftoff eases the use of KMS planes from userspace without standing in your way. Users create "virtual planes" called layers, set KMS properties on them, and libliftoff will pick hardware planes for these layers if possible. + diff --git a/libliftoff.spec b/libliftoff.spec new file mode 100644 index 0000000..739e9a0 --- /dev/null +++ b/libliftoff.spec @@ -0,0 +1,57 @@ +Name: libliftoff +Version: 0.5.0 +Release: 1mamba +Summary: Lightweight KMS plane library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.freedesktop.org/emersion/libliftoff +Source: https://gitlab.freedesktop.org/emersion/libliftoff.git/v%{version}/libliftoff-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdrm-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +libliftoff eases the use of KMS planes from userspace without standing in your way. Users create "virtual planes" called layers, set KMS properties on them, and libliftoff will pick hardware planes for these layers if possible. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libliftoff.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%{_includedir}/libliftoff.h +%{_libdir}/libliftoff.so +%{_libdir}/pkgconfig/libliftoff.pc +%doc README.md + +%changelog +* Sun Mar 23 2025 Silvan Calarco 0.5.0-1mamba +- package created using the webbuild interface