bbb9261480
Remove libunwind-devel so it builds with llvm-libunwind (which is already linked to the D runtime and we don't want symbol mismatches). This required patching meson.build so it could use a library without pkgconfig files. Also disable LTO, which was causing linking failures.
28 lines
891 B
Bash
28 lines
891 B
Bash
# Template file for 'tilix'
|
|
pkgname=tilix
|
|
version=1.9.4
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Db_lto=false"
|
|
hostmakedepends="automake gettext-devel gdk-pixbuf glib-devel ldc po4a pkg-config
|
|
librsvg tar AppStream"
|
|
makedepends="dconf-devel gtkd-devel libglib-devel libvted-devel libX11-devel"
|
|
depends="gsettings-desktop-schemas vte3"
|
|
checkdepends="$depends"
|
|
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=2a9482770391d11d5edc8351d426c700c2cc6c194a30391ef2ae25bb7095b59b
|
|
patch_args=-Np1
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
[ -f hacks-applied ] || patch -Np0 -i ${FILESDIR}/musl-hacks.patch
|
|
touch hacks-applied
|
|
export DCFLAGS="-linker=bfd"
|
|
;;
|
|
esac
|
|
}
|