void-packages/srcpkgs/librsvg/template

41 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template build file for 'librsvg'.
pkgname=librsvg
2013-03-28 19:16:34 +01:00
version=2.37.0
revision=2
build_style=gnu-configure
2012-03-26 17:53:26 +02:00
configure_args="--disable-static --enable-introspection"
2013-03-28 19:16:34 +01:00
hostmakedepends="pkg-config intltool python gobject-introspection"
2013-04-15 19:09:58 +02:00
makedepends="libcroco-devel gtk+-devel gtk+3-devel"
short_desc="SVG library for GNOME"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-06-06 08:14:19 +02:00
homepage="http://librsvg.sourceforge.net/"
license="LGPL-2.1"
2013-03-28 19:16:34 +01:00
distfiles="${GNOME_SITE}/$pkgname/2.37/$pkgname-$version.tar.xz"
checksum=06c57dbcb29369d147b4e6ff4257c42ae5120c504c30fb567a27034ee30fd835
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."
librsvg-devel_package() {
depends="gdk-pixbuf-devel cairo-devel libcroco-devel
${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
}
}
librsvg_package() {
depends="gdk-pixbuf>=2.26.1_2"
triggers="gtk-pixbuf-loaders"
pkg_install() {
vmove usr
}
}