2019-08-14 18:36:00 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://dbus.freedesktop.org
|
|
|
|
TERMUX_PKG_DESCRIPTION="Freedesktop.org message bus system"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-05-14 00:01:15 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
2020-06-04 22:09:23 +02:00
|
|
|
TERMUX_PKG_VERSION=1.12.18
|
2020-07-22 21:15:05 +02:00
|
|
|
TERMUX_PKG_REVISION=3
|
2019-08-14 18:36:00 +02:00
|
|
|
TERMUX_PKG_SRCURL="https://dbus.freedesktop.org/releases/dbus/dbus-$TERMUX_PKG_VERSION.tar.gz"
|
2020-06-04 22:09:23 +02:00
|
|
|
TERMUX_PKG_SHA256=64cf4d70840230e5e9bc784d153880775ab3db19d656ead8a0cb9c0ab5a95306
|
2019-08-14 19:03:15 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libexpat, libx11"
|
2019-08-14 18:36:00 +02:00
|
|
|
TERMUX_PKG_BREAKS="dbus-dev"
|
|
|
|
TERMUX_PKG_REPLACES="dbus-dev"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2019-08-14 19:03:15 +02:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-libaudit
|
|
|
|
--disable-systemd
|
|
|
|
--disable-tests
|
|
|
|
--enable-x11-autolaunch
|
|
|
|
--with-test-socket-dir=$TERMUX_PREFIX/tmp
|
2019-08-18 20:00:19 +02:00
|
|
|
--with-session-socket-dir=$TERMUX_PREFIX/tmp
|
2019-08-14 19:03:15 +02:00
|
|
|
--with-x
|
|
|
|
"
|
2019-08-14 18:36:00 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
export LIBS="-llog"
|
2020-06-04 22:28:39 +02:00
|
|
|
autoreconf -fi
|
2019-08-14 18:36:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_create_debscripts() {
|
|
|
|
{
|
|
|
|
echo "#!${TERMUX_PREFIX}/bin/sh"
|
|
|
|
echo "if [ ! -e ${TERMUX_PREFIX}/var/lib/dbus/machine-id ]; then"
|
|
|
|
echo "mkdir -p ${TERMUX_PREFIX}/var/lib/dbus"
|
|
|
|
echo "dbus-uuidgen > ${TERMUX_PREFIX}/var/lib/dbus/machine-id"
|
|
|
|
echo "fi"
|
|
|
|
echo "exit 0"
|
|
|
|
} > postinst
|
|
|
|
}
|