From 7a53c82b9770149a5697cb9f6f6f318889b4b558 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 14 May 2021 12:47:07 -0500 Subject: [PATCH] import --- .gitignore | 1 + layer-shell-qt.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 .gitignore create mode 100644 layer-shell-qt.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d61795c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/layer-shell-qt-5.21.90.tar.xz diff --git a/layer-shell-qt.spec b/layer-shell-qt.spec new file mode 100644 index 0000000..819d93a --- /dev/null +++ b/layer-shell-qt.spec @@ -0,0 +1,76 @@ +Name: layer-shell-qt +Version: 5.21.90 +Release: 2%{?dist} +Summary: Library to easily use clients based on wlr-layer-shell + +License: LGPLv3+ +URL: https://invent.kde.org/plasma/%{name} + +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz + +BuildRequires: extra-cmake-modules >= 5.82 + +BuildRequires: qt5-qtbase-devel +# needs /usr/lib64/libQt5XkbCommonSupport.a +BuildRequires: qt5-qtbase-private-devel +BuildRequires: qt5-qtbase-static + +BuildRequires: cmake(Qt5WaylandClient) +BuildRequires: cmake(Qt5Qml) +BuildRequires: cmake(Qt5XkbCommonSupport) + +BuildRequires: libxkbcommon-devel +BuildRequires: plasma-wayland-protocols-devel +BuildRequires: wayland-devel +BuildRequires: wayland-protocols-devel + +%description +This component is meant for applications to be able to easily use clients +based on wlr-layer-shell + +%package devel +Summary: Developer files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: cmake(Qt5Gui) >= 5.15.0 +%description devel +%{summary}. + + +%prep +%autosetup + + +%build +%cmake_kf5 + +%cmake_build + + +%install +%cmake_install + + +%files +%license LICENSES/* +%{_libdir}/libLayerShellQtInterface.so.5* +%{_qt5_plugindir}/wayland-shell-integration/ + +%files devel +%{_includedir}/LayerShellQt/ +%{_libdir}/libLayerShellQtInterface.so +%{_libdir}/cmake/LayerShellQt/ + + +%changelog +* Fri May 14 2021 Rex Dieter - 5.21.90-2 +- shorten summary + +* Thu May 13 2021 Rex Dieter - 5.21.90-1 +- first try + diff --git a/sources b/sources new file mode 100644 index 0000000..d9995b9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (layer-shell-qt-5.21.90.tar.xz) = d95767714ea70a5660741cebf2c9dcddff3460f8826970f31d2955899fb41e3280712e8b0a8eab64b349de47458e01f5d14373ffdbcd3a335be57b8fdd11549e