diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2011-05-18 12:00:16 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2011-05-18 18:22:42 +0200 |
commit | 0710636813dfceea3299b40983863fb0fbc0f566 (patch) | |
tree | fe9ae2a6de2de4ab3ae4dca0097f761b4bd77757 /package/libgtk2/libgtk2.mk | |
parent | e3d389d6d609c60afa31f179bdf8e04901d95ae6 (diff) | |
download | buildroot-novena-0710636813dfceea3299b40983863fb0fbc0f566.tar.gz buildroot-novena-0710636813dfceea3299b40983863fb0fbc0f566.zip |
libgtk2: add option to install the gtk-demo program
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libgtk2/libgtk2.mk')
-rw-r--r-- | package/libgtk2/libgtk2.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libgtk2/libgtk2.mk b/package/libgtk2/libgtk2.mk index 3586c86b2..169ef9745 100644 --- a/package/libgtk2/libgtk2.mk +++ b/package/libgtk2/libgtk2.mk @@ -114,11 +114,13 @@ else LIBGTK2_CONF_OPT += --disable-cups endif +ifeq ($(BR2_PACKAGE_LIBGTK2_DEMO),) define LIBGTK2_POST_INSTALL_TWEAKS rm -rf $(TARGET_DIR)/usr/share/gtk-2.0/demo $(TARGET_DIR)/usr/bin/gtk-demo endef LIBGTK2_POST_INSTALL_TARGET_HOOKS += LIBGTK2_POST_INSTALL_TWEAKS +endif # We do not build a full version of libgtk2 for the host, because that # requires compiling Cairo, Pango, ATK and X.org for the |