Added librsvg-2.26.0 template.
--HG-- extra : convert_revision : 5fa3977f97964756eb269b5608314297364262cd
This commit is contained in:
parent
90d0870512
commit
470604db02
4 changed files with 62 additions and 0 deletions
templates
1
templates/librsvg-devel
Symbolic link
1
templates/librsvg-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
librsvg
|
2
templates/librsvg/depends
Normal file
2
templates/librsvg/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=2.26.0
|
||||||
|
api_depends=${abi_depends}
|
27
templates/librsvg/devel.template
Normal file
27
templates/librsvg/devel.template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'librsvg-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run librsvg
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
local gtk_abiver="2.10.0"
|
||||||
|
|
||||||
|
for dir in engines loaders; do
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/${dir}
|
||||||
|
done
|
||||||
|
mkdir -p ${DESTDIR}/usr/share
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
|
||||||
|
for dir in engines loaders; do
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/${dir}/*.*a \
|
||||||
|
${DESTDIR}//usr/lib/gtk-2.0/${gtk_abiver}/${dir}
|
||||||
|
done
|
||||||
|
}
|
32
templates/librsvg/template
Normal file
32
templates/librsvg/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template build file for 'librsvg'.
|
||||||
|
pkgname=librsvg
|
||||||
|
sourcepkg=$pkgname
|
||||||
|
version=2.26.0
|
||||||
|
distfiles="${GNOME_SITE}/$pkgname/2.26/$pkgname-$version.tar.bz2"
|
||||||
|
build_style=gnu_configure
|
||||||
|
configure_args="--with-gimp=no --with-tags= --disable-mozilla-plugin"
|
||||||
|
short_desc="SVG library for GNOME2"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=fdcab5f0d86198d8cbd4ffe5b333076f75e707f6d7e4af5e87a8644ff7533bea
|
||||||
|
long_desc="
|
||||||
|
librsvg is Raph's scalable vector graphics library. It provides support for
|
||||||
|
SVG graphics, and is used by the GNOME desktop.
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
|
subpackages="devel"
|
||||||
|
Add_dependency build pkg-config
|
||||||
|
Add_dependency build intltool
|
||||||
|
Add_dependency full glibc
|
||||||
|
Add_dependency full gtk+
|
||||||
|
Add_dependency full libcroco
|
||||||
|
Add_dependency full libgsf
|
||||||
|
Add_dependency full python
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
rm -rf ${DESTDIR}/usr/lib/mozilla
|
||||||
|
}
|
Loading…
Reference in a new issue