34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
# Template build file for 'libwmf'.
|
|
pkgname=libwmf
|
|
version=0.2.8.4
|
|
revision=9
|
|
distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz"
|
|
build_style=gnu-configure
|
|
configure_args="--with-gsfontdir=/usr/share/fonts/Type1
|
|
--with-fontdir=/usr/share/fonts/Type1
|
|
--with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS"
|
|
depends="gd"
|
|
makedepends="pkg-config freetype-devel jpeg-devel libpng-devel expat-devel glib-devel gtk+-devel gd-devel libX11-devel zlib-devel"
|
|
fulldepends="gsfonts"
|
|
short_desc="Library for reading and converting WMF (Windows Meta Files)"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8
|
|
long_desc="
|
|
libwmf is a library for UNIX-like machines that can convert wmf
|
|
(Windows Meta Files) files into other formats. Currently it supports
|
|
a gd binding to convert to png, and an X one to draw direct to an X
|
|
window or pixmap. It also comes with a program to display wmfs: wmf2x.
|
|
|
|
Without a TrueType font server and the standard MS Windows fonts, the X
|
|
binding might render text in a different font than would appear under
|
|
MS Windows natively (this is a runtime issue for the wmf2x program)."
|
|
|
|
triggers="gtk-pixbuf-loaders"
|
|
subpackages="$pkgname-devel"
|
|
|
|
|
|
post_install()
|
|
{
|
|
rm -rf ${DESTDIR}/usr/share/fonts
|
|
}
|