GARNAME = librsvg
GARVERSION = 2.15.0
CATEGORIES = desktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

LIBDEPS = platform/libxml2 platform/gtk+ platform/libart_lgpl desktop/libgnomeprintui desktop/libcroco office/libgsf freedesktop/cairo

LIBDEPS += $(shell if test ! "`ls $(shell echo $(PKG_CONFIG_PATH) | sed -e "s/:/ /g") 2>&1 /dev/null | grep mozilla-gtkmozembed.pc || ls $(shell echo $(PKG_CONFIG_PATH) | sed -e "s/:/ /g") 2>&1 /dev/null | grep firefox-gtkmozembed.pc`" ; then echo bootstrap/firefox ; fi )

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

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

CONFIGURE_ARGS = $(DIRPATHS) --with-svgz --with-croco --with-cairo

include ../category.mk
