# Template build file for 'librsvg'.
pkgname=librsvg
version=2.32.0
distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="SVG library for GNOME2"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e0f6f936dab583de317cc0c36a48f80bdb9c93775225ee84140c7e5e3f841068
long_desc="
 librsvg is Raph's scalable vector graphics library. It provides support for
 SVG graphics, and is used by the GNOME desktop.

 This package provides the librsvg library as well as some addons: a pixbuf
 loader and a theme engine for the GTK+ toolkit."

triggers="gtk-immodules gtk-pixbuf-loaders"
subpackages="$pkgname-devel"

Add_dependency run glib
Add_dependency run glibc
Add_dependency run libgsf
Add_dependency run libcroco
Add_dependency run gdk-pixbuf
Add_dependency run gtk+
Add_dependency run libxml2
Add_dependency run pango
Add_dependency run cairo
Add_dependency run libpng
Add_dependency run fontconfig
Add_dependency run freetype
Add_dependency run atk
Add_dependency run libX11

Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build python
Add_dependency build glib-devel
Add_dependency build glibc-devel
Add_dependency build libgsf-devel
Add_dependency build libcroco-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build gtk+-devel
Add_dependency build libxml2-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build libpng-devel
Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build atk-devel
Add_dependency build libX11-devel

post_install()
{
	rm -rf ${DESTDIR}/usr/lib/mozilla
}
