librsvg: update to 2.39.0; create new -utils binpkg.

This commit is contained in:
Juan RP 2013-09-26 14:56:07 +02:00
parent 43b002a3ed
commit 91d2f451c6
2 changed files with 18 additions and 8 deletions

1
srcpkgs/librsvg-utils Symbolic link
View File

@ -0,0 +1 @@
librsvg

View File

@ -1,7 +1,7 @@
# Template build file for 'librsvg'. # Template build file for 'librsvg'.
pkgname=librsvg pkgname=librsvg
version=2.37.0 version=2.39.0
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-introspection" configure_args="--disable-static --enable-introspection"
hostmakedepends="pkg-config intltool python gobject-introspection" hostmakedepends="pkg-config intltool python gobject-introspection"
@ -10,8 +10,8 @@ short_desc="SVG library for GNOME"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://librsvg.sourceforge.net/" homepage="http://librsvg.sourceforge.net/"
license="LGPL-2.1" license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/2.37/$pkgname-$version.tar.xz" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=06c57dbcb29369d147b4e6ff4257c42ae5120c504c30fb567a27034ee30fd835 checksum=aa47dcde0128eee6e3595d203bc673d9c27389588842f401bf585f31fc65095f
long_desc=" long_desc="
librsvg is Raph's scalable vector graphics library. It provides support for librsvg is Raph's scalable vector graphics library. It provides support for
SVG graphics, and is used by the GNOME desktop. SVG graphics, and is used by the GNOME desktop.
@ -20,21 +20,30 @@ long_desc="
loader and a theme engine for the GTK+ toolkit." loader and a theme engine for the GTK+ toolkit."
librsvg-devel_package() { librsvg-devel_package() {
depends="gdk-pixbuf-devel cairo-devel libcroco-devel depends="gdk-pixbuf-devel cairo-devel libcroco-devel ${sourcepkg}-${version}_${revision}"
${sourcepkg}-${version}_${revision}" short_desc+=" - development files"
short_desc="${short_desc} - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc vmove usr/share/gtk-doc
vmove usr/share/gir-1.0 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() { librsvg_package() {
depends="gdk-pixbuf>=2.26.1_2" depends="gdk-pixbuf>=2.26.1_2"
triggers="gtk-pixbuf-loaders" triggers="gtk-pixbuf-loaders"
pkg_install() { pkg_install() {
vmove usr vmove all
} }
} }