diff --git a/srcpkgs/deepin-screenshot/patches/QPainterPath.patch b/srcpkgs/deepin-screenshot/patches/QPainterPath.patch deleted file mode 100644 index 75ca164fa3..0000000000 --- a/srcpkgs/deepin-screenshot/patches/QPainterPath.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/widgets/shapeswidget.cpp 2019-07-08 07:43:20.000000000 +0200 -+++ src/widgets/shapeswidget.cpp 2020-09-01 12:54:18.856717576 +0200 -@@ -21,6 +21,7 @@ - - #include - #include -+#include - #include - - #include "src/utils/calculaterect.h" diff --git a/srcpkgs/deepin-screenshot/template b/srcpkgs/deepin-screenshot/template deleted file mode 100644 index be5d21fb2f..0000000000 --- a/srcpkgs/deepin-screenshot/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'deepin-screenshot' -pkgname=deepin-screenshot -version=5.0.0 -revision=2 -build_style=cmake -hostmakedepends="pkg-config qt5-qmake" -makedepends="dtkwidget-devel dtkwm-devel libXtst-devel qt5-svg-devel - qt5-x11extras-devel xcb-util-devel" -depends="deepin-turbo qt5integration" -short_desc="Deepin Screenshot App" -maintainer="John " -license="GPL-3.0-or-later" -homepage="https://github.com/linuxdeepin/deepin-screenshot" -changelog="https://github.com/linuxdeepin/deepin-screenshot/blob/${version}/CHANGELOG.md" -distfiles="https://github.com/linuxdeepin/deepin-screenshot/archive/${version}.tar.gz" -checksum=1d793a9a7d1dedbf0bf36970035d5d3c7888cad195ae7e1ccd77e47b5f9c37b0 -CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.16/DWidget" -CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.16/DCore" -CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.16/DWm" - -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" dtkwidget-devel dtkwm-devel" -fi - -pre_configure() { - sed -i '/^set(CMAKE_CXX_FLAGS.*/d' CMakeLists.txt -} - -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-x11extras-devel" -fi