mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
9e90d1b31a
Some packages have issues with parallel builds and need to set TERMUX_MAKE_PROCESSES=1. All other build variables that package recipes set are prefixed with TERMUX_PKG, use that for MAKE_PROCESSES as well for consistency. %ci:no-build
25 lines
854 B
Bash
25 lines
854 B
Bash
TERMUX_PKG_HOMEPAGE=https://dbus.freedesktop.org
|
|
TERMUX_PKG_DESCRIPTION="GLib bindings for DBUS"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.112
|
|
TERMUX_PKG_REVISION=4
|
|
TERMUX_PKG_SRCURL="https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-$TERMUX_PKG_VERSION.tar.gz"
|
|
TERMUX_PKG_SHA256=7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a
|
|
TERMUX_PKG_DEPENDS="dbus, glib"
|
|
TERMUX_PKG_BREAKS="dbus-glib-dev"
|
|
TERMUX_PKG_REPLACES="dbus-glib-dev"
|
|
TERMUX_PKG_HOSTBUILD=true
|
|
|
|
termux_step_host_build() {
|
|
(cd $TERMUX_PKG_SRCDIR && autoconf -i)
|
|
$TERMUX_PKG_SRCDIR/configure
|
|
make -j $TERMUX_PKG_MAKE_PROCESSES
|
|
}
|
|
|
|
termux_step_pre_configure() {
|
|
export GLIB_GENMARSHAL=glib-genmarshal
|
|
autoconf -i
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-dbus-binding-tool=$TERMUX_PKG_HOSTBUILD_DIR/dbus/dbus-binding-tool"
|
|
}
|