void-packages/srcpkgs/tilix/template

29 lines
870 B
Bash

# Template file for 'tilix'
pkgname=tilix
version=1.9.3
revision=4
build_style=gnu-configure
hostmakedepends="automake gettext-devel gdk-pixbuf glib-devel ldc po4a pkg-config
librsvg tar"
makedepends="dconf-devel gtkd-devel libglib-devel libvted-devel libX11-devel"
depends="gsettings-desktop-schemas vte3"
short_desc="Tiling terminal emulator for Linux"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MPL-2.0"
homepage="https://gnunn1.github.io/tilix-web/"
distfiles="https://github.com/gnunn1/${pkgname}/archive/${version}.tar.gz"
checksum=f1b4dbbd60f4b9a91e0ab0954e3e6b8ebe5442d5fbb760a554a733903e44a1de
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*musl)
patch -Np0 -i ${FILESDIR}/musl-hacks.patch
export DCFLAGS="-linker=bfd"
;;
esac
vsed -i source/gx/tilix/terminal/monitor.d -e 's/processes.values()/processes/g'
autoreconf -fi
}