!17 fixed kf5-khtml build failure in openEuler-24.03-LTS-SP1:epol
From: @chenyanpanX Reviewed-by: @misaka00251 Signed-off-by: @misaka00251
This commit is contained in:
commit
e4537b99b1
@ -2,12 +2,12 @@
|
|||||||
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
||||||
Name: kf5-%{framework}
|
Name: kf5-%{framework}
|
||||||
Version: 5.113.0
|
Version: 5.113.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: KDE Frameworks 5 Tier 4 solution with KHTML, a HTML rendering engine
|
Summary: KDE Frameworks 5 Tier 4 solution with KHTML, a HTML rendering engine
|
||||||
License: LGPLv2+ and GPLv3 and MIT and BSD
|
License: LGPLv2+ and GPLv3 and MIT and BSD
|
||||||
URL: https://invent.kde.org/frameworks/%{framework}
|
URL: https://invent.kde.org/frameworks/%{framework}
|
||||||
|
|
||||||
%global majmin %majmin_ver_kf5
|
%global majmin %majmin_ver_kf5
|
||||||
%global stable %stable_kf5
|
%global stable %stable_kf5
|
||||||
|
|
||||||
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/portingAids/%{framework}-%{version}.tar.xz
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/portingAids/%{framework}-%{version}.tar.xz
|
||||||
@ -63,15 +63,14 @@ developing applications that use %{name}.
|
|||||||
%autosetup -n %{framework}-%{version}
|
%autosetup -n %{framework}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake_kf5} \
|
||||||
pushd %{_target_platform}
|
|
||||||
%{cmake_kf5} .. \
|
|
||||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
|
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
|
||||||
popd
|
|
||||||
make %{?_smp_mflags} -C %{_target_platform}
|
%{cmake_build}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
%find_lang khtml5_qt --with-qt --all-name
|
%find_lang khtml5_qt --with-qt --all-name
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
@ -93,6 +92,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%{_kf5_archdatadir}/mkspecs/modules/qt_KHtml.pri
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KHtml.pri
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 18 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
|
||||||
|
- adapt to the new CMake macros to fix build failure
|
||||||
|
|
||||||
* Mon Jan 08 2024 haomimi <haomimi@uniontech.com> - 5.113.0-1
|
* Mon Jan 08 2024 haomimi <haomimi@uniontech.com> - 5.113.0-1
|
||||||
- Update to upstream version 5.113.0
|
- Update to upstream version 5.113.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user