summaryrefslogtreecommitdiff
path: root/packages/libglade
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libglade')
-rw-r--r--packages/libglade/libglade-2.4.0/no-xml2.patch0
-rw-r--r--packages/libglade/libglade_2.4.0.bb31
2 files changed, 31 insertions, 0 deletions
diff --git a/packages/libglade/libglade-2.4.0/no-xml2.patch b/packages/libglade/libglade-2.4.0/no-xml2.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libglade/libglade-2.4.0/no-xml2.patch
diff --git a/packages/libglade/libglade_2.4.0.bb b/packages/libglade/libglade_2.4.0.bb
index e69de29bb2..a4686f800b 100644
--- a/packages/libglade/libglade_2.4.0.bb
+++ b/packages/libglade/libglade_2.4.0.bb
@@ -0,0 +1,31 @@
+LICENSE = LGPL
+DESCRIPTION = "Runtime support for GTK interface builder"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "gtk+ gtk-doc"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+
+inherit autotools pkgconfig gnome
+
+PR = "r2"
+
+SRC_URI += "file://glade-cruft.patch;patch=1 file://no-xml2.patch;patch=1"
+
+EXTRA_OECONF += "--without-libxml2"
+
+PACKAGES += " ${PN}-data"
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-data = "${datadir}/xml/libglade/glade-2.0.dtd"
+FILES_${PN}-dev += "${bindir}/libglade-convert"
+#RDEPENDS_${PN} = "${PN}-data"
+
+headers = "glade-build.h glade-init.h glade-parser.h glade-xml.h glade.h"
+
+do_stage () {
+ oe_libinstall -a -so -C glade libglade-2.0 ${STAGING_LIBDIR}
+
+ mkdir -p ${STAGING_INCDIR}/libglade-2.0/glade
+ for i in ${headers}; do
+ install -m 0644 ${S}/glade/$i ${STAGING_INCDIR}/libglade-2.0/glade/$i
+ done
+}