adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
2aeb78e24d
commit
ea4cd1ddc0
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: kde-connect
|
Name: kde-connect
|
||||||
Version: 23.08.5
|
Version: 23.08.5
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: KDE Connect client for communication with smartphones
|
Summary: KDE Connect client for communication with smartphones
|
||||||
|
|
||||||
@ -128,16 +128,14 @@ Supplements: (kdeconnectd and nautilus)
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake_kf5} \
|
||||||
pushd %{_target_platform}
|
|
||||||
%{cmake_kf5} .. \
|
|
||||||
%{?bluetooth:-DBLUETOOTH_ENABLED:BOOL=ON}
|
%{?bluetooth:-DBLUETOOTH_ENABLED:BOOL=ON}
|
||||||
popd
|
|
||||||
%make_build -C %{_target_platform}
|
%{cmake_build}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
|
|
||||||
%find_lang %{name} --all-name --with-html
|
%find_lang %{name} --all-name --with-html
|
||||||
desktop-file-edit --remove-key=OnlyShowIn %{buildroot}%{_sysconfdir}/xdg/autostart/org.kde.kdeconnect.daemon.desktop
|
desktop-file-edit --remove-key=OnlyShowIn %{buildroot}%{_sysconfdir}/xdg/autostart/org.kde.kdeconnect.daemon.desktop
|
||||||
@ -196,6 +194,9 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 19 2024 ChenYanpan <chenyanpan@xfusion.com> - 23.08.5-2
|
||||||
|
- adapt to the new CMake macros to fix build failure
|
||||||
|
|
||||||
* Mon Mar 18 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.5-1
|
* Mon Mar 18 2024 peijiankang <peijiankang@kylinos.cn> - 23.08.5-1
|
||||||
- update verison to 23.08.5
|
- update verison to 23.08.5
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user