Add check section for desktop-file-validate and meson tests
The package doesn't have any meson self tests, but it doesn't hurt to hook them up in case they appear in the future.
This commit is contained in:
parent
2f7fd6256c
commit
8a1cb9adf6
@ -16,6 +16,7 @@ BuildRequires: pkgconfig(gtk4-wayland)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: /usr/bin/desktop-file-validate
|
||||
|
||||
%description
|
||||
Tecla is a keyboard layout viewer. It uses GTK/Libadwaita for UI, and
|
||||
@ -35,6 +36,11 @@ libxkbcommon to deal with keyboard maps.
|
||||
%meson_install
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Tecla.desktop
|
||||
%meson_test
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc NEWS README.md
|
||||
|
Loading…
Reference in New Issue
Block a user