summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 16:01:03 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 16:01:03 +0100
commit5d09a6bd93085f07937da21e1b40c95e94bd3c15 (patch)
tree37514b99b4a6c3e9eabba5cb37a9f97e08277516
parentc3e0da13633ae54841418812db34d133705cf87f (diff)
downloadopenembedded-core-5d09a6bd93085f07937da21e1b40c95e94bd3c15.tar.gz
openembedded-core-5d09a6bd93085f07937da21e1b40c95e94bd3c15.tar.bz2
openembedded-core-5d09a6bd93085f07937da21e1b40c95e94bd3c15.tar.xz
openembedded-core-5d09a6bd93085f07937da21e1b40c95e94bd3c15.zip
gnome-mime-data: Fix pkgconfig file path, use autotools_stage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/gnome/gnome-mime-data/pkgconfig.patch12
-rw-r--r--meta/packages/gnome/gnome-mime-data_2.18.0.bb6
2 files changed, 16 insertions, 2 deletions
diff --git a/meta/packages/gnome/gnome-mime-data/pkgconfig.patch b/meta/packages/gnome/gnome-mime-data/pkgconfig.patch
new file mode 100644
index 000000000..de287e55a
--- /dev/null
+++ b/meta/packages/gnome/gnome-mime-data/pkgconfig.patch
@@ -0,0 +1,12 @@
+Index: gnome-mime-data-2.18.0/Makefile.am
+===================================================================
+--- gnome-mime-data-2.18.0.orig/Makefile.am 2009-06-11 17:27:48.000000000 +0100
++++ gnome-mime-data-2.18.0/Makefile.am 2009-06-11 17:27:59.000000000 +0100
+@@ -1,6 +1,6 @@
+ SUBDIRS = man po
+
+-pkgconfigdir = $(datadir)/pkgconfig
++pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = gnome-mime-data-2.0.pc
+
+ NULL=
diff --git a/meta/packages/gnome/gnome-mime-data_2.18.0.bb b/meta/packages/gnome/gnome-mime-data_2.18.0.bb
index a9797d229..9c91ca3f1 100644
--- a/meta/packages/gnome/gnome-mime-data_2.18.0.bb
+++ b/meta/packages/gnome/gnome-mime-data_2.18.0.bb
@@ -1,7 +1,9 @@
LICENSE = "GPL"
inherit gnome
+inherit autotools_stage
+PR = "r2"
+
+SRC_URI += "file://pkgconfig.patch;patch=1"
DEPENDS += "shared-mime-info intltool-native"
RDEPENDS = "shared-mime-info"
-
-FILES_${PN}-dev += "${datadir}/pkgconfig/*.pc"