diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2007-08-23 10:12:02 +0000 |
---|---|---|
committer | Philipp Zabel <philipp.zabel@gmail.com> | 2007-08-23 10:12:02 +0000 |
commit | 26a174cf1ca2fd570b0b6ccd95d7d43c07143d60 (patch) | |
tree | 3dfabf479437f1f6d3dfa55288e1648269b322ec /packages/avahi | |
parent | 86a5f26aa2d817152a8cb710771d1f405e40aedf (diff) |
avahi-python: provides avahi, includes python bindings
Diffstat (limited to 'packages/avahi')
-rw-r--r-- | packages/avahi/avahi-python_0.6.21.bb | 14 | ||||
-rw-r--r-- | packages/avahi/files/configure-check-pymod.patch | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/packages/avahi/avahi-python_0.6.21.bb b/packages/avahi/avahi-python_0.6.21.bb new file mode 100644 index 0000000000..8eaac073ac --- /dev/null +++ b/packages/avahi/avahi-python_0.6.21.bb @@ -0,0 +1,14 @@ +require avahi.inc +PR = "r0" + +# FIXME: without --enable-gtk, avahi-discover (pygtk) won't be built +FILES_avahi-discover = "" + +PROVIDES = "avahi" +DEPENDS += "python-native" + +SRC_URI += "file://dbus-pre-1.1.1-support.patch;patch=1 \ + file://configure-check-pymod.patch;patch=1" +S = "${WORKDIR}/avahi-${PV}" + +AVAHI_PYTHON = "--enable-python" diff --git a/packages/avahi/files/configure-check-pymod.patch b/packages/avahi/files/configure-check-pymod.patch new file mode 100644 index 0000000000..e2df5d6fc0 --- /dev/null +++ b/packages/avahi/files/configure-check-pymod.patch @@ -0,0 +1,27 @@ +Index: avahi-0.6.21/configure.ac +=================================================================== +--- avahi-0.6.21.orig/configure.ac 2007-08-16 21:36:12.000000000 +0200 ++++ avahi-0.6.21/configure.ac 2007-08-16 21:45:14.000000000 +0200 +@@ -700,10 +700,6 @@ + esac], + [HAVE_PYGTK=yes]) + +- if test "x$HAVE_PYGTK" = "xyes" ; then +- AM_CHECK_PYMOD(gtk,,,[AC_MSG_ERROR(Could not find Python module gtk)]) +- fi +- + + if test "x$HAVE_DBUS" = "xyes" ; then + AC_ARG_ENABLE(python-dbus, +@@ -715,11 +711,6 @@ + esac], + [HAVE_PYTHON_DBUS=yes]) + +- if test "x$HAVE_PYTHON_DBUS" = "xyes"; then +- AM_CHECK_PYMOD(dbus,,,[AC_MSG_ERROR(Could not find Python module dbus)]) +- fi +- +- AM_CHECK_PYMOD(socket,,,[AC_MSG_ERROR(Could not find Python module socket)]) + if test "x$HAVE_GDBM" = "xyes"; then + AM_CHECK_PYMOD(gdbm,,,[AC_MSG_ERROR(Could not find Python module gdbm)]) + fi |