GARNAME = gnome-games
GARVERSION = 2.21.90
CATEGORIES = desktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
PATCHFILES = 513336-configure.diff
# NOTE: autoconf 2.61 LIBDEPS and pre-configure target added for this
#       upstream fix, should be removed with the patch.

LIBDEPS = platform/libgnomeui desktop/librsvg freedesktop/rarian \
  hacker-tools/gob2 freedesktop/avahi desktop/gnome-python-desktop

LIBDEPS += bootstrap/autoconf-2.61

DESCRIPTION = gnome-games
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)

# disable "aisleriot" if guile && guile-devel not installed
#CONFIGURE_ARGS += --enable-omitgames=aisleriot

include ../category.mk

pre-configure:
	@echo "   Regenerate configure..."
	@cd $(WORKSRC); \
	 rm -rf configure autom4te*.cache/; autoconf
	@$(MAKECOOKIE)
