summaryrefslogtreecommitdiff
path: root/recipes/irda-utils/irdadump_0.9.16.bb
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 /recipes/irda-utils/irdadump_0.9.16.bb
parent73bf22892797343197a1548c287e274b0c3304a2 (diff)
irdadump: Migrated to glib-2.0.
Diffstat (limited to 'recipes/irda-utils/irdadump_0.9.16.bb')
-rw-r--r--recipes/irda-utils/irdadump_0.9.16.bb10
1 files changed, 6 insertions, 4 deletions
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