mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
avahi: build and install python bindings
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e8225354cb
commit
711db51aaf
@ -44,9 +44,9 @@ ac_cv_func_chroot=no \
|
|||||||
--disable-dbm \
|
--disable-dbm \
|
||||||
--disable-gdbm \
|
--disable-gdbm \
|
||||||
--enable-libdaemon \
|
--enable-libdaemon \
|
||||||
--disable-python \
|
--enable-python \
|
||||||
--disable-pygtk \
|
--disable-pygtk \
|
||||||
--disable-python-dbus \
|
--enable-python-dbus \
|
||||||
--disable-mono \
|
--disable-mono \
|
||||||
--disable-monodoc \
|
--disable-monodoc \
|
||||||
--enable-autoipd \
|
--enable-autoipd \
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
|
PYTHON_LIB_DIR=`ls -d $INSTALL/usr/lib/python*`
|
||||||
|
|
||||||
add_user avahi x 495 495 "avahi-daemon" "/var/run/avahi-daemon" "/bin/sh"
|
add_user avahi x 495 495 "avahi-daemon" "/var/run/avahi-daemon" "/bin/sh"
|
||||||
add_group avahi 495
|
add_group avahi 495
|
||||||
|
|
||||||
@ -43,7 +45,6 @@ mkdir -p $INSTALL/etc/avahi/services
|
|||||||
cp $PKG_BUILD/avahi-daemon/sftp-ssh.service $INSTALL/etc/avahi/services
|
cp $PKG_BUILD/avahi-daemon/sftp-ssh.service $INSTALL/etc/avahi/services
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/dbus-1/system.d
|
mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||||
cp $PKG_BUILD/avahi-daemon/avahi-dbus.conf $INSTALL/etc/dbus-1/system.d
|
cp $PKG_BUILD/avahi-daemon/avahi-dbus.conf $INSTALL/etc/dbus-1/system.d
|
||||||
|
|
||||||
@ -69,6 +70,9 @@ mkdir -p $INSTALL/usr/lib
|
|||||||
cp -P $PKG_BUILD/avahi-client/.libs/*.so*[.0-9] $INSTALL/usr/lib/
|
cp -P $PKG_BUILD/avahi-client/.libs/*.so*[.0-9] $INSTALL/usr/lib/
|
||||||
cp -P $PKG_BUILD/avahi-compat-libdns_sd/.libs/*.so*[.0-9] $INSTALL/usr/lib/
|
cp -P $PKG_BUILD/avahi-compat-libdns_sd/.libs/*.so*[.0-9] $INSTALL/usr/lib/
|
||||||
|
|
||||||
|
mkdir -p $PYTHON_LIB_DIR/site-packages/avahi
|
||||||
|
cp -P $PKG_BUILD/avahi-python/avahi/*.py $PYTHON_LIB_DIR/site-packages/avahi
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/avahi
|
mkdir -p $INSTALL/usr/share/avahi
|
||||||
cp $PKG_BUILD/service-type-database/service-types $INSTALL/usr/share/avahi
|
cp $PKG_BUILD/service-type-database/service-types $INSTALL/usr/share/avahi
|
||||||
cp $PKG_BUILD/avahi-daemon/avahi-service.dtd $INSTALL/usr/share/avahi
|
cp $PKG_BUILD/avahi-daemon/avahi-service.dtd $INSTALL/usr/share/avahi
|
||||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://avahi.org/"
|
PKG_SITE="http://avahi.org/"
|
||||||
PKG_URL="http://www.avahi.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://www.avahi.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="expat libdaemon dbus connman"
|
PKG_DEPENDS="Python expat libdaemon dbus connman dbus-python"
|
||||||
PKG_BUILD_DEPENDS="toolchain expat libdaemon dbus"
|
PKG_BUILD_DEPENDS="toolchain Python expat libdaemon dbus dbus-python"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="network"
|
PKG_SECTION="network"
|
||||||
PKG_SHORTDESC="avahi: A Zeroconf mDNS/DNS-SD responder"
|
PKG_SHORTDESC="avahi: A Zeroconf mDNS/DNS-SD responder"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user