2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-01-15 23:34:53 +01:00
|
|
|
#
|
|
|
|
# metacity
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-01-15 23:34:53 +01:00
|
|
|
|
2011-02-23 22:37:47 +01:00
|
|
|
# newer versions need libcanberra-gtk and gnome-doc-utils
|
|
|
|
METACITY_VERSION_MAJOR = 2.25
|
2014-03-17 09:06:41 +01:00
|
|
|
METACITY_VERSION = $(METACITY_VERSION_MAJOR).1
|
2009-05-06 17:09:16 +02:00
|
|
|
METACITY_SOURCE = metacity-$(METACITY_VERSION).tar.bz2
|
2011-02-23 22:37:47 +01:00
|
|
|
METACITY_SITE = http://ftp.gnome.org/pub/gnome/sources/metacity/$(METACITY_VERSION_MAJOR)
|
2009-05-06 17:09:16 +02:00
|
|
|
|
|
|
|
METACITY_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
|
|
|
|
--x-libraries=$(STAGING_DIR)/usr/lib \
|
|
|
|
--disable-glibtest --disable-gconf \
|
2007-01-15 23:34:53 +01:00
|
|
|
--disable-dependency-tracking \
|
2009-05-06 17:09:16 +02:00
|
|
|
--disable-sm --disable-startup-notification
|
2007-01-15 23:34:53 +01:00
|
|
|
|
2013-01-06 12:29:34 +01:00
|
|
|
METACITY_DEPENDENCIES = libgtk2 \
|
|
|
|
xlib_libX11 \
|
2014-02-23 15:17:17 +01:00
|
|
|
host-perl-xml-parser \
|
2013-01-06 12:29:34 +01:00
|
|
|
xlib_libXcomposite \
|
|
|
|
xlib_libXfixes \
|
|
|
|
xlib_libXrender \
|
|
|
|
xlib_libXdamage
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
|
|
|
|
METACITY_DEPENDENCIES += xlib_libXcursor
|
|
|
|
endif
|
2007-01-15 23:34:53 +01:00
|
|
|
|
2010-09-02 00:07:18 +02:00
|
|
|
define METACITY_INSTALL_XSESSION
|
2014-06-01 14:38:01 +02:00
|
|
|
$(INSTALL) -D package/metacity/Xsession $(TARGET_DIR)/etc/X11/Xsession
|
2010-09-02 00:07:18 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
METACITY_POST_INSTALL_TARGET_HOOKS += METACITY_INSTALL_XSESSION
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|