librsvg: disable static, fix rundeps.

This commit is contained in:
Juan RP 2011-11-15 09:14:22 +01:00
parent 23bde97f3e
commit 56435fd387
2 changed files with 9 additions and 29 deletions

View File

@ -5,27 +5,14 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pkg-config
Add_dependency run libgsf-devel
revision=1
Add_dependency run libcroco-devel
Add_dependency run gtk+-devel
Add_dependency run gtk+3-devel
Add_dependency run librsvg
do_install()
{
local gtk_abiver="2.10.0"
install -d ${DESTDIR}//usr/lib/gtk-2.0/${gtk_abiver}/engines
install -d ${DESTDIR}/usr/lib/gdk-pixbuf-2.0/${gtk_abiver}/loaders
install -d ${DESTDIR}/usr/{bin,lib}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/engines/*.a \
${DESTDIR}//usr/lib/gtk-2.0/${gtk_abiver}/engines
mv ${SRCPKGDESTDIR}/usr/lib/gdk-pixbuf-2.0/${gtk_abiver}/loaders/*.a \
${DESTDIR}/usr/lib/gdk-pixbuf-2.0/${gtk_abiver}/loaders
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/gtk-doc usr/share
}

View File

@ -1,10 +1,10 @@
# Template build file for 'librsvg'.
pkgname=librsvg
version=2.34.1
revision=2
distfiles="${GNOME_SITE}/$pkgname/2.34/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--with-svgz"
revision=1
configure_args="--with-croco --with-svgz --disable-static"
short_desc="SVG library for GNOME"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4f2ab987eed2943b5a0ce3dde1672d2bc87123bee66d885dd7307eb7ede756db
@ -15,20 +15,13 @@ long_desc="
This package provides the librsvg library as well as some addons: a pixbuf
loader and a theme engine for the GTK+ toolkit."
triggers="gtk-immodules gtk-pixbuf-loaders"
triggers="gtk-pixbuf-loaders"
subpackages="$pkgname-devel"
Add_dependency run libgsf
Add_dependency build coreutils
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build python ">=0"
Add_dependency build libgsf-devel
Add_dependency build libcroco-devel
Add_dependency build gtk+-devel
Add_dependency build gtk+3-devel
post_install()
{
rm -rf ${DESTDIR}/usr/lib/mozilla
}