pango: update to 1.24.1, new deps style, converted to subpkgs.

--HG--
extra : convert_revision : cf9b8dcbb4bbc50d99a57902bdf5037fa6b35ad1
This commit is contained in:
Juan RP 2009-04-17 01:45:05 +02:00
parent 782873962b
commit 1963cfaf57
5 changed files with 46 additions and 20 deletions

1
templates/pango-devel Symbolic link
View file

@ -0,0 +1 @@
pango

2
templates/pango/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=1.24.0
api_depends=${abi_depends}

View file

@ -0,0 +1,23 @@
# Template file for 'pango-devel'.
#
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pango
do_install()
{
local lver="1.6.0"
mkdir -p ${DESTDIR}/usr/lib/pango/${lver}/modules
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/pango/${lver}/modules/*.la \
${DESTDIR}/usr/lib/pango/${lver}/modules
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
}

View file

@ -1,11 +0,0 @@
--- docs/Makefile.in.orig 2008-10-02 22:43:15.000000000 +0200
+++ docs/Makefile.in 2008-10-02 22:43:24.000000000 +0200
@@ -735,8 +735,6 @@
done; \
echo '-- Installing $(srcdir)/html/index.sgml' ; \
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
- which gtkdoc-rebase >/dev/null && \
- gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
fi
uninstall-local:

View file

@ -1,15 +1,13 @@
# Template build file for 'pango'. # Template build file for 'pango'.
pkgname=pango pkgname=pango
version=1.22.0 sourcepkg=$pkgname
patch_files="$pkgname-docs-Makefile-in.diff" version=1.24.1
distfiles=" distfiles="${GNOME_SITE}/pango/1.24/$pkgname-$version.tar.bz2"
http://ftp.gnome.org/pub/GNOME/sources/pango/1.22/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
make_cmd="$XBPS_MASTERDIR/bin/gmake" configure_args="--localstatedir=/var"
pkgconfig_override="pango.pc pangocairo.pc pangoft2.pc pangox.pc pangoxft.pc"
short_desc="Library for layout and rendering of text" short_desc="Library for layout and rendering of text"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=26bf28a0d7d23dd65e98ee5d2cfea424c15c1e41 checksum=e00c343dd14c23b89a6767f87d31d4246c14739c57c0174008a86b33174b9ab2
long_desc=" long_desc="
Pango is a library for layout and rendering of text, with an emphasis Pango is a library for layout and rendering of text, with an emphasis
on internationalization. Pango can be used anywhere that text layout on internationalization. Pango can be used anywhere that text layout
@ -32,5 +30,18 @@ long_desc="
PangoLayout, a high level driver for laying out entire blocks of text, PangoLayout, a high level driver for laying out entire blocks of text,
and routines to assist in editing internationalized text." and routines to assist in editing internationalized text."
# The pango.modules file needs to be updated once installed. subpackages="devel"
postinstall_helpers="pango-update-modules.sh" triggers="pango-modules"
Add_dependency build pkg-config
Add_dependency full glibc
Add_dependency full glib
Add_dependency full zlib
Add_dependency full fontconfig
Add_dependency full freetype
Add_dependency full cairo
Add_dependency full libX11
Add_dependency full libXt
Add_dependency full libXft
Add_dependency full libXrender
# XXX Add missing dependency libthai.