commit 5f09c0ebeee98d12635fdac4fc0adff0a6b10825db01fc95cb8c5ea9c955288a Author: Christophe Giboudeaux Date: Sat May 15 16:17:04 2021 +0000 Plasma 5.22 Beta, tested a bit more. Now with cmake >= 3.16 and duplicates in .changes removed (now using git log a..b instead of a...b) OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/layer-shell-qt?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/layer-shell-qt-5.21.90.tar.xz b/layer-shell-qt-5.21.90.tar.xz new file mode 100644 index 0000000..e6e09e0 --- /dev/null +++ b/layer-shell-qt-5.21.90.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:280bf647f10b5f563749aa907a69f0aa0aa63cae28384ff7f4d981f374462795 +size 17620 diff --git a/layer-shell-qt-5.21.90.tar.xz.sig b/layer-shell-qt-5.21.90.tar.xz.sig new file mode 100644 index 0000000..5c47173 --- /dev/null +++ b/layer-shell-qt-5.21.90.tar.xz.sig @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEELR1bBYg1d4fenuIl7JTRj38FmX4FAmCdJhsACgkQ7JTRj38F +mX4syAf/QD8SCgDRzIaw07haX2Ta0F84xbnRhcYj7Kg8Khis1DjhMp41y+DEMDfI +JuM/qrn614x/J0RpOgRnxxNznWpwJOOJbISuxa/Dda2xUdsLb/jmyytswg0+ScdV +fUvmW/O5Y7o5GOCHkPpeXSKIFWRWcxbMvmkeU1Va1Wz7kNWA1GcXbulJfWoXnhuj +cRPKIqRy4nCZwVEgS93TrvZtWMtW/KAqypQr0DQkCQMWFIXutGBjlKAn1Z4ySMbU +Jks08Pxo9e8Kwu2pwTVtFNLMi9x9TG6WZ9HYWytf+3Oy4zda2AWKPYuARUXrYhbA ++oik2mO2A/+dIxeSWBTWLu9LHfgfCA== +=Tty9 +-----END PGP SIGNATURE----- diff --git a/layer-shell-qt.changes b/layer-shell-qt.changes new file mode 100644 index 0000000..7572ad8 --- /dev/null +++ b/layer-shell-qt.changes @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Thu May 13 18:51:06 UTC 2021 - Fabian Vogt + +- Update to 5.21.90 + * New part of Plasma + * For more details please see: + * https://kde.org/announcements/plasma/5/5.21.90 +- No code changes since 5.21.5 + +------------------------------------------------------------------- +Thu Apr 1 19:57:40 UTC 2021 - Fabian Vogt + +- Initial commit diff --git a/layer-shell-qt.spec b/layer-shell-qt.spec new file mode 100644 index 0000000..0e5612f --- /dev/null +++ b/layer-shell-qt.spec @@ -0,0 +1,101 @@ +# +# spec file for package layer-shell-qt +# +# Copyright (c) 2021 Fabian Vogt +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# Full Plasma 5 version (e.g. 5.8.95) +%{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}} +# Latest ABI-stable Plasma (e.g. 5.8 in KF5, but 5.8.95 in KUF) +%{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')} + +%bcond_without lang +Name: layer-shell-qt +Version: 5.21.90 +Release: 0 +Summary: wlr-layer-shell integration for Qt +License: LGPL-3.0-or-later +Group: Development/Libraries/KDE +URL: https://www.kde.org +Source: https://download.kde.org/unstable/plasma/%{version}/layer-shell-qt-%{version}.tar.xz +%if %{with lang} +Source1: https://download.kde.org/unstable/plasma/%{version}/layer-shell-qt-%{version}.tar.xz.sig +Source2: plasma.keyring +%endif +BuildRequires: cmake >= 3.16 +BuildRequires: extra-cmake-modules +BuildRequires: kf5-filesystem +BuildRequires: pkgconfig +BuildRequires: cmake(Qt5Gui) >= 5.15.0 +BuildRequires: cmake(Qt5Qml) +BuildRequires: cmake(Qt5XkbCommonSupport) +BuildRequires: cmake(Qt5WaylandClient) +BuildRequires: libQt5Gui-private-headers-devel +BuildRequires: libqt5-qtwayland-private-headers-devel +# Workaround missing requirement in libQt5Gui-private-headers-devel +BuildRequires: pkgconfig(xkbcommon) >= 0.4.1 +BuildRequires: pkgconfig(wayland-client) >= 1.3.0 +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(wayland-server) >= 1.3.0 + +%description +This allows integration of Qt applications with wlr-layer-shell. + +%package -n layer-shell-qt5 +Summary: wlr-layer-shell integration for Qt 5 +Group: Development/Libraries/KDE + +%description -n layer-shell-qt5 +This allows integration of Qt applications with wlr-layer-shell. + +%package -n layer-shell-qt5-devel +Summary: wlr-layer-shell integration for Qt 5 - development files +Group: Development/Libraries/KDE +Requires: layer-shell-qt5 = %{version} +Requires: cmake(Qt5Qml) +Requires: libqt5-qtwayland-private-headers-devel +Requires: pkgconfig(wayland-client) >= 1.3.0 + +%description -n layer-shell-qt5-devel +This allows integration of Qt applications with wlr-layer-shell. + +%prep +%autosetup -p1 + +%build +# Qt5XkbCommonSupportPrivate doesn't link publicly against xkbcommon +export CXXFLAGS="%optflags $(pkg-config xkbcommon --cflags)" +%cmake_kf5 -d build +%cmake_build + +%install +%kf5_makeinstall -C build + +%post -n layer-shell-qt5 -p /sbin/ldconfig +%postun -n layer-shell-qt5 -p /sbin/ldconfig + +%files -n layer-shell-qt5 +%license LICENSES/*.txt +%{_kf5_plugindir}/wayland-shell-integration/liblayer-shell.so +%{_kf5_libdir}/libLayerShellQtInterface.so.5 +%{_kf5_libdir}/libLayerShellQtInterface.so.%{_plasma5_bugfix} + +%files -n layer-shell-qt5-devel +%{_kf5_libdir}/libLayerShellQtInterface.so +%{_kf5_libdir}/cmake/LayerShellQt/ +%{_includedir}/LayerShellQt/ + +%changelog diff --git a/plasma.keyring b/plasma.keyring new file mode 100644 index 0000000..9bbbc6d Binary files /dev/null and b/plasma.keyring differ