update to upstream version 5.24.4
(cherry picked from commit 2e9f1d821e0564d8b6b82ed9d07d8ec51da54dd9)
This commit is contained in:
parent
f0ad50f41a
commit
072d23cff9
Binary file not shown.
BIN
libkscreen-5.24.4.tar.xz
Normal file
BIN
libkscreen-5.24.4.tar.xz
Normal file
Binary file not shown.
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
Name: libkscreen-qt5
|
Name: libkscreen-qt5
|
||||||
Summary: KDE display configuration library
|
Summary: KDE display configuration library
|
||||||
Version: 5.20.90
|
Version: 5.24.4
|
||||||
Release: 1
|
Release: 1
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://cgit.kde.org/%{base_name}.git
|
URL: https://invent.kde.org/plasma/%{base_name}
|
||||||
|
|
||||||
%global revision %(echo %{version} | cut -d. -f3)
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
%if %{revision} >= 50
|
%if %{revision} >= 50
|
||||||
@ -14,19 +14,25 @@ URL: https://cgit.kde.org/%{base_name}.git
|
|||||||
%else
|
%else
|
||||||
%global stable stable
|
%global stable stable
|
||||||
%endif
|
%endif
|
||||||
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
Patch1: libkscreen-5.6.4-rhel-nowayland.patch
|
||||||
|
|
||||||
# filter plugin provides
|
# filter plugin provides
|
||||||
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
||||||
|
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: kf5-rpm-macros
|
BuildRequires: kf5-rpm-macros
|
||||||
|
BuildRequires: systemd
|
||||||
BuildRequires: kf5-kwayland-devel >= 5.22
|
BuildRequires: kf5-kwayland-devel >= 5.22
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
BuildRequires: libXrandr-devel
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: plasma-wayland-protocols-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt5-qtwayland-devel
|
||||||
BuildRequires: qt5-qtx11extras-devel
|
BuildRequires: qt5-qtx11extras-devel
|
||||||
|
BuildRequires: wayland-devel
|
||||||
|
|
||||||
Requires: kf5-filesystem
|
Requires: kf5-filesystem
|
||||||
|
|
||||||
@ -53,6 +59,10 @@ developing applications that use %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{base_name}-%{version}
|
%setup -q -n %{base_name}-%{version}
|
||||||
|
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
|
%patch1 -p1 -b .nowayland
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
mkdir %{_target_platform}
|
||||||
@ -70,7 +80,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license LICENSES/*
|
||||||
%{_kf5_bindir}/kscreen-doctor
|
%{_kf5_bindir}/kscreen-doctor
|
||||||
%{_kf5_libexecdir}/kscreen_backend_launcher
|
%{_kf5_libexecdir}/kscreen_backend_launcher
|
||||||
%{_kf5_libdir}/libKF5Screen.so.5.*
|
%{_kf5_libdir}/libKF5Screen.so.5.*
|
||||||
@ -78,6 +88,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%{_kf5_plugindir}/kscreen/
|
%{_kf5_plugindir}/kscreen/
|
||||||
%{_datadir}/dbus-1/services/org.kde.kscreen.service
|
%{_datadir}/dbus-1/services/org.kde.kscreen.service
|
||||||
%{_kf5_datadir}/qlogging-categories5/libkscreen.categories
|
%{_kf5_datadir}/qlogging-categories5/libkscreen.categories
|
||||||
|
%{_userunitdir}/plasma-kscreen.service
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_kf5_includedir}/KScreen/
|
%{_kf5_includedir}/KScreen/
|
||||||
@ -89,6 +100,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.24.4-1
|
||||||
|
- update to upstream version 5.24.4
|
||||||
|
|
||||||
* Thu Feb 17 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.20.90-1
|
* Thu Feb 17 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.20.90-1
|
||||||
- update to upstream version 5.20.90
|
- update to upstream version 5.20.90
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user