2014-11-15 11:41:26 +01:00
|
|
|
#
|
|
|
|
# spec file for package lxqt-qtplugin
|
|
|
|
#
|
2019-01-31 11:22:40 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-11-15 11:41:26 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-31 11:22:40 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-11-15 11:41:26 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: lxqt-qtplugin
|
2019-01-31 11:22:40 +01:00
|
|
|
Version: 0.14.0
|
2014-11-15 11:41:26 +01:00
|
|
|
Release: 0
|
2015-11-13 23:35:40 +01:00
|
|
|
Summary: LXQt platform integration plugin for Qt 5
|
2018-05-22 17:14:49 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2015-11-13 23:35:40 +01:00
|
|
|
Group: System/GUI/LXQt
|
2018-05-22 17:14:49 +02:00
|
|
|
URL: http://www.lxqt.org
|
|
|
|
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
2016-09-24 23:48:36 +02:00
|
|
|
Source2: %{name}.keyring
|
2019-01-31 11:22:40 +01:00
|
|
|
BuildRequires: cmake >= 3.1.0
|
2014-11-15 11:41:26 +01:00
|
|
|
BuildRequires: gcc-c++
|
2015-02-03 11:39:37 +01:00
|
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
2018-05-22 17:14:49 +02:00
|
|
|
BuildRequires: libexif-devel
|
2019-01-31 11:22:40 +01:00
|
|
|
BuildRequires: lxqt-build-tools-devel >= 0.6.0
|
2018-05-22 17:14:49 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
2015-02-03 11:39:37 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
2017-10-23 13:29:19 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
2018-05-22 17:14:49 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5XdgIconLoader)
|
|
|
|
BuildRequires: pkgconfig(dbusmenu-qt5)
|
|
|
|
BuildRequires: pkgconfig(lxqt) >= %{version}
|
2015-11-13 23:35:40 +01:00
|
|
|
%if 0%{?fedora_version}
|
|
|
|
%requires_eq qt5-qtbase-gui
|
|
|
|
%else
|
2014-12-29 00:30:12 +01:00
|
|
|
%requires_eq libQt5Gui5
|
2015-11-13 23:35:40 +01:00
|
|
|
%endif
|
|
|
|
|
2014-11-15 11:41:26 +01:00
|
|
|
%description
|
|
|
|
With this plugin, all Qt-based programs can adopt settings of
|
|
|
|
LXQt, such as the icon theme.
|
|
|
|
|
2016-09-24 23:48:36 +02:00
|
|
|
To use the plugin in Qt5, we have to export the environment
|
2014-11-15 11:41:26 +01:00
|
|
|
variable QT_QPA_PLATFORMTHEME=lxqt. Then every Qt5 program
|
|
|
|
can load the theme plugin.
|
|
|
|
If, for some unknown reasons, the plugin is not loaded, we can
|
|
|
|
debug the plugin by exporting QT_DEBUG_PLUGINS=1.
|
|
|
|
Then, Qt5 will print detailed information and error messages
|
2016-09-24 23:48:36 +02:00
|
|
|
about all plugins in the console when running any Qt5 programs.
|
2014-11-15 11:41:26 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2015-02-25 02:17:21 +01:00
|
|
|
%cmake
|
2015-11-13 23:35:40 +01:00
|
|
|
make %{?_smp_mflags}
|
2014-11-15 11:41:26 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-25 02:17:21 +01:00
|
|
|
%cmake_install
|
2014-11-15 11:41:26 +01:00
|
|
|
|
|
|
|
%files
|
2018-05-22 17:14:49 +02:00
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS README.md
|
2014-11-15 11:41:26 +01:00
|
|
|
%dir %{_libdir}/qt5/plugins
|
|
|
|
%dir %{_libdir}/qt5/plugins/platformthemes
|
|
|
|
%{_libdir}/qt5/plugins/platformthemes/libqtlxqt.so
|
|
|
|
|
|
|
|
%changelog
|