pkgconfig: sync with poky
authorKoen Kooi <koen@openembedded.org>
Mon, 2 Jun 2008 08:56:39 +0000 (08:56 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 2 Jun 2008 08:56:39 +0000 (08:56 +0000)
* pkgconfig 0.23 added, disabled by default
* fiddled with 0.22 SRC_URI to to keep the .inc sane

packages/pkgconfig/pkgconfig-0.22/sysrootfix.patch [moved from packages/pkgconfig/pkgconfig-0.22/sysroot-support.patch with 100% similarity]
packages/pkgconfig/pkgconfig-native_0.23.bb [new file with mode: 0644]
packages/pkgconfig/pkgconfig-sdk_0.23.bb
packages/pkgconfig/pkgconfig.inc
packages/pkgconfig/pkgconfig_0.22.bb
packages/pkgconfig/pkgconfig_0.23.bb [new file with mode: 0644]

diff --git a/packages/pkgconfig/pkgconfig-native_0.23.bb b/packages/pkgconfig/pkgconfig-native_0.23.bb
new file mode 100644 (file)
index 0000000..c4028ab
--- /dev/null
@@ -0,0 +1,8 @@
+require pkgconfig.inc
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
+
+DEFAULT_PREFERENCE = "-1"
+
+S = "${WORKDIR}/pkg-config-${PV}/"
+inherit native
+DEPENDS = ""
index 8c40f04..3b20371 100644 (file)
@@ -1,11 +1,6 @@
 require pkgconfig.inc
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
 
-SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
-           file://autofoo.patch;patch=1 \
-           file://sysrootfix.patch;patch=1 \
-           file://glibconfig-sysdefs.h"
-
 S = "${WORKDIR}/pkg-config-${PV}/"
 inherit sdk
 DEPENDS = ""
index 77c9e1c..939199b 100644 (file)
@@ -5,10 +5,11 @@ It replaces the ubiquitous *-config scripts you may have \
 seen with a single tool."
 HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
 LICENSE = "GPL"
-PR = "r2"
+PR = "r7"
 
 SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
-           file://sysroot-support.patch;patch=1 \
+           file://autofoo.patch;patch=1 \
+           file://sysrootfix.patch;patch=1 \
            file://glibconfig-sysdefs.h"
 
 S = "${WORKDIR}/pkg-config-${PV}/"
index 599e1c8..a0f5241 100644 (file)
@@ -1,3 +1,2 @@
 require pkgconfig.inc
 
-SRC_URI += "file://autofoo.patch;patch=1"
diff --git a/packages/pkgconfig/pkgconfig_0.23.bb b/packages/pkgconfig/pkgconfig_0.23.bb
new file mode 100644 (file)
index 0000000..154e302
--- /dev/null
@@ -0,0 +1,6 @@
+require pkgconfig.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+DEPENDS += "glib-2.0"
+EXTRA_OECONF = "--with-installed-glib"