milis/talimatname/genel/libwmf/talimat

28 lines
960 B
Plaintext
Raw Normal View History

2017-04-04 09:00:35 +02:00
# Description: Microsoft'un yerli Windows Meta Dosyası Biçimi (WMF) içindeki vektör görüntülerini okumak için bir kütüphane
# URL: http://wvware.sourceforge.net/libwmf.html
2016-06-02 11:28:24 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: gsfonts libjpeg-turbo xorg-libx11 gdk-pixbuf gtk2 xorg-libxt
2017-04-04 09:00:35 +02:00
2016-02-24 01:27:23 +01:00
name=libwmf
version=0.2.8.4
release=1
source=(
http://downloads.sourceforge.net/sourceforge/wvware/$name-$version.tar.gz
libwmf.0.2.8.4-libpng-1.5.patch
libwmf.0.2.8.4-useafterfree.patch)
build(){
cd $name-$version
patch -p1 -i $SRC/libwmf.0.2.8.4-libpng-1.5.patch
patch -p1 -i $SRC/libwmf.0.2.8.4-useafterfree.patch
./configure --prefix=/usr \
--with-gsfontdir=/usr/share/fonts/Type1 \
--with-fontdir=/usr/share/fonts/Type1 \
--with-gsfontmap=/usr/share/ghostscript/9.14/Resource/Init/Fontmap.GS
make
make DESTDIR=$PKG install
# rm fonts already in gsfonts packages
rm -rf $PKG/usr/share/fonts
}