Aegisub: mark broken on musl, fix on wayland

This commit is contained in:
Rasmus Thomsen 2018-10-05 19:33:58 +00:00 committed by maxice8
parent 94d8969704
commit 310cb5d6bf

View File

@ -1,7 +1,7 @@
# Template file for 'Aegisub'
pkgname=Aegisub
version=3.2.2
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-update-checker --with-alsa --with-ffms2
--with-wx-config=wx-config-gtk3 $(vopt_with fftw fftw3) $(vopt_with openal)
@ -28,6 +28,7 @@ desc_option_portaudio="Enable support for portaudio"
LDFLAGS+=" -pthread"
case "$XBPS_TARGET_MACHINE" in
*musl) broken="segfaults on startup";;
armv7l*|armv6l*) broken="error: invalid conversion from 'const char**' to 'char**' [-fpermissive]"
esac
@ -39,10 +40,14 @@ post_extract() {
}
pre_configure() {
# Aegisub fails to start on Wayland, so we have to force GDK to start it
# with the x11 backend
sed "s/Exec=@AEGISUB_COMMAND@ %f/Exec=env GDK_BACKEND=x11 @AEGISUB_COMMAND@ %f/" -i \
packages/desktop/aegisub.desktop.template.in
autoreconf -fi
}
do_install() {
make DESTDIR=$DESTDIR install
post_install() {
vlicense LICENCE
}