33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'deepin-terminal'
|
|
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"
|
|
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=fc0586a48f85a8151602c205004118429f22c504cd25881eecfd553849fe35f2
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
*-musl) CFLAGS="-DREG_NOERROR=REG_OK"
|
|
esac
|
|
|
|
post_patch() {
|
|
# latest vala string#to_utf8() return char[]
|
|
# but term.feed_child expects "unowned uint8[]"
|
|
vsed -i 's/[.]to_utf8()/.data/g' \
|
|
widget/command_panel.vala \
|
|
widget/terminal.vala \
|
|
widget/workspace.vala
|
|
}
|