This commit is contained in:
Sergey Zhemoytel 2023-09-25 18:46:18 +00:00
parent cdcd61d1a3
commit b2c24c773c
2 changed files with 24 additions and 11 deletions

View file

@ -1,2 +1,3 @@
sources:
"v1.0.2.tar.gz": 4322aac381c8ca8de14771d15ea5c9052d6050be
v1.0.2.tar.gz: 4322aac381c8ca8de14771d15ea5c9052d6050be
xsettingsd-1.0.2.tar.gz: 682d0c968c45cbef80b6d0f896d9e347dc0b7c3a

View file

@ -1,14 +1,21 @@
Summary: Provides settings to X11 applications via the XSETTINGS specification
Name: xsettingsd
Version: 1.0.2
Release: 1
Group: Graphical desktop/Other
License: BSD
Url: https://github.com/derat/xsettingsd
Source0: https://github.com/derat/xsettingsd/archive/v%{version}.tar.gz
%global optflags %(echo %{optflags} | sed -e 's/-ffat-lto-objects//g' -e 's/-fvar-tracking-assignments//g' -e 's/-Wa,//g' -e 's/--compress-debug-sections//g' -e 's/-fno-devirtualize//g' )
%define _llvm_ver 16
%define _optdir /opt
%define _llvm_path %{_optdir}/llvm%{_llvm_ver}
Summary: Provides settings to X11 applications via the XSETTINGS specification
Name: xsettingsd
Version: 1.0.2
Release: 1
Group: Graphical desktop/Other
License: BSD
URL: https://github.com/derat/xsettingsd
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: scons
BuildRequires: llvm%{_llvm_ver}
BuildRequires: pkgconfig(x11)
BuildRequires: python38-devel
%description
xsettingsd is a daemon that implements the XSETTINGS specification.
@ -19,9 +26,14 @@ GTK+ applications and want to configure things such as themes, font
antialiasing/hinting, and UI sound effects.
%prep
%autosetup -p1
%setup -q
%build
export CC=%{_llvm_path}/bin/clang
export CXX=%{_llvm_path}/bin/clang++
export AR=%{_llvm_path}/bin/llvm-ar
export NM=%{_llvm_path}/bin/llvm-nm
%cmake
%make
@ -29,7 +41,7 @@ antialiasing/hinting, and UI sound effects.
%makeinstall_std -C build
%files
%doc COPYING
%doc README.md COPYING
%{_bindir}/%{name}
%{_bindir}/dump_xsettings
%{_mandir}/man1/%{name}.1.*