commit a0e4fae0981552a156aae3d67e90fc5a630efb0b35521a628d47cc2a19b9f62f Author: Christophe Marin Date: Wed Oct 16 07:41:15 2024 +0000 Plasma 6.2.1 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/libkscreen6?expand=0&rev=30 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/libkscreen-6.1.3.tar.xz b/libkscreen-6.1.3.tar.xz new file mode 100644 index 0000000..c5525a4 --- /dev/null +++ b/libkscreen-6.1.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9988f3736ec3d917f7b8bf1759c11c155a8ec57fcfd7876420e4bb9718b3b293 +size 119136 diff --git a/libkscreen-6.1.3.tar.xz.sig b/libkscreen-6.1.3.tar.xz.sig new file mode 100644 index 0000000..d508526 --- /dev/null +++ b/libkscreen-6.1.3.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVMUACgkQ11dEg7tX +sY09Rw//RfJXhAyCbcb8+Rj3kKuaUZDeMjYnwdD83Ezuo8nNhJEOXfAI7XgJ9Z+x +1mV/1/M+4kZ2Xbss+EMucdBa28+eG7mRL7YM9lQVKvzyVdNvDlYba69qfxwWcYf5 +wUOtf40/fibRpm3JexMC5WfIPtq+KRpXSQwvlNI1y9FnQP7gaRPXPE45gveoOx3D +dLGbv2C+Ecj7J6ZOr3pE3FinwVB/zKkptArtwZk3i2VX/YbKeKqcyCSNf9/v8B6b +6yAom9aFk8B2yKaC3X+xY1n9m+EqoyTumBpj4uju8pBk+y8hf1xeKxqqVnNOsHdj +q3uReiwptMaboXycDZ8NWI/wWBLAYzm9vKXPr8JPwU4SHKkxQFtwSO1zaLdwnruH +Iw9kGFDn76DAKugWUE2EPf/hqlZx2gnunFfLXYLZoaYb8a4koTSx38RJgADUMhqr +sZWx4zfGUF4AZlNEFrO6yVpjTFIGb56zrQb8wXWUmEyetFS2uUA54uvAGVQkHft4 +PHSwT3SPUBOjX5cSMH0g0pwgHV/JGEDjtAMESA3fhnXok+/V/FEn2r301i6rD2K8 +JtUQQvfXsRUajubHaz7tkt7X+BJJQgjP5tgg3Fi6/voMg9u0xJZh1PPAG8YZ27EW +2dDZY1eoJjAhI/ONcp7vFvUrQ//C+iemEGI1TkWpGrCDna3tT7g= +=KUUq +-----END PGP SIGNATURE----- diff --git a/libkscreen-6.1.4.tar.xz b/libkscreen-6.1.4.tar.xz new file mode 100644 index 0000000..0ca8391 --- /dev/null +++ b/libkscreen-6.1.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:730262beecbc6270b96afc0d3fbbfeb546b4e383889222b385d07aecb42c667b +size 119116 diff --git a/libkscreen-6.1.4.tar.xz.sig b/libkscreen-6.1.4.tar.xz.sig new file mode 100644 index 0000000..a1dab25 --- /dev/null +++ b/libkscreen-6.1.4.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGEUACgkQ11dEg7tX +sY03Mg/+KxDapQTz5z/2LaeGyGbM5hbL0Ul+kidqYeCn6bHpyDALMlBBnfIOpAtu +Rx9FojMKZ9wCiKX2WGpt2/b2nlenv7LDnTWcTzhQWPq9IpE2arTtCx9BqTSmNs4R +KmIXxOJtV7PclW8oKR1BvICYI9idawECTj3qu+imWNHjQBvrw5ciFUZxxSdyqiBe +5OcNsNM7otPwWuaMGjDkpES1UabZHhitSRWnBxDp6z0PStLTGvFTUwO+ANkOT08s +wZoexzgX1E+GcHvZpGoKJDGaFIxF5RBjTc7jyrridljbTPPPVSO2R5Qfbz+pPCx8 +YZHoi1uOMZGkr/75EPFmO3dHGkW3ntzjzR+ZoyPuytLp9Y1XAT4jSVJdRXhnWGry +hDFJExs4KEeUwNObXmE/7D946/sDxgCHVi3C9hA/b636ZHTRkrD60Aa0xf1TlLS+ +T9F862JwFsg7YIc/mIBYAWLkdapJVJ3leVm8096gfZ78c1RjmNks5rMuV8z2HafF +Lx5ojh+KzVsDs8cLIsVxFT2zLM0J3SIaf3Nw1AcVXi+VGWbtYq9rhfV0vpV726o3 +yfY2xFaAOLGEbMp2kGqCQqPoxz2hbzP2YD3EAP0kCH0l2QmQIvEveDLkbyG3i7+t +3fAZmfdEj5AGv+lTtg+dw86LeJrJEi8OboQRwYg06Zw46k+bx/g= +=sCMZ +-----END PGP SIGNATURE----- diff --git a/libkscreen-6.1.5.tar.xz b/libkscreen-6.1.5.tar.xz new file mode 100644 index 0000000..7dc5497 --- /dev/null +++ b/libkscreen-6.1.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58f523a9dfe07a5cb9758d60f6a7f1c9f40120289f835515a4e2d8d6d6da4c65 +size 119148 diff --git a/libkscreen-6.1.5.tar.xz.sig b/libkscreen-6.1.5.tar.xz.sig new file mode 100644 index 0000000..9c69c03 --- /dev/null +++ b/libkscreen-6.1.5.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCHcACgkQ11dEg7tX +sY1xfQ//WkfTTj7jbNrlu551NEERcAQF4nZxqGUzWnrrxDvt9JnBUP9WK5ls8U3X +hz8O8GwiuAJIhp+hhfOFG4qyZWlH45Dq+sLtPYkSpad6jqNns6AiMY10QvZiMUlN +0YFaM3/uAKMBKL4ygBebUIx3L6diVSM56otmIEMdYk63joBbOxH5bvXqIL50REQS +CVBNb0il9OM+Fu+VYaTqA/RCTHgK2+PLrpY0PlCxiUC7JIfBUDc3HTEjbPD/oh3j +rTJ8YKB7FTumpwSdNolsH2KPPxNNUARpUX52UuFQvHrcc2f2xdParrePFNw0u0QB +cLG0NIBVW+6Mu/gjIgSHROGLoJPLSMNrYFMe/SAIQBDcPP6d19rDdBQAbAF6bRYS +XJ5koOb8GboB7s0nvVsnlXOZB59OzPLvHr827kexY+2IP1zT8gx9gf9SeKgJVDlT +QlTFjTuPAlireVB8e4BMid9VyritNJeJTo3RULCX0G0D02E7yjz26zZzVwcWZ6zb +nZVtdcsZuWHsQdGUX+DdiyOfQvyUT/YALaR2P5mwXVyNigMkj+wTEJ92tpolIUJP +30Vh7fGO+B3jIn8eIbYKhxN0JxzqCky1EvrGKHUWcrtXGhFRhIjX2vij7Sr/PXDm +HxiJzo+6XF9QSifihkvdYZ7qa3Gz9TuTnNAuI0fyOSav4B0LLeI= +=du0Z +-----END PGP SIGNATURE----- diff --git a/libkscreen-6.2.0.tar.xz b/libkscreen-6.2.0.tar.xz new file mode 100644 index 0000000..c42e7f0 --- /dev/null +++ b/libkscreen-6.2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b601873845b0504690d21248591c1ad2a99bbce35dbeac747c575cc321c4d485 +size 119540 diff --git a/libkscreen-6.2.0.tar.xz.sig b/libkscreen-6.2.0.tar.xz.sig new file mode 100644 index 0000000..a882429 --- /dev/null +++ b/libkscreen-6.2.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmb+kA8ACgkQ11dEg7tX +sY3f/RAArEAZJAIGpj+X2gM0k1c/2DBORb3CAZg+Aw9I2WQ5Zmo/bC6ItysyCjdM +kuxP7o1qaZDoyxIcTl5kXyU/aA++QHPZkuH5/BoyOXhL2LJtHpeZwbVMrtxBPHed +nqAUwfW5PGuDiA5jMJyxdUzYpSwZpah2Xanw84C6Vaz4qUpD8+iTdn/v2vwqKF7x +BKGGsm/uAsSwoIdeMQm6P57THG6TVFurlTdLF4q/aoXkSH8ipN6N6r7+WrqpZWx8 +AENun1YIBLjK4mEEOmmMQhmW5c077tKWQkY8wBKvgpaXbENED2/lSgXzYJZkLXhd +TOlFYB6XcLCTF51qfrvF8pQd6HMwJQf/CWE+JqbYVrxSRyWl9VTSSYRbj6o5SkCv +u6QG6LtVDzJt5Tb8p8uu+t1eQ5oywafTi81pF6pwTXxhAZC6EbN2Tm1KtsGbedp1 +Rr83giz1XFEjCHWTfurpOZrSRoRWH55EQiAlKYpnQrQVfG04gcjBLaoQrlBExN2Z +ULP7y8gqhUFjZf+zoAKS19j10kQmhIaR5EKrxPyr7SS8dZg4y1OSdvf6kLNGqtfu +3cvvVn4ybSl+GCJGW2P/MFSAcUaZlJRjF+twAVwEZVZl47xyFu2D4lR19pB25QuI +DghPp6ryK7gENPOf4nShr5gRTcF8IRqOYIj9Z/RLlMVpLz7AOxg= +=J9aJ +-----END PGP SIGNATURE----- diff --git a/libkscreen-6.2.1.tar.xz b/libkscreen-6.2.1.tar.xz new file mode 100644 index 0000000..7e68459 --- /dev/null +++ b/libkscreen-6.2.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0cf9136fca79b767d4cda5a704e2da05074f05f29bffe154afc20e633daf2ed4 +size 119420 diff --git a/libkscreen-6.2.1.tar.xz.sig b/libkscreen-6.2.1.tar.xz.sig new file mode 100644 index 0000000..e6f4586 --- /dev/null +++ b/libkscreen-6.2.1.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcOaqcACgkQ11dEg7tX +sY14DA//UYE1Etqt7JOsklyl6lmfAnOnIz6sWSR6pPhfKddT8w5kVlgg/+rwL5lJ +Mkp9ah2KljTlo1qFpES1CSzXbEuiexoLCjjY0wTTBLzeN3ucMyvVx+Ck9qKI1XbO +xbTmk5+Hb2MOmUjt52hXjiGB+lvseUbne4xIExoCMAoG8DcFeyQa6rV5uT861hyD +HlhbTSWvF/O9nQnqY39pf69sfR2cLGFxZn9XQMv9ZtZ4yYqOTh36oVdhXltLZjn4 +fhnJNAqUvI4OVtaQ8HXYYJgVg/mNJ7+MkDFXjmqqc51a51/Liq3Ov1zO39VLRKHo +uI2bkLM3AhHdLHrj7uGfNQijg88iei4+yOVtgQ3g+ANoh4vPmTiVnFXNN4TDx2Dy +bhMcBYN6q5QUBeH9E7z6iroYmVlAL3LPhYpvsZfObINmiIb6K2TRJVrtyej8OqoW +iMP5FuhTutjY6zBfG6NsNLhNQnHp/MIosu+fFiAktIoD6OfuEKc6E/w7VbBGlVLv +v8Ct0BktbHvoJvtRrOkbrtaXK2pi8xuksPeT0MuDBkUNHmi5dF6U7ZCg54DXtvbL +hbquGoQ5ExsT3xP+JUWyrA6A6kXZgr7a5Po4uTvxKuWbh0EDkfyUYAG8W7CFdjoy +f+V2Go7HlpDLuAPQ9X77zechx4wouH7+ajv8WdXGJBD8t9r2ubc= +=jdH9 +-----END PGP SIGNATURE----- diff --git a/libkscreen6.changes b/libkscreen6.changes new file mode 100644 index 0000000..3ba7c8b --- /dev/null +++ b/libkscreen6.changes @@ -0,0 +1,199 @@ +------------------------------------------------------------------- +Tue Oct 15 16:53:30 UTC 2024 - Fabian Vogt + +- Update to 6.2.1: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.2.1 +- Changes since 6.2.0: + * update version for new release + +------------------------------------------------------------------- +Sat Oct 5 10:44:23 UTC 2024 - Fabian Vogt + +- Update to 6.2.0: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.2.0 +- Changes since 6.1.90: + * update version for new release + * wayland: Drop WaylandOutputDeviceMode::operator==() + * wayland: Properly determine whether the current mode has changed + * wayland: Correctly compare refresh rates when applying config + +------------------------------------------------------------------- +Tue Sep 17 14:53:43 UTC 2024 - Fabian Vogt + +- Update to 6.1.90: + * New feature release + * For more details see https://kde.org/announcements/plasma/6/6.1.90 +- Changes since 6.1.5: + * update version for new release + * repair edid parsing + * repair config deserialization + * typo-- + * backends/kwayland: handle compositor restarts + * backends/kwayland: port output management to QtWaylandClientExtensionTemplate + * Make EDID raw data accessible + * Generate wayland code with PRIVATE_CODE + * It compile fine without kf deprecated methods + * Fix export debug categories + * add BrightnessControl capability + * Destroy the registry when WaylandConfig gets deleted (kde#482768) + * doctor: fix min brightness override setting + * cmake: increase minimum plasma wayland protocols version to 1.13 + * update version for new release + +------------------------------------------------------------------- +Tue Sep 10 14:54:08 UTC 2024 - Fabian Vogt + +- Update to 6.1.5: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.5 +- Changes since 6.1.4: + * doctor: fix min brightness override setting + * update version for new release + +------------------------------------------------------------------- +Tue Aug 6 13:27:19 UTC 2024 - Fabian Vogt + +- Update to 6.1.4: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.4 +- Changes since 6.1.3: + * update version for new release + +------------------------------------------------------------------- +Tue Jul 16 13:24:06 UTC 2024 - Fabian Vogt + +- Update to 6.1.3: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.3 +- Changes since 6.1.2: + * Destroy the registry when WaylandConfig gets deleted (kde#482768) + * update version for new release + +------------------------------------------------------------------- +Tue Jul 2 17:34:15 UTC 2024 - Fabian Vogt + +- Update to 6.1.2: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.2 +- Changes since 6.1.1: + * update version for new release + +------------------------------------------------------------------- +Tue Jun 25 17:13:37 UTC 2024 - Fabian Vogt + +- Update to 6.1.1: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.1 +- Changes since 6.1.0: + * cmake: increase minimum plasma wayland protocols version to 1.13 + * update version for new release + +------------------------------------------------------------------- +Thu Jun 13 10:58:35 UTC 2024 - Fabian Vogt + +- Update to 6.1.0: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.1.0 +- Changes since 6.0.90: + * update version for new release + +------------------------------------------------------------------- +Sat May 25 11:18:48 UTC 2024 - Fabian Vogt + +- Update to 6.0.90: + * New feature release + * For more details see https://kde.org/announcements/plasma/6/6.0.90 +- Changes since 6.0.5: + * update version for new release + * src/doctor: adjust some debug levels + * add support for the brightness setting + * allow using the values in the EDID as the color profile for outputs + * doctor: Fix terminal colors on the Modes line + * doctor: Rely on Dpms::isSupported() being valid right after construction + * backends/kwayland: enable output replication (kde#460433) + * libdpms: Emit hasPendingChangesChanged() when it actually changed + +------------------------------------------------------------------- +Wed May 22 07:43:07 UTC 2024 - Fabian Vogt + +- Update to 6.0.5: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.5 +- Changes since 6.0.4: + * update version for new release + +------------------------------------------------------------------- +Wed Apr 17 08:12:50 UTC 2024 - Fabian Vogt + +- Update to 6.0.4: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.4 +- Changes since 6.0.3: + * update version for new release + +------------------------------------------------------------------- +Tue Mar 26 18:05:54 UTC 2024 - Fabian Vogt + +- Update to 6.0.3: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.3 +- Changes since 6.0.2: + * update version for new release + +------------------------------------------------------------------- +Wed Mar 13 09:09:54 UTC 2024 - Fabian Vogt + +- Update to 6.0.2: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.2 +- Changes since 6.0.1: + * update version for new release + +------------------------------------------------------------------- +Wed Mar 6 08:40:29 UTC 2024 - Fabian Vogt + +- Update to 6.0.1: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.1 +- Changes since 6.0.0: + * update version for new release + +------------------------------------------------------------------- +Mon Mar 4 18:52:12 UTC 2024 - Christophe Marin + +- Add Provides/Obsoletes to replace Plasma 5 + +------------------------------------------------------------------- +Wed Feb 21 18:36:17 UTC 2024 - Fabian Vogt + +- Update to 6.0.0: + * New bugfix release + * Release announcement not available yet +- Changes since 5.93.0: + * update version for new release + +------------------------------------------------------------------- +Wed Jan 31 17:37:21 UTC 2024 - Fabian Vogt + +- Update to 5.93.0 (6.0 RC 2): + * New bugfix release + * See https://kde.org/announcements/megarelease/6/rc2/ for details +- Changes since 5.92.0: + * libdpms: Guarantee validity of isSupported() right after construction + * backends/kwayland: enable output replication (kde#460433) + * libdpms: Emit hasPendingChangesChanged() when it actually changed + * libdpms: Delay supportedChanged signal until after the constructor (kde#338796) + +------------------------------------------------------------------- +Mon Jan 15 21:09:02 UTC 2024 - Fabian Vogt + +- Update to 5.92.0 (6.0 RC 1) + * For more details please see: + https://kde.org/announcements/megarelease/6/rc1/ + +------------------------------------------------------------------- +Mon Jun 5 14:11:08 UTC 2023 - Christophe Marin + +- Init libkscreen6 diff --git a/libkscreen6.spec b/libkscreen6.spec new file mode 100644 index 0000000..bab8a93 --- /dev/null +++ b/libkscreen6.spec @@ -0,0 +1,156 @@ +# +# spec file for package libkscreen6 +# +# Copyright (c) 2024 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/ +# + + +%define kf6_version 6.5.0 +%define qt6_version 6.7.0 + +%bcond_without released +%define rname libkscreen +%define sover 8 +Name: libkscreen6 +Version: 6.2.1 +Release: 0 +# Full Plasma 6 version (e.g. 6.0.0) +%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}} +# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF) +%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')} +Summary: Plasma screen management library +License: GPL-2.0-or-later +URL: https://www.kde.org +Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig +Source2: plasma.keyring +%endif +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} +BuildRequires: pkgconfig +BuildRequires: qt6-gui-private-devel >= %{qt6_version} +BuildRequires: cmake(KF6Config) >= %{kf6_version} +BuildRequires: cmake(KWayland) >= %{_plasma6_bugfix} +BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.10.0 +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Gui) >= %{qt6_version} +BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Test) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version} +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-randr) + +%description +Dynamic display management library for KDE + +%package -n libKF6ScreenDpms%{sover} +Summary: Plasma screen management library +Requires: libKF6Screen%{sover} = %{version} + +%description -n libKF6ScreenDpms%{sover} +Energy saving display management library for KDE + +%package plugin +Summary: Plasma screen management library +Requires: libKF6Screen%{sover} = %{version} +Requires: libKF6ScreenDpms%{sover} = %{version} +Provides: libkscreen2-plugin = %{version} +Obsoletes: libkscreen2-plugin < %{version} + +%description plugin +Plugins for dynamic display management in Plasma + +%package devel +Summary: Plasma screen management library (development package) +Requires: libKF6Screen%{sover} = %{version} +Requires: libKF6ScreenDpms%{sover} = %{version} +Requires: cmake(Qt6Core) >= %{qt6_version} + +%description devel +Development files belonging to libkscreen, dynamic display management in Plasma + +%package -n libKF6Screen%{sover} +Summary: Plasma screen management library +Recommends: libKF6ScreenDpms%{sover} +Recommends: libkscreen6-plugin + +%description -n libKF6Screen%{sover} +Shared library for dynamic display management in Plasma + +%lang_package -n libKF6Screen%{sover} + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 -DBUILD_QCH:BOOL=TRUE + +%kf6_build + +%install +%kf6_install + +%find_lang libkscreen6 --with-qt --all-name --without-mo + +%fdupes %{buildroot} + +%ldconfig_scriptlets -n libKF6Screen%{sover} +%ldconfig_scriptlets -n libKF6ScreenDpms%{sover} + +%post plugin +%{systemd_user_post plasma-kscreen.service} + +%preun plugin +%{systemd_user_preun plasma-kscreen.service} + +%postun plugin +%{systemd_user_postun plasma-kscreen.service} + +%files plugin +%{_kf6_bindir}/kscreen-doctor +%{_kf6_plugindir}/kf6/kscreen/ +%{_kf6_libexecdir}/kscreen_backend_launcher +%{_kf6_sharedir}/dbus-1/services/org.kde.kscreen.service +%{_kf6_debugdir}/libkscreen.categories +%{_userunitdir}/plasma-kscreen.service +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_kscreen-doctor + +%files -n libKF6Screen%{sover} +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6Screen.so.%{sover} +%{_kf6_libdir}/libKF6Screen.so.* + +%files -n libKF6ScreenDpms%{sover} +%{_kf6_libdir}/libKF6ScreenDpms.so.%{sover} +%{_kf6_libdir}/libKF6ScreenDpms.so.* + +%files devel +%doc %{_kf6_qchdir}/KF6Screen.* +%{_kf6_includedir}/kscreen_version.h +%{_kf6_includedir}/KScreen/ +%{_kf6_libdir}/cmake/KF6Screen/ +%{_kf6_libdir}/libKF6Screen.so +%{_kf6_libdir}/libKF6ScreenDpms.so +%{_kf6_libdir}/pkgconfig/KF6Screen.pc + +%files -n libKF6Screen%{sover}-lang -f libkscreen6.lang + +%changelog diff --git a/plasma.keyring b/plasma.keyring new file mode 100644 index 0000000..df40fb7 Binary files /dev/null and b/plasma.keyring differ