-
Notifications
You must be signed in to change notification settings - Fork 0
/
compton-conf.spec
89 lines (66 loc) · 2.61 KB
/
compton-conf.spec
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
%global commit 9a013cd28ae13c848ab0de267067aad526d2cc7d
%global commit_short %(c=%{commit}; echo ${c:0:7})
Name: compton-conf
Version: 0.4.0
Release: 3.%{commit_short}%{?dist}
Summary: GUI configuration tool for compton
License: LGPL-2.1+
Group: User Interface/X
URL: https://github.com/lxde/%{name}
Source0: https://github.com/lxde/%{name}/archive/%{commit}.tar.gz#/%{name}-%{version}-%{commit_short}.tar.gz
BuildRequires: cmake
BuildRequires: git
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(libconfig)
BuildRequires: pkgconfig(lxqt)
Requires: compton
Requires(post): desktop-file-utils
Requires(pre): desktop-file-utils
%description
%{name} is a configuration tool for X composite manager Compton.
%prep
%autosetup -n %{name}-%{commit}
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_lxqt} ..
popd
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
# Enable compton by default for a smoother desktop experience.
# This also stops LXQt start problems (when loggin in) when using VC4
desktop-file-edit --set-key=Hidden --set-value=false \
%{buildroot}%{_sysconfdir}/xdg/autostart/lxqt-compton.desktop
%files
%doc AUTHORS COPYING README.md compton.conf.example
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/%{name}
%{_sysconfdir}/xdg/autostart/*.desktop
%changelog
* Fri Nov 30 2018 Vaughan <devel at agrez dot net> - 0.4.0-3.9a013cd
- Fix autostart
* Fri Nov 16 2018 Vaughan <devel at agrez dot net> - 0.4.0-2.9a013cd
- Enable compton by default
* Sat Nov 10 2018 Vaughan <devel at agrez dot net> - 0.4.0-1.9a013cd
- New release
- Update to git commit: 9a013cd28ae13c848ab0de267067aad526d2cc7d
* Fri Aug 11 2017 Vaughan <devel at agrez dot net> - 0.2.1-3.786ad3f
- Fix autostart desktop file
* Tue Jul 25 2017 Vaughan <devel at agrez dot net> - 0.2.1-2.786ad3f
- Update to git commit: 786ad3fae93a4ba1efb3c76e239fddd1f604a30d
* Tue Feb 14 2017 Vaughan <devel at agrez dot net> - 0.2.1-1.5603f30
- New release
- Update to git commit: 5603f30b447357964be065eb05ae35e39745a302
* Sun Oct 16 2016 Vaughan <devel at agrez dot net> - 0.2.0-1.e71ee4c
- New release (git commit e71ee4c9a6e3a3b579543bb0e6d969b585ff3209)
- Add Buildrequires: git
* Wed Sep 14 2016 Vaughan <devel at agrez dot net> - 0.1.0-1.c6d6efb
- Initial package
- Git commit: c6d6efbe40995a7d8ef44a89e17a547836008757