From 0eea2a2cbaa9bc58da9d69d125393885b1d5feb8 Mon Sep 17 00:00:00 2001 From: infinitebash Date: Sat, 3 Feb 2024 14:07:33 -0600 Subject: [PATCH] todo: dracut specific things --- anda/system/unl0kr/unl0kr.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/anda/system/unl0kr/unl0kr.spec b/anda/system/unl0kr/unl0kr.spec index da99630343..257fed7097 100644 --- a/anda/system/unl0kr/unl0kr.spec +++ b/anda/system/unl0kr/unl0kr.spec @@ -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 +- Initial package %autochangelog