diff --git a/srcpkgs/qt5integration/patches/libqtxdg.patch b/srcpkgs/qt5integration/patches/libqtxdg.patch new file mode 100644 index 00000000000..1b50fa0c790 --- /dev/null +++ b/srcpkgs/qt5integration/patches/libqtxdg.patch @@ -0,0 +1,11 @@ +--- platformthemeplugin/main.cpp 2018-03-14 10:03:49.000000000 +0100 ++++ - 2018-05-10 16:31:27.176858073 +0200 +@@ -18,7 +18,7 @@ + #include + #include "qdeepintheme.h" + +-#include ++#include + + QT_BEGIN_NAMESPACE + diff --git a/srcpkgs/qt5integration/template b/srcpkgs/qt5integration/template new file mode 100644 index 00000000000..640d81c52a6 --- /dev/null +++ b/srcpkgs/qt5integration/template @@ -0,0 +1,19 @@ +# Template file for 'qt5integration' +pkgname=qt5integration +version=0.3.0 +revision=1 +build_style=qmake +hostmakedepends="qt5-qmake pkg-config" +makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel + qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel gtk+-devel" +short_desc="Qt platform theme integration plugins for Deepin Desktop Environment" +maintainer="John " +license="GPL-3.0-or-later" +homepage="https://github.com/linuxdeepin/qt5integration" +changelog="https://github.com/linuxdeepin/qt5integration/blob/${version}/CHANGELOG.md" +distfiles="https://github.com/linuxdeepin/qt5integration/archive/${version}.tar.gz" +checksum=abe242eb1315b0bcedd36aac14c888b17de564190e37032b51166fba9e6b71f8 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-devel qt5-x11extras-devel" +fi