diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-29 10:47:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-29 10:47:32 +0000 |
commit | 722f9770ace6ebb82b4debb3f717428606ee1393 (patch) | |
tree | 55128fa2ae9c7076dd552afc1b1d0ad2576a74cf /main | |
parent | 3e19464b58940b8e631ad7a70238ffbf2abe27b8 (diff) | |
download | aports-722f9770ace6ebb82b4debb3f717428606ee1393.tar.bz2 aports-722f9770ace6ebb82b4debb3f717428606ee1393.tar.xz |
main/librsvg: rebuild against libpng-1.4 and list gtk triggers do the post job
Diffstat (limited to 'main')
-rw-r--r-- | main/librsvg/APKBUILD | 22 | ||||
l--------- | main/librsvg/librsvg.post-deinstall | 1 | ||||
-rw-r--r-- | main/librsvg/librsvg.post-install | 7 | ||||
l--------- | main/librsvg/librsvg.post-upgrade | 1 |
4 files changed, 11 insertions, 20 deletions
diff --git a/main/librsvg/APKBUILD b/main/librsvg/APKBUILD index ba930bf6db..0a6d579612 100644 --- a/main/librsvg/APKBUILD +++ b/main/librsvg/APKBUILD @@ -1,22 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=librsvg pkgver=2.26.0 -pkgrel=0 +pkgrel=1 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" +install= +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.26/$pkgname-$pkgver.tar.bz2" depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" ./configure --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --with-croco \ @@ -24,11 +23,12 @@ build () --disable-mozilla-plugin \ --with-svgz || return 1 make || return 1 +} + +package() { + cd "$_builddir" 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" +md5sums="65dbd726a514fe8b797d26254b8efc1e librsvg-2.26.0.tar.bz2" diff --git a/main/librsvg/librsvg.post-deinstall b/main/librsvg/librsvg.post-deinstall deleted file mode 120000 index 4729c2e260..0000000000 --- a/main/librsvg/librsvg.post-deinstall +++ /dev/null @@ -1 +0,0 @@ -librsvg.post-install
\ No newline at end of file diff --git a/main/librsvg/librsvg.post-install b/main/librsvg/librsvg.post-install deleted file mode 100644 index de5ca6c6c0..0000000000 --- a/main/librsvg/librsvg.post-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/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 diff --git a/main/librsvg/librsvg.post-upgrade b/main/librsvg/librsvg.post-upgrade deleted file mode 120000 index 4729c2e260..0000000000 --- a/main/librsvg/librsvg.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -librsvg.post-install
\ No newline at end of file |