66 lines
1.4 KiB
RPMSpec
66 lines
1.4 KiB
RPMSpec
# Run tests in check section
|
|
# disable for bootstrapping
|
|
|
|
%bcond_with check
|
|
|
|
%global with_debug 1
|
|
%if 0%{?with_debug}
|
|
%global debug_package %{nil}
|
|
%endif
|
|
|
|
|
|
###qt5dxcb-plugin-5.0.10.orig.tar.xz
|
|
|
|
Name: qt5dxcb-plugin
|
|
Version: 5.0.10
|
|
Release: 1
|
|
Summary: qt5dxcb-plugin is the Qt platform integration plugin for Deepin Desktop Environment
|
|
License: GPLv3+
|
|
URL: https://github.com/linuxdeepin/qt5platform-plugins
|
|
Source0: %{name}-%{version}.orig.tar.xz
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: libXi-devel
|
|
BuildRequires: xcb-util-renderutil-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: dbus-devel
|
|
BuildRequires: xcb-util-image-devel
|
|
BuildRequires: xcb-util-wm-devel
|
|
BuildRequires: xcb-util-keysyms-devel
|
|
BuildRequires: libxkbcommon-x11-devel
|
|
BuildRequires: mtdev-devel
|
|
BuildRequires: cairo-devel
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
BuildRequires: qt5-qtx11extras
|
|
BuildRequires: git
|
|
BuildRequires: qt5-qtbase-static
|
|
|
|
%description
|
|
qt5dxcb-plugin is the Qt platform integration plugin for Deepin Desktop Environment
|
|
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
mkdir build && cd build
|
|
%{_libdir}/qt5/bin/qmake ..
|
|
%{__make}
|
|
|
|
%install
|
|
pushd %{_builddir}/%{name}-%{version}/build
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
popd
|
|
|
|
%files
|
|
%{_libdir}/qt5/plugins/platforms/libdxcb.so
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 5.0.10-1
|
|
- Initial release for OpenEuler
|