-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathqt5platform-plugins.spec
More file actions
99 lines (82 loc) · 2.5 KB
/
qt5platform-plugins.spec
File metadata and controls
99 lines (82 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
%define specrelease 12%{?dist}
%if 0%{?openeuler}
%define specrelease 1
%endif
Name: dde-qt5platform-plugins
Version: 5.7.30
Release: 1%{?dist}
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: pkg-config
BuildRequires: mtdev-devel
BuildRequires: xcb-util-keysyms-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
* Tue Apr 21 2021 uoser <uoser@uniontech.com> - 5.0.25.1-1
- update to 5.0.25.1-1