package/gvfs: remove schema compile and cleanup hook
Dropping the need for this package to compile any schemas as the
libglib2 package (a dependency) already handles this during target
finalization.
In addition, libglib2 already removes schemas from the target during
target finalization so the gvfs-specific cleanup can be dropped.
Signed-off-by: James Knight <git@jdknight.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 7b5735cc69)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
aa290648ea
commit
d36d284bc2
@@ -157,16 +157,4 @@ GVFS_CONF_OPTS += \
|
||||
-Dtmpfilesdir=no
|
||||
endif
|
||||
|
||||
define GVFS_REMOVE_TARGET_SCHEMAS
|
||||
rm $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml
|
||||
endef
|
||||
|
||||
define GVFS_COMPILE_SCHEMAS
|
||||
$(HOST_DIR)/bin/glib-compile-schemas --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas $(STAGING_DIR)/usr/share/glib-2.0/schemas
|
||||
endef
|
||||
|
||||
GVFS_POST_INSTALL_TARGET_HOOKS += \
|
||||
GVFS_REMOVE_TARGET_SCHEMAS \
|
||||
GVFS_COMPILE_SCHEMAS
|
||||
|
||||
$(eval $(meson-package))
|
||||
|
||||
Reference in New Issue
Block a user