mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2025-02-23 23:15:02 +00:00
get-build-package.sh: adding copying of `ndk-patches` directory so that bionic-based packages can be compiled gpkg{dbus,docbook-*}: fixing shell paths for setup scripts (only relevant for debian-format packages)
37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://dbus.freedesktop.org
|
|
TERMUX_PKG_DESCRIPTION="Freedesktop.org message bus system"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux-pacman"
|
|
TERMUX_PKG_VERSION=1.15.6
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL="https://dbus.freedesktop.org/releases/dbus/dbus-$TERMUX_PKG_VERSION.tar.xz"
|
|
TERMUX_PKG_SHA256=f97f5845f9c4a5a1fb3df67dfa9e16b5a3fd545d348d6dc850cb7ccc9942bd8c
|
|
TERMUX_PKG_DEPENDS="libexpat-glibc, libx11-glibc"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--disable-libaudit
|
|
--disable-systemd
|
|
--disable-tests
|
|
--disable-xml-docs
|
|
--enable-inotify
|
|
--enable-x11-autolaunch
|
|
--with-test-socket-dir=$TERMUX_PREFIX_CLASSICAL/tmp
|
|
--with-session-socket-dir=$TERMUX_PREFIX_CLASSICAL/tmp
|
|
--with-x=auto
|
|
"
|
|
|
|
termux_step_create_debscripts() {
|
|
{
|
|
echo "#!${TERMUX_PREFIX_CLASSICAL}/bin/sh"
|
|
echo "if [ ! -e ${TERMUX_PREFIX}/var/lib/dbus/machine-id ]; then"
|
|
echo "mkdir -p ${TERMUX_PREFIX}/var/lib/dbus"
|
|
echo "LD_PRELOAD='' ${TERMUX_PREFIX}/bin/dbus-uuidgen > ${TERMUX_PREFIX}/var/lib/dbus/machine-id"
|
|
echo "fi"
|
|
echo "exit 0"
|
|
} > postinst
|
|
|
|
if [ "$TERMUX_PACKAGE_FORMAT" = "pacman" ]; then
|
|
echo "post_install" > postupg
|
|
fi
|
|
}
|