Commit 1cd34a58 authored by Natanael Copa's avatar Natanael Copa

x11/librsvg: new aport

SAX-based renderer for SVG files into a GdkPixbuf
http://librsvg.sourceforge.net/
parent ce704e2a
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=librsvg
pkgver=2.26.0
pkgrel=0
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
url="http://librsvg.sourceforge.net/"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="gtk+-dev libcroco-dev libgsf-dev bzip2-dev"
install="librsvg.post-install librsvg.post-upgrade librsvg.post-deinstall"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.26/$pkgname-$pkgver.tar.bz2
$install"
depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--with-croco \
--disable-static \
--disable-mozilla-plugin \
--with-svgz || return 1
make || return 1
make DESTDIR=""$pkgdir"" install || return 1
rm -rf "$pkgdir"/usr/lib/mozilla
}
md5sums="65dbd726a514fe8b797d26254b8efc1e librsvg-2.26.0.tar.bz2
323a187b3a9bc1c506543c03a6f533ce librsvg.post-install
323a187b3a9bc1c506543c03a6f533ce librsvg.post-upgrade
323a187b3a9bc1c506543c03a6f533ce librsvg.post-deinstall"
librsvg.post-install
\ No newline at end of file
#!/bin/sh
#We need to update the pixbuf loaders to let GTK support SVG images
gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders
exit 0
librsvg.post-install
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment