From 91d2f451c695a061f98b8dc71bf7f3ef0b048f12 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 26 Sep 2013 14:56:07 +0200 Subject: [PATCH] librsvg: update to 2.39.0; create new -utils binpkg. --- srcpkgs/librsvg-utils | 1 + srcpkgs/librsvg/template | 25 +++++++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/librsvg-utils diff --git a/srcpkgs/librsvg-utils b/srcpkgs/librsvg-utils new file mode 120000 index 0000000000..787f16db41 --- /dev/null +++ b/srcpkgs/librsvg-utils @@ -0,0 +1 @@ +librsvg \ No newline at end of file diff --git a/srcpkgs/librsvg/template b/srcpkgs/librsvg/template index bb5d8f5583..3d6fbfddb1 100644 --- a/srcpkgs/librsvg/template +++ b/srcpkgs/librsvg/template @@ -1,7 +1,7 @@ # Template build file for 'librsvg'. pkgname=librsvg -version=2.37.0 -revision=2 +version=2.39.0 +revision=1 build_style=gnu-configure configure_args="--disable-static --enable-introspection" hostmakedepends="pkg-config intltool python gobject-introspection" @@ -10,8 +10,8 @@ short_desc="SVG library for GNOME" maintainer="Juan RP " homepage="http://librsvg.sourceforge.net/" license="LGPL-2.1" -distfiles="${GNOME_SITE}/$pkgname/2.37/$pkgname-$version.tar.xz" -checksum=06c57dbcb29369d147b4e6ff4257c42ae5120c504c30fb567a27034ee30fd835 +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. @@ -20,21 +20,30 @@ long_desc=" 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" + 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 usr + vmove all } }