diff --git a/srcpkgs/libwmf/libwmf-devel.template b/srcpkgs/libwmf/libwmf-devel.template index 4daf8f214f..616972bf8c 100644 --- a/srcpkgs/libwmf/libwmf-devel.template +++ b/srcpkgs/libwmf/libwmf-devel.template @@ -5,6 +5,18 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + +Add_dependency run pkg-config +Add_dependency run freetype-devel +Add_dependency run jpeg-devel +Add_dependency run libpng-devel +Add_dependency run expat-devel +Add_dependency run glib-devel +Add_dependency run gtk+-devel +Add_dependency run gd-devel +Add_dependency run libX11-devel +Add_dependency run zlib-devel Add_dependency run libwmf do_install() diff --git a/srcpkgs/libwmf/template b/srcpkgs/libwmf/template index 117692b9ff..ba9d841bff 100644 --- a/srcpkgs/libwmf/template +++ b/srcpkgs/libwmf/template @@ -1,7 +1,7 @@ # Template build file for 'libwmf'. pkgname=libwmf version=0.2.8.4 -revision=1 +revision=2 distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz" build_style=gnu_configure configure_args="--with-gsfontdir=/usr/share/fonts/Type1 @@ -21,17 +21,29 @@ long_desc=" MS Windows natively (this is a runtime issue for the wmf2x program)." triggers="gtk-pixbuf-loaders" - subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run freetype +Add_dependency run jpeg +Add_dependency run libpng +Add_dependency run expat +Add_dependency run glib +Add_dependency run gtk+ +Add_dependency run gd +Add_dependency run libX11 +Add_dependency run zlib Add_dependency build pkg-config -Add_dependency full glibc -Add_dependency full freetype -Add_dependency full jpeg -Add_dependency full libpng -Add_dependency full expat -Add_dependency full gtk+ +Add_dependency build freetype-devel +Add_dependency build jpeg-devel +Add_dependency build libpng-devel +Add_dependency build expat-devel +Add_dependency build glib-devel +Add_dependency build gtk+-devel +Add_dependency build gd-devel +Add_dependency build libX11-devel +Add_dependency build zlib-devel Add_dependency full gsfonts -Add_dependency full gd post_install() {