summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2010-01-19 21:05:24 +0000
committerutx@penguin.cz <utx@penguin.cz>2010-01-19 21:05:24 +0000
commit053e7c83402029c4fa887a05aec153e043174122 (patch)
tree1ef96f59264e8ef0211ce286da04dbfccce0cd7a
parent73bf22892797343197a1548c287e274b0c3304a2 (diff)
irdadump: Migrated to glib-2.0.
-rw-r--r--recipes/irda-utils/irdadump/glib2.patch13
-rw-r--r--recipes/irda-utils/irdadump_0.9.16.bb10
2 files changed, 19 insertions, 4 deletions
diff --git a/recipes/irda-utils/irdadump/glib2.patch b/recipes/irda-utils/irdadump/glib2.patch
new file mode 100644
index 0000000000..ea37ab151b
--- /dev/null
+++ b/recipes/irda-utils/irdadump/glib2.patch
@@ -0,0 +1,13 @@
+Index: irdadump/configure.in
+===================================================================
+--- irdadump.orig/configure.in
++++ irdadump/configure.in
+@@ -9,7 +9,7 @@ AC_PROG_MAKE_SET
+
+ dnl Checks for libraries.
+ AM_PROG_LIBTOOL
+-AM_PATH_GLIB(1.2.0)
++AM_PATH_GLIB_2_0
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/recipes/irda-utils/irdadump_0.9.16.bb b/recipes/irda-utils/irdadump_0.9.16.bb
index 5c64b2dd96..90fd03ecb3 100644
--- a/recipes/irda-utils/irdadump_0.9.16.bb
+++ b/recipes/irda-utils/irdadump_0.9.16.bb
@@ -1,14 +1,16 @@
DESCRIPTION = "Utility to dump IrDA traffic."
SECTION = "base"
LICENSE = "GPL"
-DEPENDS = "glib-1.2"
+DEPENDS = "glib-2.0 pkgconfig"
+PR = "r1"
-SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
+ file://glib2.patch;patch=1"
S="${WORKDIR}/irda-utils-${PV}/irdadump"
-EXTRA_CFLAGS += "-I${STAGING_INCDIR}/glib-1.2/"
-EXTRA_LDFLAGS += "-lglib"
+EXTRA_CFLAGS += "`pkg-config --cflags glib-2.0`"
+EXTRA_LDFLAGS += "`pkg-config --libs glib-2.0`"
inherit autotools