diff --git a/srcpkgs/deepin-editor/template b/srcpkgs/deepin-editor/template new file mode 100644 index 00000000000..6fa65d8f728 --- /dev/null +++ b/srcpkgs/deepin-editor/template @@ -0,0 +1,22 @@ +# Template file for 'deepin-editor' +pkgname=deepin-editor +version=0.0.5 +revision=1 +build_style=qmake +hostmakedepends="qt5-qmake pkg-config" +makedepends="dtkwidget-devel dtkwm-devel libxcb-devel kcodecs-devel + xcb-util-devel qt5-svg-devel qt5-x11extras-devel libXtst-devel + syntax-highlighting-devel polkit-qt5-devel" +depends="qt5integration" +short_desc="Simple editor for Deepin" +maintainer="John " +license="GPL-3.0-or-later" +homepage="https://github.com/linuxdeepin/deepin-editor" +changelog="https://github.com/linuxdeepin/deepin-editor/blob/${version}/CHANGELOG.md" +distfiles="https://github.com/linuxdeepin/deepin-editor/archive/${version}.tar.gz" +checksum=3518e669b7203073fdc65e70cd68a8f0662a962d3bca5f72d42317961f6f45ec + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-svg-devel qt5-x11extras-devel kcodecs-devel + syntax-highlighting-devel" +fi