2012-08-10 22:57:22 +10:00
|
|
|
# Description: Outline and bitmap font editor.
|
2006-07-21 11:43:05 +00:00
|
|
|
# URL: http://fontforge.sourceforge.net
|
2011-10-16 19:03:30 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Antti Nykanen, aon at iki dot fi
|
2012-10-06 17:24:22 +10:00
|
|
|
# Depends on: freetype libpng libspiro libtiff giflib libuninameslist util-linux xorg-libxi xorg-libxkbui xz
|
2006-07-21 11:43:05 +00:00
|
|
|
|
|
|
|
name=fontforge
|
2012-08-10 22:57:22 +10:00
|
|
|
version=20120731-b
|
2013-01-21 00:07:44 +11:00
|
|
|
release=4
|
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name-source/fontforge_full-$version.tar.bz2
|
|
|
|
http://download.savannah.gnu.org/releases/freetype/freetype-2.4.11.tar.bz2)
|
2006-07-21 11:43:05 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2011-10-16 19:03:30 +11:00
|
|
|
|
2012-10-12 10:35:09 +11:00
|
|
|
export LDFLAGS="$LDFLAGS $(pkg-config libpng --libs)"
|
|
|
|
|
2011-10-16 19:03:30 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
2012-06-25 00:26:46 +10:00
|
|
|
--enable-type3 \
|
|
|
|
--enable-devicetables \
|
|
|
|
--enable-double \
|
|
|
|
--with-regular-link \
|
2013-01-21 00:07:44 +11:00
|
|
|
--enable-pyextension \
|
|
|
|
--with-freetype-src=$SRC/freetype-2.4.11
|
2011-10-16 19:03:30 +11:00
|
|
|
|
2006-07-21 11:43:05 +00:00
|
|
|
make
|
2010-10-28 09:28:48 +02:00
|
|
|
make install DESTDIR=$PKG
|
2012-10-04 21:49:33 +10:00
|
|
|
|
2012-08-10 22:57:22 +10:00
|
|
|
rm -r $PKG/usr/share/locale
|
2011-06-04 13:07:21 +02:00
|
|
|
}
|