49 lines
1.4 KiB
Text
49 lines
1.4 KiB
Text
# Template build file for 'librsvg'.
|
|
pkgname=librsvg
|
|
version=2.39.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --enable-introspection"
|
|
hostmakedepends="pkg-config intltool python gobject-introspection"
|
|
makedepends="libcroco-devel gtk+-devel gtk+3-devel"
|
|
short_desc="SVG library for GNOME"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://librsvg.sourceforge.net/"
|
|
license="LGPL-2.1"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=aa47dcde0128eee6e3595d203bc673d9c27389588842f401bf585f31fc65095f
|
|
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+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gtk-doc
|
|
vmove usr/share/gir-1.0
|
|
}
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
librsvg_package() {
|
|
depends="gdk-pixbuf>=2.26.1_2"
|
|
triggers="gtk-pixbuf-loaders"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|