- Update to version 2.1.0:

* Pre-release changes (#354)
  * Support reversing the order of items in LXQt's grid layout (#353)
  * Fixed setting of item geometries in grid layout (#351)
  * weblate commits (#350)
  * weblate commits (#348)
  * Enable custom screenlockers on X11 and wayland (#346)
  * Replaced `QLatin1String` with `QLatin1StringView` (#347)
  * weblate commits (#345)
  * Pre-release changes (#344)
  * Update some minimum required versions (#343)

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/liblxqt?expand=0&rev=54
This commit is contained in:
Shawn Dunn 2024-11-11 00:31:56 +00:00 committed by Git OBS Bridge
commit cb065f30d2
9 changed files with 640 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
liblxqt-2.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61092556146b769dc9bab328550f3f157e618a1a09ae1e052db61fc0db07b3e4
size 85988

17
liblxqt-2.0.0.tar.xz.asc Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmYfpB0VHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+V1AQALJNohVRKEm4Vxa3dKeC1X//WRl6
Q81vYqn9kbFfdjSLoMC9rRfZJsvK12xGSfYfkfk+7W2w7lOtleHHoBuHjGYwDKW4
DD0btDcEK8fvFIjy7APV8i5jho0VCEvc1h2VUQI0a6TwCy0hCoHoqikQQW2F+dZ6
t4/7F3Jm2dBP0LQgIY+1U6lTPldZ1kGua3quRh2Qor1g9SDT/sapQYSo326GI2zI
U26WzfREwARLCxf95l1vYhBI1MTzkNBkK5HvCUODR4panZeGsmuqunYc+flVKRG8
yGpfspLZ7hI9/JsdnzGHBiHuXBCAELx8KqW15jLLvUE6RSjrG5B518sLRKZUCm2Y
SgKOMxgDkXm1ABblmRLheSX4PcIwEJVJdFyqPFRP5SkRSazyix3ittNTK8l6Cq/Z
qQ8tri/+Ydle6INH6txgPVskCcZWz/6FVjOgxuWXUJsF4P+06KTIviDjjofCvPi8
I9+ek17v7zSdDqKxOqKN4KF8bMy+YrrjR02rGvp639uv4PrNfKerBTXVzcKHrjWm
wntbvnVKNRDqB8jAnsNskO6H55gHnj9JOzEBTeFu4WdeMEuEuygS24TJd+JzdwtS
LwJfrdH27gckXwFSWTKsElrYA9iDLny0wm4YewjmxSE9++rJ1XqG2D0EZOpAnbGB
k+pISQmTxGI5rcpc
=dFd+
-----END PGP SIGNATURE-----

3
liblxqt-2.1.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10820b62f83c5f53439b8690c9d71deaad7aa31e6506f9ec53cb789d47b13ce0
size 86344

17
liblxqt-2.1.0.tar.xz.asc Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmcpso0VHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+NvwQALVs8NB8wmd3VH0Nai3zq1pFrK1z
DQqQ1miYIMW+Og9I84+ntHaFJTktvTMCRSoT3Nphlba5waIPnUOZsk+e83BwdiMw
XUIwUcM+JMN9XBMnq5QLghK+wvpotL0jiL6pQUIR3RM/UahjhqeTq4muQz7rPUe2
+K7UDz6ZkbB4vy3ahT2EufM4TOKZf0i7JMio2w+C28M+mJQjYpotOCqcZXeon6EM
HW9cwGdCLH4e5Pp90WJaMPXc1VOxHAxG1eU+aCIr64D1CExOsYRyYYvZC03DfKS2
1UW0Zsb5opLAL9MVm6jIFbgscLIheNdkQFEjOLeUmM+WN1ZvLw1cc1xfniCSFVk8
Xc60xUgGuLiMFyfy3JdJWBNu7w3LghZ+Zhc4f3NqlZ5oC9z0F2qSMGdoJJ3Gj6Qt
H/v4stEwt/wBawPwjZLFGnOUmp3gXEXHuUxyXgpJ/5t3GGVAL1tlBMVFeZVjosQY
bDqfdA+v/M9zyCvZ18y8Z4/Wmtuqlo006ZpvtKNb0bZvHHwIEDxoom4P/EUTaQz8
tAtEsQg0dIeMMjhpD/VNBFY1/K7IWk9IPAtC1cH2g5s+tmlKM+R8xpmO+Y4xygPs
fG3wguSnDfjqwTPy1ncEJfGlNEOQZpe7YRaqcIeA8i8xriq3XLPXKcsHbXn705/D
s9MhJi6mLvIcp6vN
=tu6j
-----END PGP SIGNATURE-----

408
liblxqt.changes Normal file
View File

@ -0,0 +1,408 @@
-------------------------------------------------------------------
Wed Nov 6 21:17:10 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>
- Update to version 2.1.0:
* Pre-release changes (#354)
* Support reversing the order of items in LXQt's grid layout (#353)
* Fixed setting of item geometries in grid layout (#351)
* weblate commits (#350)
* weblate commits (#348)
* Enable custom screenlockers on X11 and wayland (#346)
* Replaced `QLatin1String` with `QLatin1StringView` (#347)
* weblate commits (#345)
* Pre-release changes (#344)
* Update some minimum required versions (#343)
-------------------------------------------------------------------
Wed Apr 17 23:51:21 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Update to 2.0.0:
* Ported to Qt6
- Specfile cleanup and macro updates
-------------------------------------------------------------------
Fri Jan 12 15:40:39 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Changes to fix (boo#1218288)
* Removed Provides: and Recommends: from liblxqt1 subpackage
* Added Requires: liblxqt >= version to liblxqt1 subpackage
-------------------------------------------------------------------
Sun Nov 5 14:25:52 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.4.0:
* Deprecated KWindowSystem methods are ported.
* Show error on trying to lock screen under Wayland.
-------------------------------------------------------------------
Sat Apr 15 17:32:46 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
- Update to 1.3.0:
* Updated translations and bumped version to 1.3.0
-------------------------------------------------------------------
Sat Nov 5 16:51:02 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>
- Update to 1.2.0:
* Updated translations and bumped version to 1.2.0
-------------------------------------------------------------------
Wed Aug 3 13:32:34 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Require /usr/bin/pkexec instead of pkexec to not depend on
a certain package
-------------------------------------------------------------------
Mon Jul 18 10:32:14 UTC 2022 - Marcus Meissner <meissner@suse.com>
- require pkexec as its now a standalone package
-------------------------------------------------------------------
Wed Apr 27 19:23:19 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Update to 1.1.0:
* Added support for relative wallpaper paths.
* Fixed an issue in loading of cached settings.
-------------------------------------------------------------------
Fri Nov 5 15:44:36 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 1.0.0:
* Bumped version to 1.0.0 and required Qt 5.15.0.
- Move into main package liblxqt:
* /usr/share/lxqt/power.conf
* /usr/bin/lxqt-backlight_backend
* /usr/share/polkit-1/actions/org.lxqt.backlight.pkexec.policy
-------------------------------------------------------------------
Fri Apr 16 06:36:15 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 0.17.0:
* Fixed dbus errors with invalid QVariant data sent over it.
* Modernized and cleaned up the code.
-------------------------------------------------------------------
Wed Nov 4 15:47:44 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Remove deprecated recommends on lang package
-------------------------------------------------------------------
Wed Nov 4 13:19:10 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 0.16.0:
* Use QFlags default constructor
* Added an action for showing LXQt leave dialog
(to be used when the power button is pressed).
* Don't use deprecated QProcess methods.
-------------------------------------------------------------------
Fri May 29 09:06:36 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 0.15.1:
* Fix a crash on closing screen saver error message.
* Let Qt handle the positions of dialogs (in that way, dialogs
are shown on the correct screen).
* Remove dead codes.
-------------------------------------------------------------------
Mon Apr 27 10:44:11 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Changed liblxqt.keyring to tsujan's key
-------------------------------------------------------------------
Fri Apr 24 20:19:26 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Removed liblxqt-0.14.1-fix-qt-5.14.patch: contained in upstream
- Update to version 0.15.0
* Fixed memory leak in backlight brightness driver.
* Allowed custom lock command and improved error messages in lxqtscreensaver.
* Added asynchronous API for querying server info.
* Allow spacing to be added between items in GridLayout (used in lxqt-panel).
* Set default button to Yes in leave dialogs.
* Made macOS build possible.
-------------------------------------------------------------------
Mon Jan 27 09:43:57 UTC 2020 - Michael Vetter <mvetter@suse.com>
- bsc#1161365: Add includes for QFile
- Add liblxqt-0.14.1-fix-qt-5.14.patch
-------------------------------------------------------------------
Mon Feb 25 10:06:01 UTC 2019 - mvetter@suse.com
- Update to 0.14.1:
* Bumped version to 0.14.1
* Enable/disable a standard button if it exists. This is needed for adding
Apply button later because Apply button should be enabled/disabled
appropriately.
* Updated translations
* Note for packagers: liblxqt now depend on libqtxdg 3.3.1
-------------------------------------------------------------------
Thu Jan 31 09:39:31 UTC 2019 - Michael Vetter <mvetter@suse.com>
- Update to 0.14.0:
* Added missing text color of our HTML delegate
* lxqtbacklight: fix and improve command line parameter handling
* lxqthtmldelegate: Position, alignment and size fixes for HTML delegate
* lxqtpageselectwidget: Fix config dialog cell height
* lxqtpageselectwidget: Fixed config dialog select widget cells
- Remove liblxqt-0.13.0-backlight.patch: upstreamed
- Move translation from lxqt-l10n into package
-------------------------------------------------------------------
Wed Jun 20 13:17:20 UTC 2018 - mvetter@suse.com
- Update liblxqt-0.13.0-backlight.patch: use accepted one
-------------------------------------------------------------------
Thu Jun 14 13:23:36 UTC 2018 - mvetter@suse.com
- Remove liblxqt-rpmlintrc (See bsc#1092192)
- Add liblxqt-0.13.0-backlight.patch:
Created by mgerstner when auditing.
See https://github.com/lxqt/liblxqt/pull/148
-------------------------------------------------------------------
Tue May 22 14:05:13 UTC 2018 - mvetter@suse.com
- Update to 0.13.0:
* An efficient backlight control is added.
* ConfigDialog: Adds the ability to select the shown page by name
* lxqtpower: Add support for turning monitor(s) off
- Add BuildRequires for polkit-qt5-1
- Add lxqt-backlight_backend and polkit file
- Add rpmlintrc exception (bsc#1092192)
-------------------------------------------------------------------
Mon Oct 23 10:02:44 UTC 2017 - mvetter@suse.com
- Update to 0.12.0:
* Bump minimum qtxdg version to 3.1.0
* Don't export github templates
* Bump version and needed versions to the final values
* lxqtpower: Allow disabling of lxqt-session provider
* Drops Qt5Core_VERSION_STRING
* HtmlDelegate: Fix sizeHint() computation
* Add some comments about the meaning of versions
* Move LXQt version back to liblxqt
* Fixes (#118)
* lxqtapplication: Avoid wrong signal handling
* Removes unneeded semicolon in namespace definition
* Fix format conversions [-Wformat-pedantic] warnings
* Suppress compiler warnings about unused function parameters
* Removes extra semicolons in Qt's Q macros
* Translator: Prefer XDG_DATA_DIRS over compiled in path
* Help the compiler optimizing loops
* Use const variables where possible
* Update AUTHORS
- Remove liblxqt-0.11.1-allow-disabl-lxqt-session.patch:
contained in upstream
-------------------------------------------------------------------
Wed Sep 13 11:47:59 UTC 2017 - mvetter@suse.com
- boo#1044483:
* Add liblxqt-0.11.1-allow-disabl-lxqt-session.patch
to allow disabling of lxqt-session
-------------------------------------------------------------------
Thu Feb 23 17:01:53 UTC 2017 - sfalken@opensuse.org
- Update to 0.11.1:
* Bump needed build tools version (#113)
* build: Enable/disable WITH_XDG_DIRS_FALLBACK based on Qt version (#111)
* Updates lxqt-build-tools required version
* Adds a CMake minimum version requirement to the -config.cmake
* Refactors superbuild support
* Adds PROJECT_NAME to the build with Qt version message
* Pack target_compile_definitions() and target_include_directories()
* Adds PROJECT_NAME to the build with Qt version message
* Pack target_compile_definitions() and target_include_directories()
* Use the LXQtConfigVars module
* Make liblxqt depend on lxqt-build-tools
* Use the lxqt-build-tools LXQtCreatePortableHeaders
* Use the new LXQt Build Tools package
* Sets a minimum Qt5Xdg required version
* Adds minimum Qt version requirement (5.4.2)
* Remove cpack (#107)
-------------------------------------------------------------------
Fri Sep 30 08:04:57 UTC 2016 - jengelh@inai.de
- Update descriptions. Drop seemingly unneeded Provides: liblxqt.
Own all directories.
-------------------------------------------------------------------
Sat Sep 24 18:15:21 UTC 2016 - mvetter@suse.com
- Update to 0.11.0:
* Bump version ot 0.11.0 (#105)
* Settings: Make use of reverse_iterator conditional
* Application: Add <cerrno> include
* Settings: Add "homemade" XDG_CONFIG_DIRS support
* Settings: unify duplicated code
* Add README.md
* translations: Change default translations repository
* Update DBus Notify method annotation name
* Fix lupdate warning missing Q_OBJECT macro
* Replaces deprecated QStyleOptionViewItemV4
* Don't lock the screen when it's already locked.
* lxqtscreensaver: Makes it a opaque pointer class
* GridLayout: Store current animation flag
* lxqtgridlayout: Move private class definition
* HtmlDelegate: Take layoutDirection into account
* GridLayout: Take layoutDirection into account
* application: Correct signal handling & clean-up (#72)
* lxqtpower: Removes unused stuff
* SingleApplication: Only create an DBus adaptor when needed
* NotificationPrivate: Fixes programming typo
* Don't set icon theme name
* configdialog: Update icons in ThemeChanged event
* lxqtpower: Add suspend and hibernate to ConsoleKit2 provider
* LXQtTranslateTs.cmake: Enable PULL_TRANSLATIONS by default
* LXQtTranslateTs.cmake: Use/update template in remote repo
* .gitignore: Cleanup
* build: Use external translations
* ts-files removal (#90)
* GridLayout: Fix memory leak
* translations: Fix external translations logic
* translations: Add external translations support
* configdialog: Fix icon bar sizing
* configdialog: fix size of PageSelectWidget (#83)
* Use const references with the foreach iterator
* SettingsCache: Improve performance
* Print warning messages when using the fallback Icon Theme
* Use LXQT_DATA_DIR for fallback icon theme search path
* Sets Oxygen as the only fallback icon theme
* Adds CMAKE_INSTALL_PREFIX to the LXQt Theme search paths
* LXQtCompilerSettings: Add QT_USE_QSTRINGBUILDER to the compile definitions
* SingleApplication: Use QCoreApplication::exit() instead of ::exit()
* bump year
* TranslateDesktopTs: Adds UPDATE_OPTIONS options
* TranslateDesktop: Remove lupdate absolute option
* TranslateDesktop: Use -a switch in grep commands
* LXQtTheme: Remove (outdated) "singleclick" qss assembly
* settings: Upgrade emitting of "changed" signals
* SingleApplication: Call also QWidget::show on activate
* Updated Russian translation Removed ru_RU file
* Use QString() instead of ""
* Use CMAKE_INSTALL_FULL_DATAROOTDIR
* Add LXQT_GRAPHICS_DIR directory definition
* lxqt-config: Correct escaping while setting variables
* CMake: Removes artifact
* Adds FindXdgUserDirs CMake find_package module
* Italian translation update
-------------------------------------------------------------------
Tue Nov 10 10:02:02 UTC 2015 - mvetter@suse.com
- Remove patch 0001-fix-build-with-qt-5.5.patch
Contained in upstream version
-------------------------------------------------------------------
Thu Nov 5 10:36:03 UTC 2015 - mvetter@suse.com
- Upstream release 0.10.0
-------------------------------------------------------------------
Thu Oct 8 10:31:22 UTC 2015 - mvetter@suse.com
- Factory moved fom libqt5.4 to 5.5
0001-fix-build-with-qt-5.5.patch: include QObject header explicitly
-------------------------------------------------------------------
Thu Jul 9 13:59:41 UTC 2015 - mvetter@suse.com
- Use correct name "lxqt" instead of "lxde-qt"
-------------------------------------------------------------------
Fri Feb 20 01:18:24 UTC 2015 - sfalken@opensuse.org
- Changed to %cmake and %cmake_install macros in %build and
%install
-------------------------------------------------------------------
Mon Feb 9 15:46:51 UTC 2015 - sfalken@opensuse.org
- New upstream version 0.9.0
- Added -lang subpackage
- Dropped -qt5 package naming, as none of the internal library
names use -qt5 in 0.9.0. Added Obsoletes and Conflicts, in the
odd chance that liblxqt-0.7.0 and liblxqt >=0.8.0 are installed
on the same system. Which should never happen. lxqt-0.9.0 is not
likely to be pushed to 13.2, and liblxqt can no longer be built
against Qt4.
-------------------------------------------------------------------
Sun Jan 25 18:52:02 UTC 2015 - sfalken@opensuse.org
- Added conditionals to build for Fedora
-------------------------------------------------------------------
Fri Oct 24 20:06:00 UTC 2014 - andrea@opensuse.org
- new upstream version 0.8.0
-------------------------------------------------------------------
Tue May 13 15:20:00 UTC 2014 - andrea@opensuse.org
- spec file clean up
-------------------------------------------------------------------
Tue May 13 14:31:48 UTC 2014 - sfalken@opensuse.org
- Cleaned up BuildRequires:
-------------------------------------------------------------------
Mon May 12 14:25:25 UTC 2014 - sfalken@opensuse.org
- Removed fedora spec, split into seperate subproject
Del: liblxqt-Fedora_20.spec
-------------------------------------------------------------------
Sun May 11 14:10:17 UTC 2014 - sfalken@opensuse.org
- Removed BuildRequires: pkgconfig entries in favour of BuildRequires: libqt4-devel at request of X11:lxde:lxqt maintainers
-------------------------------------------------------------------
Sat May 10 17:48:37 UTC 2014 - sfalken@opensuse.org
- Ran spec-cleaner on specfile
-------------------------------------------------------------------
Fri May 9 21:43:36 UTC 2014 - sfalken@opensuse.org
- Added specfile for Fedora_20
Add: liblxqt-Fedora_20.spec
-------------------------------------------------------------------
Fri May 9 13:56:53 UTC 2014 - sfalken@opensuse.org
- Added tarball for new stable release
Add: liblxqt-0.7.0.tar.xz
Del: _service
-------------------------------------------------------------------
Thu Apr 17 16:46:46 UTC 2014 - sfalken@opensuse.org
- Shortened Summary: to make rpmlint happy
Removed explicit Requires: per rpmlint
-------------------------------------------------------------------
Wed Apr 2 14:29:14 UTC 2014 - sfalken@opensuse.org
- Removed direct calls to cmake, in favour of %cmake and %cmake_install macros
-------------------------------------------------------------------
Wed Apr 2 02:28:41 UTC 2014 - sfalken@opensuse.org
- Specfile finalized
-------------------------------------------------------------------
Wed Apr 2 00:47:02 UTC 2014 - sfalken@opensuse.org
- Inital Source Upload
Add: _service
Add: liblxqt.spec
Add: liblxqt.changes

52
liblxqt.keyring Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aCxadI2kX+aikmT8rd0
ttDKN18cXV52Ssxnj0qhgf4hwnu/b0be6BzqSEyGM+UQR3X2CYpxrMakfW32Q18K
X5ec0RPR2ucBq9G0r9t6FYC8FkJ4uQUU3xxrLW3z302S0Makjgzm8BV9WrFQ7oFF
uJQj0BHbHYC4RyaZb2AfxY4Y92BPGTjtGekWqgw6vEXCCnvAbGYVQzvxZt3nw21/
1YmV4g7xhGFQPbOf9v3ejFUJeJIGzuJf5NAh7kvfCdUBAGYH0gnj0GpOve4ftnaG
sAId2CQwm3oYF4Tu7yBPTOBpkaKkNaT+UdwTyeKERuCZ9ocZWX++/YF9ItRkJ5mM
zoP1GluWn2atNWpRh/K97gyAGgr2fSmrAA4d1JrVbMujZAHoHAOKwJKqX9jPziPZ
BFHfhcIOzG3ZhXAuumHsd7uwfPBVt20g+G+cOjBghbSSu9EOtMkAZl1g3ybvZixu
Jtxa5exZWEmU7vtytEb8eq9Dj5XcGoTDbErE2RpJ/20HPzhyRKg9RN4iGS+0OiHS
oRbDi5IEOizvQjp2bsBmfa3rsoDSOqF2pevp+u8I56I6bU1GFpxxNC5IGvgo2Q79
quz0oIk5hs3eLlUdEYsLGwR6pWJaJyf36vuDsq7iLrLyvHI5irAowO4r1QARAQAB
tCVQZWRyYW0gUG91cmFuZyA8dHN1amFuMjAwMEBnbWFpbC5jb20+iQJOBBMBCAA4
FiEEGd/fOle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7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO
NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO
sw==
=gSIv
-----END PGP PUBLIC KEY BLOCK-----

116
liblxqt.spec Normal file
View File

@ -0,0 +1,116 @@
#
# spec file for package liblxqt
#
# 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/
#
Name: liblxqt
Version: 2.1.0
Release: 0
Summary: Core utility library for LXQt
License: LGPL-2.1-or-later
URL: https://github.com/lxqt/liblxqt
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: cmake >= 3.18.0
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: cmake(KF6WindowSystem) >= 6.0.0
BuildRequires: cmake(PolkitQt6-1) >= 0.200.0
BuildRequires: cmake(Qt6DBus) >= 6.6
BuildRequires: cmake(Qt6LinguistTools) >= 6.6
BuildRequires: cmake(Qt6Widgets) >= 6.6
BuildRequires: cmake(lxqt2-build-tools) >= 2.1.0
BuildRequires: pkgconfig(Qt6Xdg) >= 4.1.0
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xscrnsaver)
Obsoletes: liblxqt-qt5 < %{version}
Provides: liblxqt-qt5 = %{version}
# moved files to correct location in liblxqt1 (/lxqt-backlight_backend, power.conf, polkit)
Conflicts: liblxqt0
Conflicts: liblxqt1
Requires: /usr/bin/pkexec
%description
liblxqt represents the core library of LXQt providing essential
functionality needed by nearly all of its components.
%lang_package
%package -n %{name}2
Summary: LXQt core library
Recommends: %{name}-lang
Requires: %{name} >= %{version}
%description -n %{name}2
liblxqt represents the core library of LXQt providing essential
functionality needed by nearly all of its components.
%package devel
Summary: Devel files for liblxqt
Requires: %{name}2 = %{version}
Requires: pkgconfig
Requires: pkgconfig(Qt6Xdg) >= 4.1.0
%description devel
liblxqt represents the core library of LXQt providing essential
functionality needed by nearly all of its components.
This subpackage contains libraries and header files for developing
applications that want to make use of liblxqt.
%prep
%autosetup -p1
%build
%cmake_qt6
%{qt6_build}
%install
%{qt6_install}
%find_lang %{name} --with-qt
%ldconfig_scriptlets -n %{name}2
%files
%dir %{_datadir}/lxqt/
%{_datadir}/lxqt/power.conf
%{_bindir}/lxqt-backlight_backend
%dir %{_datadir}/polkit-1/
%{_datadir}/polkit-1/actions/
%files -n %{name}2
%license COPYING
%doc AUTHORS
%{_qt6_libdir}/%{name}.so.?
%{_qt6_libdir}/%{name}.so.?.*
%files devel
%{_includedir}/lxqt/
%{_qt6_libdir}/pkgconfig/lxqt.pc
%{_qt6_libdir}/%{name}.so
%{_datadir}/cmake/lxqt/
%files lang -f %{name}.lang
%dir %{_datadir}/lxqt/translations
%dir %{_datadir}/lxqt/translations/%{name}
%if 0%{?sle_version}
%{_datadir}/lxqt/translations/%{name}/%{name}_???.qm
%endif
%changelog