!3 version update
From: @ll3366 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
8753c355dd
Binary file not shown.
@ -1,45 +1,65 @@
|
|||||||
%bcond_with check
|
%global repo qt5platform-plugins
|
||||||
|
|
||||||
%global with_debug 1
|
Name: qt5dxcb-plugin
|
||||||
%if 0%{?with_debug}
|
Version: 5.0.17
|
||||||
%global debug_package %{nil}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: qt5dxcb-plugin
|
|
||||||
Version: 5.0.10
|
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: qt5dxcb-plugin is the Qt platform integration plugin for Deepin Desktop Environment
|
Summary: Qt platform integration plugin for Deepin Desktop Environment
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://github.com/linuxdeepin/qt5platform-plugins
|
URL: https://github.com/linuxdeepin/%{repo}
|
||||||
Source0: %{name}-%{version}.orig.tar.xz
|
Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz
|
||||||
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: qt5-qtbase-devel libXi-devel xcb-util-renderutil-devel libSM-devel dbus-devel xcb-util-image-devel xcb-util-wm-devel xcb-util-keysyms-devel libxkbcommon-x11-devel mtdev-devel cairo-devel qt5-qtx11extras-devel qt5-qtx11extras git qt5-qtbase-static
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||||
|
BuildRequires: pkgconfig(Qt5WaylandClient)
|
||||||
|
BuildRequires: pkgconfig(cairo)
|
||||||
|
BuildRequires: pkgconfig(egl)
|
||||||
|
BuildRequires: pkgconfig(gl)
|
||||||
|
BuildRequires: pkgconfig(xi)
|
||||||
|
BuildRequires: pkgconfig(xcb-renderutil)
|
||||||
|
BuildRequires: pkgconfig(xcb-image)
|
||||||
|
BuildRequires: pkgconfig(xcb-icccm)
|
||||||
|
BuildRequires: pkgconfig(xcb-ewmh)
|
||||||
|
BuildRequires: pkgconfig(xcb-keysyms)
|
||||||
|
BuildRequires: pkgconfig(xkbcommon-x11)
|
||||||
|
BuildRequires: pkgconfig(xkbcommon)
|
||||||
|
BuildRequires: pkgconfig(sm)
|
||||||
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
|
BuildRequires: pkgconfig(mtdev)
|
||||||
|
# for libQt5EdidSupport.a
|
||||||
|
BuildRequires: qt5-qtbase-static
|
||||||
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
|
BuildRequires: make
|
||||||
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
qt5dxcb-plugin is the Qt platform integration plugin for Deepin Desktop Environment
|
%{repo} is the
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%setup -q -n %{repo}-%{version}
|
||||||
|
rm -r xcb/libqt5xcbqpa-dev wayland/qtwayland-dev
|
||||||
|
|
||||||
|
# Disable wayland for now: https://github.com/linuxdeepin/qt5platform-plugins/issues/47
|
||||||
|
sed -i '/wayland/d' qt5platform-plugins.pro
|
||||||
|
|
||||||
|
sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += %{_qt5_includedir}/QtXcb|' xcb/linux.pri
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build && cd build
|
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||||
%{_libdir}/qt5/bin/qmake ..
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
%{__make}
|
%qmake_qt5 PREFIX=%{_prefix}
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd %{_builddir}/%{name}-%{version}/build
|
|
||||||
%make_install INSTALL_ROOT=%{buildroot}
|
%make_install INSTALL_ROOT=%{buildroot}
|
||||||
popd
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libdir}/qt5/plugins/platforms/libdxcb.so
|
%doc CHANGELOG.md README.md
|
||||||
%doc README.md
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%{_qt5_plugindir}/platforms/libdxcb.so
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 14 2022 liweigang <liweiganga@uniontech.com> - 5.0.17-1
|
||||||
|
- update to 5.0.17
|
||||||
|
|
||||||
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 5.0.10-1
|
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 5.0.10-1
|
||||||
- Initial release for OpenEuler
|
- Initial release for OpenEuler
|
||||||
|
|||||||
BIN
qt5platform-plugins-5.0.17.tar.gz
Normal file
BIN
qt5platform-plugins-5.0.17.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user