hexchat: build with lua if LUAjit is unavailable.
This commit is contained in:
parent
35652cc194
commit
2909f67d6f
1 changed files with 12 additions and 8 deletions
|
@ -4,11 +4,12 @@ version=2.14.2
|
|||
revision=3
|
||||
build_style=meson
|
||||
configure_args="-Dwith-dbus=true -Dwith-ssl=true -Dwith-text=false
|
||||
-Dwith-perl=/usr/bin/perl -Dwith-python=python3"
|
||||
-Dwith-perl=/usr/bin/perl -Dwith-python=python3
|
||||
-Dwith-lua=$(vopt_if LuaJIT luajit lua)"
|
||||
hostmakedepends="pkg-config glib-devel"
|
||||
makedepends="gtk+-devel libressl-devel dbus-glib-devel perl libnotify-devel
|
||||
libcanberra-devel libxml2-devel pciutils-devel libproxy-devel LuaJIT-devel
|
||||
iso-codes python3-devel"
|
||||
libcanberra-devel libxml2-devel pciutils-devel libproxy-devel
|
||||
iso-codes python3-devel $(vopt_if LuaJIT LuaJIT-devel lua-devel)"
|
||||
depends="desktop-file-utils enchant"
|
||||
short_desc="A GTK+ based IRC client successor of Xchat"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -17,14 +18,17 @@ homepage="https://hexchat.github.io/"
|
|||
changelog="https://hexchat.readthedocs.org/en/latest/changelog.html"
|
||||
distfiles="https://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
|
||||
checksum=7792b9e52560fbd3e10d75bfb5d138a20913a87771d676d296547f1b4ac09618
|
||||
build_options="LuaJIT"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*-musl) : "LuaJIT is broken for musl cross arches" ;;
|
||||
aarch64*) : "LuaJIT is not supported on aarch64" ;;
|
||||
*) build_options_default+=" LuaJIT" ;;
|
||||
esac
|
||||
lib32disabled=yes
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
broken="cross builds currently broken"
|
||||
# dbus-binding-tools
|
||||
# xmllint
|
||||
# gdk-pixbuf-pixdata
|
||||
hostmakedepends+=" dbus-glib-devel libxml2-devel gdk-pixbuf"
|
||||
hostmakedepends+=" dbus-glib-devel libxml2-devel gdk-pixbuf perl"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue