pango: split pango-view (which needs pango-xft) into -view subpkg.

This commit is contained in:
Juan RP 2014-06-04 12:19:40 +02:00
parent 9fdac1f7b9
commit d413b30103
2 changed files with 11 additions and 1 deletions

1
srcpkgs/pango-view Symbolic link
View file

@ -0,0 +1 @@
pango

View file

@ -1,7 +1,7 @@
# Template build file for 'pango'.
pkgname=pango
version=1.36.3
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-included-modules=basic-fc"
hostmakedepends="libtool pkg-config glib-devel"
@ -47,6 +47,15 @@ pango-xft_package() {
}
}
pango-view_package() {
replaces="pango<1.36.3_3"
short_desc +=" - utility to view pango files"
pkg_install() {
vmove usr/bin/pango-view
vmove usr/share/man/man1/pango-view.1
}
}
pango-devel_package() {
depends="libglib-devel>=2.38 cairo-devel fontconfig-devel libXft-devel
harfbuzz-devel pango-xft>=${version}_${revision}