# Template file for 'deepin-terminal'
pkgname=deepin-terminal
version=3.0.7
revision=1
build_style=cmake
configure_args="-DTEST_BUILD=OFF"
hostmakedepends="glib-devel gobject-introspection gperf intltool pkg-config
 vala"
makedepends="json-glib-devel libgee08-devel librsvg-devel libsecret-devel
 libwnck-devel vala-devel vte3-devel glib-devel gdk-pixbuf-devel"
depends="deepin-menu expect"
short_desc="Deepin Terminal"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-terminal"
changelog="https://github.com/linuxdeepin/deepin-terminal/blob/master/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/deepin-terminal/archive/${version}.tar.gz"
checksum=4aba58856c3e607931937093f2cca93b6ac8027a3e0f78f92458a28c091cef02
nocross=yes

case $XBPS_TARGET_MACHINE in
	*-musl) CFLAGS="-DREG_NOERROR=REG_OK"
esac
