avahi: Enable compatibility layer for libdns_sd
This commit is contained in:
parent
b66bc94c7f
commit
899db6a985
@ -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
|
||||
}
|
||||
|
3
packages/avahi/libdns-sd-static.subpackage.sh
Normal file
3
packages/avahi/libdns-sd-static.subpackage.sh
Normal 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"
|
7
packages/avahi/libdns-sd.subpackage.sh
Normal file
7
packages/avahi/libdns-sd.subpackage.sh
Normal 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"
|
Loading…
Reference in New Issue
Block a user