mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 03:51:30 +02:00
x11/librsvg: new aport
SAX-based renderer for SVG files into a GdkPixbuf http://librsvg.sourceforge.net/
This commit is contained in:
parent
ce704e2a12
commit
1cd34a581b
34
x11/librsvg/APKBUILD
Normal file
34
x11/librsvg/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# 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"
|
||||
1
x11/librsvg/librsvg.post-deinstall
Symbolic link
1
x11/librsvg/librsvg.post-deinstall
Symbolic link
@ -0,0 +1 @@
|
||||
librsvg.post-install
|
||||
7
x11/librsvg/librsvg.post-install
Normal file
7
x11/librsvg/librsvg.post-install
Normal file
@ -0,0 +1,7 @@
|
||||
#!/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
|
||||
1
x11/librsvg/librsvg.post-upgrade
Symbolic link
1
x11/librsvg/librsvg.post-upgrade
Symbolic link
@ -0,0 +1 @@
|
||||
librsvg.post-install
|
||||
Loading…
x
Reference in New Issue
Block a user