2008-10-10 18:36:53 +02:00
|
|
|
# Template build file for 'libwmf'.
|
|
|
|
pkgname=libwmf
|
|
|
|
version=0.2.8.4
|
2013-04-30 11:34:44 +02:00
|
|
|
revision=15
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-04-22 01:21:13 +02:00
|
|
|
configure_args="--with-gsfontdir=/usr/share/fonts/Type1
|
2012-10-11 10:34:32 +02:00
|
|
|
--with-fontdir=/usr/share/fonts/Type1 --disable-static
|
2012-06-06 09:51:22 +02:00
|
|
|
--with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-30 11:34:44 +02:00
|
|
|
makedepends="freetype-devel libjpeg-turbo-devel libpng-devel>=1.6
|
2013-04-13 10:15:49 +02:00
|
|
|
expat-devel glib-devel gtk+-devel gd-devel gsfonts"
|
2008-10-10 18:36:53 +02:00
|
|
|
short_desc="Library for reading and converting WMF (Windows Meta Files)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-08 10:21:20 +01:00
|
|
|
homepage="http://wvware.sourceforge.net/libwmf.html"
|
|
|
|
license="LGPL-2.1"
|
2012-10-11 10:34:32 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz"
|
2009-04-22 01:21:13 +02:00
|
|
|
checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8
|
|
|
|
|
2012-06-06 09:51:22 +02:00
|
|
|
post_install() {
|
2009-04-22 01:21:13 +02:00
|
|
|
rm -rf ${DESTDIR}/usr/share/fonts
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libwmf-devel_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-04-30 11:34:44 +02:00
|
|
|
short_desc+=" -- development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/bin/libwmf-config
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libwmf_package() {
|
|
|
|
depends="gsfonts"
|
|
|
|
triggers="gtk-pixbuf-loaders"
|
|
|
|
pkg_install() {
|
2013-04-30 11:34:44 +02:00
|
|
|
vmove all
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|