avahi: Enable compatibility layer for libdns_sd

This commit is contained in:
Tee KOBAYASHI 2022-01-23 23:14:27 +09:00 committed by xtkoba
parent b66bc94c7f
commit 899db6a985
3 changed files with 15 additions and 0 deletions

View File

@ -9,6 +9,7 @@ TERMUX_PKG_SHA256=c15e750ef7c6df595fb5f2ce10cac0fee2353649600e6919ad08ae8871e494
TERMUX_PKG_DEPENDS="dbus, glib, libandroid-glob, libcap, libdaemon, libevent, libexpat"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-compat-libdns_sd
--enable-dbus
--disable-gdbm
--disable-gtk3
@ -24,3 +25,7 @@ termux_step_pre_configure() {
autoreconf -fi
LDFLAGS+=" -landroid-glob"
}
termux_step_post_make_install() {
ln -sf avahi-compat-libdns_sd/dns_sd.h $TERMUX_PREFIX/include/dns_sd.h
}

View File

@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="lib/libdns_sd.a lib/libdns_sd.la"
TERMUX_SUBPKG_DESCRIPTION="Compatibility layer for libdns_sd (static library)"
TERMUX_SUBPKG_DEPENDS="libdns-sd"

View File

@ -0,0 +1,7 @@
TERMUX_SUBPKG_INCLUDE="
include/avahi-compat-libdns_sd/
include/dns_sd.h
lib/libdns_sd.so
lib/pkgconfig/avahi-compat-libdns_sd.pc
"
TERMUX_SUBPKG_DESCRIPTION="Compatibility layer for libdns_sd"