102 lines
2.9 KiB
RPMSpec
102 lines
2.9 KiB
RPMSpec
# Run tests in check section
|
|
# disable for bootstrapping
|
|
|
|
%global repo dde-qt5integration
|
|
%bcond_with check
|
|
%global with_debug 1
|
|
|
|
%if 0%{?with_debug}
|
|
%global debug_package %{nil}
|
|
%endif
|
|
|
|
Name: dde-qt5integration
|
|
Version: 5.1.19
|
|
Release: 1
|
|
Summary: Qt platform theme integration plugins for DDE
|
|
License: GPLv3+
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig(atk)
|
|
BuildRequires: dtkcore-devel
|
|
BuildRequires: dtkwidget-devel
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
BuildRequires: pkgconfig(freetype2)
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: gdk-pixbuf-xlib
|
|
BuildRequires: pkgconfig(ice)
|
|
BuildRequires: pkgconfig(libinput)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(pango)
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5OpenGL)
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
BuildRequires: pkgconfig(Qt5Xdg) >= 3.0.0
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xext)
|
|
BuildRequires: pkgconfig(xrender)
|
|
BuildRequires: pkgconfig(xcb)
|
|
BuildRequires: pkgconfig(mtdev)
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
BuildRequires: pkgconfig(Qt5MultimediaWidgets)
|
|
BuildRequires: qt5-qtbase-common
|
|
BuildRequires: gtest-devel
|
|
BuildRequires: gmock-devel
|
|
|
|
# for libQt5ThemeSupport.a
|
|
BuildRequires: qt5-qtbase-static
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
BuildRequires: make
|
|
|
|
|
|
Requires: libqtxdg-devel
|
|
|
|
%description
|
|
Qt platform theme integration plugins for DDE
|
|
Multiple Qt plugins to provide better Qt5 integration for DDE is included.
|
|
|
|
%prep
|
|
%autosetup -n %{repo}-%{version} -p1
|
|
|
|
%build
|
|
%qmake_qt5 PREFIX=%{_prefix} BASED_DTK_DIR=based-dtk
|
|
%make_build
|
|
|
|
%install
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_libdir}/qt5/plugins/iconengines/libdsvgicon.so
|
|
%{_libdir}/qt5/plugins/imageformats/libdsvg.so
|
|
%{_libdir}/qt5/plugins/platformthemes/libqdeepin.so
|
|
%{_libdir}/qt5/plugins/iconengines/libdtkbuiltin.so
|
|
%{_libdir}/qt5/plugins/styles/libchameleon.so
|
|
# target
|
|
%{_qt5_plugindir}/platformthemes/based-dtk/libqdeepin.so
|
|
%{_qt5_plugindir}/iconengines/based-dtk/libdsvgicon.so
|
|
%{_qt5_plugindir}/imageformats/based-dtk/libdsvg.so
|
|
%{_qt5_plugindir}/iconengines/based-dtk/libdtkbuiltin.so
|
|
%{_qt5_plugindir}/styles/based-dtk/libchameleon.so
|
|
%{_libdir}/qt5/plugins/iconengines/based-dtk/libxdgicon.so
|
|
%{_libdir}/qt5/plugins/iconengines/libxdgicon.so
|
|
|
|
%changelog
|
|
* Mon Apr 03 2023 liweiganga <liweiganga@uniontech.com> - 5.1.19-1
|
|
- update: update to 5.1.19
|
|
|
|
* Fri Feb 25 2022 liweigang <liweiganga@uniontech.com> - 5.1.12.3-1
|
|
- update to 5.1.12.3
|
|
|
|
* Fri Feb 11 2022 liweigang <liweiganga@uniontech.com> - 5.0.16-3
|
|
- fix buildRequires and build error
|
|
|
|
* Thu Oct 15 2020 weidong <weidong@uniontech.com> - 5.0.16-2
|
|
- Fixed BuildRequires
|
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.0.16-1
|
|
- Package init
|