milis/talimatname/genel/l/libwmf/talimat

29 lines
965 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: 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
# Paketçi: milisarge
# Gerekler: gsfonts libjpeg-turbo xorg-libx11 gdk-pixbuf gtk2 xorg-libxt
# Grup: kütüphane
isim=libwmf
surum=0.2.8.4
devir=1
kaynak=(
http://downloads.sourceforge.net/sourceforge/wvware/$isim-$surum.tar.gz
libwmf.0.2.8.4-libpng-1.5.patch
libwmf.0.2.8.4-useafterfree.patch)
derle(){
cd $isim-$surum
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
}