librsvg: disable static, fix rundeps.
This commit is contained in:
parent
23bde97f3e
commit
56435fd387
2 changed files with 9 additions and 29 deletions
|
@ -5,27 +5,14 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
Add_dependency run pkg-config
|
revision=1
|
||||||
Add_dependency run libgsf-devel
|
|
||||||
Add_dependency run libcroco-devel
|
Add_dependency run libcroco-devel
|
||||||
Add_dependency run gtk+-devel
|
|
||||||
Add_dependency run gtk+3-devel
|
|
||||||
Add_dependency run librsvg
|
Add_dependency run librsvg
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
local gtk_abiver="2.10.0"
|
vmove usr/include usr
|
||||||
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
install -d ${DESTDIR}//usr/lib/gtk-2.0/${gtk_abiver}/engines
|
vmove usr/share/gtk-doc usr/share
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Template build file for 'librsvg'.
|
# Template build file for 'librsvg'.
|
||||||
pkgname=librsvg
|
pkgname=librsvg
|
||||||
version=2.34.1
|
version=2.34.1
|
||||||
|
revision=2
|
||||||
distfiles="${GNOME_SITE}/$pkgname/2.34/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/2.34/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-svgz"
|
configure_args="--with-croco --with-svgz --disable-static"
|
||||||
revision=1
|
|
||||||
short_desc="SVG library for GNOME"
|
short_desc="SVG library for GNOME"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=4f2ab987eed2943b5a0ce3dde1672d2bc87123bee66d885dd7307eb7ede756db
|
checksum=4f2ab987eed2943b5a0ce3dde1672d2bc87123bee66d885dd7307eb7ede756db
|
||||||
|
@ -15,20 +15,13 @@ long_desc="
|
||||||
This package provides the librsvg library as well as some addons: a pixbuf
|
This package provides the librsvg library as well as some addons: a pixbuf
|
||||||
loader and a theme engine for the GTK+ toolkit."
|
loader and a theme engine for the GTK+ toolkit."
|
||||||
|
|
||||||
triggers="gtk-immodules gtk-pixbuf-loaders"
|
triggers="gtk-pixbuf-loaders"
|
||||||
subpackages="$pkgname-devel"
|
subpackages="$pkgname-devel"
|
||||||
|
|
||||||
Add_dependency run libgsf
|
Add_dependency build coreutils
|
||||||
|
|
||||||
Add_dependency build pkg-config
|
Add_dependency build pkg-config
|
||||||
Add_dependency build intltool
|
Add_dependency build intltool
|
||||||
Add_dependency build python ">=0"
|
Add_dependency build python ">=0"
|
||||||
Add_dependency build libgsf-devel
|
|
||||||
Add_dependency build libcroco-devel
|
Add_dependency build libcroco-devel
|
||||||
Add_dependency build gtk+-devel
|
Add_dependency build gtk+-devel
|
||||||
Add_dependency build gtk+3-devel
|
Add_dependency build gtk+3-devel
|
||||||
|
|
||||||
post_install()
|
|
||||||
{
|
|
||||||
rm -rf ${DESTDIR}/usr/lib/mozilla
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue