void-packages/srcpkgs/deepin-editor/template

23 lines
936 B
Bash

# Template file for 'deepin-editor'
pkgname=deepin-editor
version=1.2.9.1
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 <me@johnnynator.dev>"
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=8aabef5ae31f96d781dc24b27390b1dd8e28903f3f9f33e008637f6a45280159
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DWidget -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DCore"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" dtkwidget-devel"
fi