GARNAME = pixman
GARVERSION = 0.10.0
CATEGORIES = freedesktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES = pixman-disable-gtk.patch

MASTER_SITES = http://cairographics.org/releases/

# autoconf and the pre-configure target are ONLY needed for the
# pixman-disable-gtk.patch upstream patch
LIBDEPS = bootstrap/autoconf-2.61 freedesktop/pkg-config

DESCRIPTION = pixman
define BLURB
 #FIXME: blurb goes here
endef

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

# actually disables interactive tests, depending on GTK+, introducing a
# circular dependency
CONFIGURE_ARGS = $(DIRPATHS) --disable-gtk

include ../category.mk

pre-configure:
	@echo "  Regenerating configure..."
	@cd $(WORKSRC); rm -f configure; autoconf
	@$(MAKECOOKIE)
