aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# metacity
|
|
#
|
|
################################################################################
|
|
|
|
# newer versions need libcanberra-gtk and gnome-doc-utils
|
|
METACITY_VERSION_MAJOR = 2.25
|
|
METACITY_VERSION = $(METACITY_VERSION_MAJOR).1
|
|
METACITY_SOURCE = metacity-$(METACITY_VERSION).tar.bz2
|
|
METACITY_SITE = http://ftp.gnome.org/pub/gnome/sources/metacity/$(METACITY_VERSION_MAJOR)
|
|
METACITY_LICENSE = GPLv2+
|
|
METACITY_LICENSE_FILES = COPYING
|
|
|
|
METACITY_CONF_OPTS = --x-includes=$(STAGING_DIR)/usr/include/X11 \
|
|
--x-libraries=$(STAGING_DIR)/usr/lib \
|
|
--disable-glibtest --disable-gconf \
|
|
--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))
|