1 ################################################################################
5 ################################################################################
7 # newer versions need libcanberra-gtk and gnome-doc-utils
8 METACITY_VERSION_MAJOR
= 2.25
9 METACITY_VERSION
= $(METACITY_VERSION_MAJOR
).1
10 METACITY_SOURCE
= metacity-
$(METACITY_VERSION
).
tar.bz2
11 METACITY_SITE
= http
://ftp.gnome.org
/pub
/gnome
/sources
/metacity
/$(METACITY_VERSION_MAJOR
)
12 METACITY_LICENSE
= GPLv2
+
13 METACITY_LICENSE_FILES
= COPYING
15 METACITY_CONF_OPTS
= \
16 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
17 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
21 --disable-startup-notification
23 METACITY_DEPENDENCIES
= libgtk2 \
25 host-libxml-parser-perl \
31 ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR
),y
)
32 METACITY_DEPENDENCIES
+= xlib_libXcursor
35 define METACITY_INSTALL_XSESSION
36 $(INSTALL
) -D package
/metacity
/Xsession
$(TARGET_DIR
)/etc
/X11
/Xsession
39 METACITY_POST_INSTALL_TARGET_HOOKS
+= METACITY_INSTALL_XSESSION
41 $(eval
$(autotools-package
))