deeping-terminal: fix cross-compile

This commit is contained in:
Đoàn Trần Công Danh 2020-04-04 00:07:41 +07:00 committed by Juan RP
parent 48e4aa7260
commit 573635b376

View file

@ -3,6 +3,7 @@ pkgname=deepin-terminal
version=5.0.0
revision=2
build_style=cmake
build_helper="gir"
configure_args="-DTEST_BUILD=OFF -DUSE_VENDOR_LIB=OFF"
hostmakedepends="glib-devel gobject-introspection gperf intltool pkg-config
vala"
@ -16,7 +17,6 @@ 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=fc0586a48f85a8151602c205004118429f22c504cd25881eecfd553849fe35f2
nocross=yes
case $XBPS_TARGET_MACHINE in
*-musl) CFLAGS="-DREG_NOERROR=REG_OK"