pango: split Xft rendering into -xft subpkg.

This commit is contained in:
Juan RP 2014-06-04 12:02:08 +02:00
parent 2b54f9d856
commit 2b76285ee5
3 changed files with 17 additions and 4 deletions

View File

@ -85,7 +85,7 @@ libgobject-2.0.so.0 glib-2.18.0_1
libatk-1.0.so.0 atk-1.26.0_1 libatk-1.0.so.0 atk-1.26.0_1
libpangocairo-1.0.so.0 pango-1.24.0_1 libpangocairo-1.0.so.0 pango-1.24.0_1
libpangoft2-1.0.so.0 pango-1.24.0_1 libpangoft2-1.0.so.0 pango-1.24.0_1
libpangoxft-1.0.so.0 pango-1.24.0_1 libpangoxft-1.0.so.0 pango-xft-1.36.3_2
libpangox-1.0.so.0 pangox-compat-0.0.2_1 libpangox-1.0.so.0 pangox-compat-0.0.2_1
libpango-1.0.so.0 pango-1.24.0_1 libpango-1.0.so.0 pango-1.24.0_1
libcairo.so.2 cairo-1.8.6_1 libcairo.so.2 cairo-1.8.6_1

1
srcpkgs/pango-xft Symbolic link
View File

@ -0,0 +1 @@
pango

View File

@ -1,7 +1,7 @@
# Template build file for 'pango'. # Template build file for 'pango'.
pkgname=pango pkgname=pango
version=1.36.3 version=1.36.3
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-included-modules=basic-fc" configure_args="--with-included-modules=basic-fc"
hostmakedepends="libtool pkg-config glib-devel" hostmakedepends="libtool pkg-config glib-devel"
@ -36,9 +36,20 @@ pre_configure() {
libtoolize -f libtoolize -f
} }
pango-xft_package() {
short_desc+=" - X font rendering"
pkg_install() {
vmove usr/lib/libpangoxft*.so.*
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0/PangoXft-1.0.typelib
fi
}
}
pango-devel_package() { pango-devel_package() {
depends="libglib-devel>=2.38 cairo-devel fontconfig-devel freetype-devel depends="libglib-devel>=2.38 cairo-devel fontconfig-devel libXft-devel
libXft-devel harfbuzz-devel pango>=${version}_${revision}" harfbuzz-devel pango-xft>=${version}_${revision}
pango>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
@ -47,5 +58,6 @@ pango-devel_package() {
vmove "usr/share/gir-*" vmove "usr/share/gir-*"
fi fi
vmove usr/share/gtk-doc vmove usr/share/gtk-doc
vmove usr/lib/*.so
} }
} }