# Template file for 'deepin-editor'
pkgname=deepin-editor
version=1.2.6.3
revision=1
build_style=cmake
hostmakedepends="qt5-qmake qt5-host-tools pkg-config"
makedepends="dtkwidget-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 <johnz@posteo.net>"
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=87f2518c947faafc4a91a042d693b9d60592b5ef6a77e524eecaaf3c0642de1d
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DWidget -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DCore"