mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
libgtk2: convert old-style hook to new-style
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
fa6c7989ac
commit
39c781f33a
@ -119,6 +119,13 @@ else
|
|||||||
LIBGTK2_CONF_OPT += --disable-cups
|
LIBGTK2_CONF_OPT += --disable-cups
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
define LIBGTK2_POST_INSTALL_TWEAKS
|
||||||
|
$(INSTALL) -m 755 package/libgtk2/S26libgtk2 $(TARGET_DIR)/etc/init.d/
|
||||||
|
rm -rf $(TARGET_DIR)/usr/share/gtk-2.0/demo $(TARGET_DIR)/usr/bin/gtk-demo
|
||||||
|
endef
|
||||||
|
|
||||||
|
LIBGTK2_POST_INSTALL_TARGET_HOOKS += LIBGTK_POST_INSTALL_TWEAKS
|
||||||
|
|
||||||
# We do not build a full version of libgtk2 for the host, because that
|
# We do not build a full version of libgtk2 for the host, because that
|
||||||
# requires compiling Cairo, Pango, ATK and X.org for the
|
# requires compiling Cairo, Pango, ATK and X.org for the
|
||||||
# host. Therefore, we patch it to remove dependencies, and we hack the
|
# host. Therefore, we patch it to remove dependencies, and we hack the
|
||||||
@ -155,8 +162,3 @@ endef
|
|||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,libgtk2))
|
$(eval $(call AUTOTARGETS,package,libgtk2))
|
||||||
$(eval $(call AUTOTARGETS,package,libgtk2,host))
|
$(eval $(call AUTOTARGETS,package,libgtk2,host))
|
||||||
|
|
||||||
$(LIBGTK2_HOOK_POST_INSTALL):
|
|
||||||
$(INSTALL) -m 755 package/libgtk2/S26libgtk2 $(TARGET_DIR)/etc/init.d/
|
|
||||||
rm -rf $(TARGET_DIR)/usr/share/gtk-2.0/demo $(TARGET_DIR)/usr/bin/gtk-demo
|
|
||||||
touch $@
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user