2009-04-21 21:59:17 +00:00
|
|
|
# Template build file for 'librsvg'.
|
|
|
|
pkgname=librsvg
|
2013-11-20 09:27:12 +00:00
|
|
|
version=2.40.1
|
2013-09-26 12:56:07 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-03-26 15:53:26 +00:00
|
|
|
configure_args="--disable-static --enable-introspection"
|
2013-03-28 18:16:34 +00:00
|
|
|
hostmakedepends="pkg-config intltool python gobject-introspection"
|
2013-10-15 04:54:46 +00:00
|
|
|
makedepends="libcroco-devel gtk+3-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="gdk-pixbuf>=2.26.1_2"
|
|
|
|
triggers="gtk-pixbuf-loaders"
|
2011-04-05 10:07:04 +00:00
|
|
|
short_desc="SVG library for GNOME"
|
2009-04-21 21:59:17 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-06 06:14:19 +00:00
|
|
|
homepage="http://librsvg.sourceforge.net/"
|
|
|
|
license="LGPL-2.1"
|
2013-09-26 12:56:07 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2013-11-20 09:27:12 +00:00
|
|
|
checksum=8813b4fe776d5e7acbce28bacbaed30ccb0cec3734eb3632c711a16ebe2961d7
|
2009-04-21 21:59:17 +00:00
|
|
|
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."
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
librsvg-devel_package() {
|
2013-10-15 04:54:46 +00:00
|
|
|
depends="gdk-pixbuf-devel cairo-devel libcroco-devel ${sourcepkg}>=${version}_${revision}"
|
2013-09-26 12:56:07 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 12:56:07 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-26 12:56:07 +00:00
|
|
|
librsvg-utils_package() {
|
|
|
|
short_desc+=" - utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/rsvg-view-3
|
|
|
|
vmove usr/bin/rsvg-convert
|
|
|
|
vmove usr/share/man/man1/rsvg-convert.1
|
|
|
|
}
|
|
|
|
}
|