!6 update to 5.0.25.1
From: @ll3366 Reviewed-by: @panchenbo, @weidongkl Signed-off-by: @weidongkl, @panchenbo
This commit is contained in:
commit
04e2efd7f2
BIN
dde-qt5platform-plugins-5.0.25.1.tar.gz
Normal file
BIN
dde-qt5platform-plugins-5.0.25.1.tar.gz
Normal file
Binary file not shown.
@ -1,65 +0,0 @@
|
||||
%global repo qt5platform-plugins
|
||||
|
||||
Name: qt5dxcb-plugin
|
||||
Version: 5.0.17
|
||||
Release: 1
|
||||
Summary: Qt platform integration plugin for Deepin Desktop Environment
|
||||
License: GPLv3+
|
||||
URL: https://github.com/linuxdeepin/%{repo}
|
||||
Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
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
|
||||
%{repo} is the
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%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
|
||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
%qmake_qt5 PREFIX=%{_prefix}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
|
||||
%files
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE
|
||||
%{_qt5_plugindir}/platforms/libdxcb.so
|
||||
|
||||
%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
|
||||
- Initial release for OpenEuler
|
||||
Binary file not shown.
101
qt5platform-plugins.spec
Normal file
101
qt5platform-plugins.spec
Normal file
@ -0,0 +1,101 @@
|
||||
Name: dde-qt5platform-plugins
|
||||
Version: 5.0.25.1
|
||||
Release: 1
|
||||
Summary: Qt platform plugins for DDE
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/deepin-desktop-schemas
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package -n dde-qt5xcb-plugin
|
||||
Summary: %{summary}
|
||||
BuildRequires: qt5-devel
|
||||
BuildRequires: git
|
||||
BuildRequires: qt5-qtwayland-devel
|
||||
BuildRequires: qt5-qtdeclarative-devel
|
||||
BuildRequires: wayland-devel
|
||||
#BuildRequires: dde-waylandserver-devel
|
||||
#BuildRequires: dde-waylandclient-devel
|
||||
BuildRequires: xcb-util-image-devel
|
||||
BuildRequires: xcb-util-renderutil-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: xcb-util-wm-devel
|
||||
BuildRequires: mtdev-devel
|
||||
BuildRequires: libxkbcommon-x11-devel
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: libXrender-devel
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: fontconfig-devel
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: kf5-kwayland-devel
|
||||
BuildRequires: libqtxdg-devel
|
||||
BuildRequires: dtkwidget-devel
|
||||
BuildRequires: dtkcore-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: mtdev-devel
|
||||
BuildRequires: xcb-util-keysyms-devel
|
||||
BuildRequires: qt5-qtbase-private-devel
|
||||
|
||||
|
||||
Provides: qt5dxcb-plugin
|
||||
Obsoletes: qt5dxcb-plugin
|
||||
%description -n dde-qt5xcb-plugin
|
||||
%{summary}.
|
||||
|
||||
%package -n dde-qt5wayland-plugin
|
||||
Summary: %{summary}
|
||||
BuildRequires: qt5-devel
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtbase-static
|
||||
BuildRequires: libqtxdg-devel
|
||||
BuildRequires: dtkwidget-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: mtdev-devel
|
||||
BuildRequires: qt5-qtmultimedia-devel
|
||||
%description -n dde-qt5wayland-plugin
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
sed -i 's|wayland/wayland.pro|#wayland/wayland.pro|' qt5platform-plugins.pro
|
||||
|
||||
%build
|
||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
mkdir build && pushd build
|
||||
%qmake_qt5 ../
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%install
|
||||
%make_install -C build INSTALL_ROOT="%buildroot"
|
||||
|
||||
%files -n dde-qt5xcb-plugin
|
||||
%{_libdir}/qt5/plugins/platforms/libdxcb.so
|
||||
|
||||
|
||||
%files -n dde-qt5wayland-plugin
|
||||
#%{_libdir}/qt5/plugins/platforms/libdwayland.so
|
||||
#%{_libdir}/qt5/plugins/wayland-shell-integration/libkwayland-shell.so
|
||||
|
||||
%changelog
|
||||
* Fri Feb 25 2022 liweigang <liweiganga@uniontech.com> - 5.0.25.1-1
|
||||
- update to 5.0.25.1-1
|
||||
|
||||
* 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
|
||||
- Initial release for OpenEuler
|
||||
Loading…
x
Reference in New Issue
Block a user