package: add libglade
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 27 Dec 2008 14:36:29 +0000 (14:36 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 27 Dec 2008 14:36:29 +0000 (14:36 -0000)
package/Config.in
package/libglade/Config.in [new file with mode: 0644]
package/libglade/libglade.mk [new file with mode: 0644]

index 1da66f9e2d6ba1e53840d59992fd9f7b5240fef9..5b7dd9ac64e82aa44101809d1eea2ed48dd8a4f5 100644 (file)
@@ -347,6 +347,7 @@ source "package/cairo/Config.in"
 source "package/pango/Config.in"
 source "package/libdrm/Config.in"
 source "package/liberation/Config.in"
+source "package/libglade/Config.in"
 source "package/libglib12/Config.in"
 source "package/libglib2/Config.in"
 source "package/libgtk12/Config.in"
diff --git a/package/libglade/Config.in b/package/libglade/Config.in
new file mode 100644 (file)
index 0000000..efed36b
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBGLADE
+       bool "libglade"
+       depends on BR2_PACKAGE_LIBGTK2
+       select BR2_PACKAGE_PKGCONFIG
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_ATK
+       select BR2_PACKAGE_LIBXML2
+       help
+         Libglade allows you to load glade interface files in a program
+         at runtime. It doesn't require GLADE to be used, but GLADE is
+         by far the easiest way to create the interface files.
+
+         http://ftp.gnome.org/pub/GNOME/sources/libglade/
diff --git a/package/libglade/libglade.mk b/package/libglade/libglade.mk
new file mode 100644 (file)
index 0000000..8540a61
--- /dev/null
@@ -0,0 +1,17 @@
+#############################################################
+#
+# libglade
+#
+#############################################################
+LIBGLADE_VERSION = 2.6.3
+LIBGLADE_SOURCE = libglade-$(LIBGLADE_VERSION).tar.bz2
+LIBGLADE_SITE = http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/
+LIBGLADE_INSTALL_STAGING = YES
+LIBGLADE_DEPENDENCIES = pkgconfig libglib2 libgtk2 atk libxml2
+
+$(eval $(call AUTOTARGETS,package,libglade))
+
+$(LIBGLADE_HOOK_POST_INSTALL):
+       rm -rf $(TARGET_DIR)/usr/share/gtk-doc \
+              $(TARGET_DIR)/usr/share/xml/libglade \
+              $(TARGET_DIR)/usr/bin/libglade-convert