8dbab113a0
Even though libxml-parser-perl had a Config.in file with an option to enable it on the target, this option was hidden by a dependency on BR2_HOST_ONLY. So in practice, it was not possible to enable libxml-parser-perl on the target. This allows us to rename libxml-parser-perl to perl-xml-parser to follow the new naming convention of Perl packages, without having to introduce Config.in.legacy material. In addition to this rename, the package is converted to use the newly introduced Perl package infrastructure. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# metacity
|
|
#
|
|
################################################################################
|
|
|
|
# newer versions need libcanberra-gtk and gnome-doc-utils
|
|
METACITY_VERSION_MAJOR = 2.25
|
|
METACITY_VERSION_MINOR = 1
|
|
METACITY_VERSION = $(METACITY_VERSION_MAJOR).$(METACITY_VERSION_MINOR)
|
|
METACITY_SOURCE = metacity-$(METACITY_VERSION).tar.bz2
|
|
METACITY_SITE = http://ftp.gnome.org/pub/gnome/sources/metacity/$(METACITY_VERSION_MAJOR)
|
|
|
|
METACITY_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
|
|
--x-libraries=$(STAGING_DIR)/usr/lib \
|
|
--disable-glibtest --disable-gconf \
|
|
--disable-dependency-tracking \
|
|
--disable-sm --disable-startup-notification
|
|
|
|
METACITY_DEPENDENCIES = libgtk2 \
|
|
xlib_libX11 \
|
|
host-perl-xml-parser \
|
|
xlib_libXcomposite \
|
|
xlib_libXfixes \
|
|
xlib_libXrender \
|
|
xlib_libXdamage
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
|
|
METACITY_DEPENDENCIES += xlib_libXcursor
|
|
endif
|
|
|
|
define METACITY_INSTALL_XSESSION
|
|
install -D package/metacity/Xsession $(TARGET_DIR)/etc/X11/Xsession
|
|
endef
|
|
|
|
METACITY_POST_INSTALL_TARGET_HOOKS += METACITY_INSTALL_XSESSION
|
|
|
|
$(eval $(autotools-package))
|