lxqt-qtplugin/lxqt-qtplugin.spec
Michael Vetter 71f6ad621f - Update to 0.12.0:
* Set an informal patch version
  * Don't export github templates
  * Flag unused vars in onServiceOwnerChanged
  * Fix missing variable declaration
  * Handle QML (as @PCMan suggested)
  * Use mime functions added by @PCMan
  * Loading and saving window/splitter size
  * Central positioning with respect to parent
  * Set window title correctly
  * Qt version conditions
  * Just made it compilable
  * Handle mime-type filters for file dialog. Set custom file dialog labels.
  * Update options properly.
  * Implement a basic file dialog helper using libfm-qt's Fm::FileDialog.
  * Avoid using Qt-specific keywords such as signal/slot and foreach. Instead, use macros.
  * LXQtPlatformTheme: Make Qt use default palette (#22)
  * LXQtPlatformTheme: Add icon FollowColorScheme config (#21)
  * Prevent a possible C++11 range for detach (#20)
  * Use the CMake MODULE library type.
  * LXQtPlatformTheme: Propagate wheelScrollLines
  * LXQtPlatformTheme: Do not provide own palette
  * Fix multiple StatusNotifierItems.
  * Bump year
  * Updates lxqt-build-tools required version

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-qtplugin?expand=0&rev=6
2017-10-23 11:29:19 +00:00

80 lines
2.5 KiB
RPMSpec

#
# spec file for package lxqt-qtplugin
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: lxqt-qtplugin
Version: 0.12.0
Release: 0
Summary: LXQt platform integration plugin for Qt 5
License: LGPL-2.1+
Group: System/GUI/LXQt
Url: http://www.lxqt.org
Source: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: cmake >= 3.0.2
BuildRequires: gcc-c++
BuildRequires: lxqt-build-tools-devel
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: libQt5Gui-private-headers-devel
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(lxqt) >= %{version}
BuildRequires: pkgconfig(dbusmenu-qt5)
BuildRequires: pkgconfig(Qt5XdgIconLoader)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: libfm-qt-devel
BuildRequires: libexif-devel
%if 0%{?fedora_version}
%requires_eq qt5-qtbase-gui
%else
%requires_eq libQt5Gui5
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
With this plugin, all Qt-based programs can adopt settings of
LXQt, such as the icon theme.
To use the plugin in Qt5, we have to export the environment
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
about all plugins in the console when running any Qt5 programs.
%prep
%setup -q
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
%files
%defattr(-,root,root)
%doc AUTHORS LICENSE README.md
%dir %{_libdir}/qt5/plugins
%dir %{_libdir}/qt5/plugins/platformthemes
%{_libdir}/qt5/plugins/platformthemes/libqtlxqt.so
%changelog