Tristan Ross
6 years ago
committed by
Fredrik Fornwall
4 changed files with 70 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://dbus.freedesktop.org |
|||
TERMUX_PKG_DESCRIPTION="GLib bindings for DBUS" |
|||
TERMUX_PKG_LICENSE="GPL-2.0" |
|||
TERMUX_PKG_MAINTAINER="Tristan Ross <spaceboyross@yandex.com>" |
|||
TERMUX_PKG_VERSION=0.110 |
|||
TERMUX_PKG_REVISION=1 |
|||
TERMUX_PKG_SRCURL="https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-$TERMUX_PKG_VERSION.tar.gz" |
|||
TERMUX_PKG_SHA256=7ce4760cf66c69148f6bd6c92feaabb8812dee30846b24cd0f7395c436d7e825 |
|||
TERMUX_PKG_DEPENDS="dbus, glib" |
|||
TERMUX_PKG_HOSTBUILD=true |
|||
|
|||
termux_step_host_build() { |
|||
(cd $TERMUX_PKG_SRCDIR && autoconf -i) |
|||
$TERMUX_PKG_SRCDIR/configure |
|||
make -j $TERMUX_MAKE_PROCESSES |
|||
} |
|||
|
|||
termux_step_pre_configure() { |
|||
autoconf -i |
|||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-dbus-binding-tool=$TERMUX_PKG_HOSTBUILD_DIR/dbus/dbus-binding-tool" |
|||
} |
@ -0,0 +1,24 @@ |
|||
diff -uNr dbus-glib-0.110/configure dbus-glib-0.110.mod/configure
|
|||
--- dbus-glib-0.110/configure 2018-01-29 14:42:36.000000000 +0200
|
|||
+++ dbus-glib-0.110.mod/configure 2019-07-13 17:05:40.542291530 +0300
|
|||
@@ -12922,7 +12922,7 @@
|
|||
|
|||
fi |
|||
|
|||
-GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
|
|||
+GLIB_GENMARSHAL=glib-genmarshal
|
|||
|
|||
|
|||
|
|||
diff -uNr dbus-glib-0.110/configure.ac dbus-glib-0.110.mod/configure.ac
|
|||
--- dbus-glib-0.110/configure.ac 2018-01-29 14:42:18.000000000 +0200
|
|||
+++ dbus-glib-0.110.mod/configure.ac 2019-07-13 17:04:09.085145079 +0300
|
|||
@@ -265,7 +265,7 @@
|
|||
[Warn on use of APIs deprecated before GLib 2.32]) |
|||
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.40, gobject-2.0 >= 2.40, gio-2.0 >= 2.40]) |
|||
|
|||
-GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
|
|||
+GLIB_GENMARSHAL=glib-genmarshal
|
|||
AC_SUBST(GLIB_GENMARSHAL) |
|||
|
|||
dnl GLib flags |
@ -0,0 +1,9 @@ |
|||
TERMUX_PKG_HOMEPAGE=http://telepathy.freedesktop.org/ |
|||
TERMUX_PKG_DESCRIPTION="GLib bindings for the Telepathy D-Bus protocol" |
|||
TERMUX_PKG_LICENSE="LGPL-2.1" |
|||
TERMUX_PKG_MAINTAINER="Tristan Ross <spaceboyross@yandex.com>" |
|||
TERMUX_PKG_VERSION=0.24.1 |
|||
TERMUX_PKG_SRCURL=https://telepathy.freedesktop.org/releases/telepathy-glib/telepathy-glib-$TERMUX_PKG_VERSION.tar.gz |
|||
TERMUX_PKG_SHA256=9e0df1d8f857e0270cf0b32e2d1ca5a24aa7282873361785d573f72ad7f7d5eb |
|||
TERMUX_PKG_DEPENDS="dbus-glib" |
|||
TERMUX_PKG_BUILD_IN_SRC=true |
@ -0,0 +1,16 @@ |
|||
diff -uNr telepathy-glib-0.24.1/configure telepathy-glib-0.24.1.mod/configure
|
|||
--- telepathy-glib-0.24.1/configure 2014-08-25 15:30:45.000000000 +0300
|
|||
+++ telepathy-glib-0.24.1.mod/configure 2019-07-13 18:01:59.342405992 +0300
|
|||
@@ -13298,10 +13298,10 @@
|
|||
|
|||
|
|||
|
|||
-GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
|
|||
+GLIB_GENMARSHAL=glib-genmarshal
|
|||
|
|||
|
|||
-GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
|
|||
+GLIB_MKENUMS=glib-mkenums
|
|||
|
|||
|
|||
|
Loading…
Reference in new issue