mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-07 12:22:19 +00:00
todo: dracut specific things
This commit is contained in:
@@ -6,35 +6,40 @@ Summary: Disk unlocker for the initramfs based on LVGL.
|
||||
License: GPL-v3.0
|
||||
URL: https://gitlab.com/postmarketOS/buffybox
|
||||
|
||||
BuildRequires: pkgconfig(inih) pkgconfig(libinput) pkgconfig(libudev) pkgconfig(xkbcommon) git
|
||||
Requires: kernel
|
||||
BuildRequires: pkgconfig(inih) pkgconfig(libinput) pkgconfig(libudev) pkgconfig(xkbcommon) pkgconfig(libdrm) pkgconfig(scdoc) git meson gcc
|
||||
Requires: inih libxkbcommon libinput systemd libdrm cryptsetup
|
||||
Conflicts: osk-sdl
|
||||
|
||||
%description
|
||||
|
||||
Unl0kr is an osk-sdl clone written in LVGL and rendering directly to the Linux framebuffer. As a result, it doesn't depend on GPU hardware acceleration.
|
||||
|
||||
%prep
|
||||
git clone --recursive --shallow-submodules --branch unl0kr-%version %url.git .
|
||||
|
||||
|
||||
%build
|
||||
%meson/
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
mv _build/unl0kr %{buildroot}/%{_bindir}/unl0kr
|
||||
chmod 755 %{buildroot}%{_bindir}/unl0kr
|
||||
%meson_install
|
||||
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc doc/*
|
||||
%{buildroot}%{_bindir}/unl0kr
|
||||
%{_bindir}/unl0kr
|
||||
%{_sysconfdir}/unl0kr.conf
|
||||
%{_mandir}/man1/unl0kr.1.gz
|
||||
%{_mandir}/man5/unl0kr.conf.5.gz
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 2 2024 infinitebash <infinitebash@fyralabs.com>
|
||||
- Initial package
|
||||
%autochangelog
|
||||
|
||||
Reference in New Issue
Block a user