blob: 1002a2d211b405bdb9e23efc581dbb26da45387d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
Name: chr
Version: 0.1.81
Release: %autorelease
Summary: Terminal editor inspired by the Turbo Pascal editor
%global forgeurl https://github.com/chr-editor/chr
%forgemeta
License: Boost
URL: %{forgeurl}
Source0: %{forgeurl}/releases/download/%{version}/chr-%{version}.tar.gz
Patch0: 0001-tests-readWrite-Fix-memory-leak.patch
BuildRequires: meson
BuildRequires: gcc-c++
BuildRequires: pkgconfig(Qt6Core) pkgconfig(Qt6Concurrent)
BuildRequires: pkgconfig(TuiWidgetsQt6)
BuildRequires: pkgconfig(PosixSignalManagerQt6)
BuildRequires: cmake(KF6SyntaxHighlighting)
BuildRequires: pkgconfig(catch2)
%description
The chr terminal editor is inspired by the turbo pascal editor using Turbo
Vision from the year 1997. For the keyboard shortcut he should be similar
gedit, to facilitate the transition from desktop to console editor.
%prep
%forgeautosetup -p1
rm -rf third-party/catch2
%build
%meson -Dsystem-catch2=enabled -Dsyntax_highlighting=true -Dqt=qt6
%meson_build
%install
%meson_install
%check
%meson_test
%files
%doc README.md
%license COPYING AUTHORS
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_mandir}/de/man1/%{name}.1*
%changelog
%autochangelog
|