freetype2-32: compat32 package for freetype2

FreeType is a portable, high-quality software solution for digital
typography.

This package is intended to crosscompile freetype2 for i386.
This commit is contained in:
Naveen Narayanan 2019-06-30 18:29:37 +02:00
parent 63161bdab5
commit b1a61ad038
4 changed files with 41 additions and 0 deletions

11
freetype2-32/DESCR Normal file
View File

@ -0,0 +1,11 @@
FreeType is a portable, high-quality software solution for digital
typography. FreeType 1.3.1 was the last release of the FreeType 1
engine, as the project is now switching to a new version dubbed FreeType
2. It has, among other things, several advantages over FreeType 1:
* A universal and simple API to manage font files
* Support for several font formats through loadable drivers
* Even more portable
* An improved anti-aliasing algorithm
This package is intended to crosscompile freetype2 for i386.

22
freetype2-32/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.152 2019/01/09 19:09:02 adam Exp $
ORIGINAL_PACKAGE= ../../graphics/freetype2
ABI?= 32
ORIGINALPKG!= make -C ${ORIGINAL_PACKAGE}
PKGNAME= compat${ABI}_freetype-2.10.0
# XXX make a definition for netbsd archs.
LIBABISUFFIX?= /32
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib${LIBABISUFFIX}
CFLAGS+= -m32
remove-non-libraries:
echo "Removing non-compat library package content"
find ${DESTDIR}${PREFIX} -path ${DESTDIR}${PREFIX}/lib${LIBABISUFFIX} -prune -o -type f -exec ${RM} {} +
post-install: remove-non-libraries
GENERATE_PLIST= ${SED} -n '/^lib/ s;lib;lib${LIBABISUFFIX};p' ${ORIGINAL_PACKAGE}/PLIST;
.include "${ORIGINAL_PACKAGE}/Makefile"

2
freetype2-32/TODO Normal file
View File

@ -0,0 +1,2 @@
Please note that this package isn't functional yet.
NetBSD make seems to be calling gmake with the wrong flags.

6
freetype2-32/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (freetype-2.10.0.tar.bz2) = f6abf03e0e3189a0de883981c57d3861b5d314f5
RMD160 (freetype-2.10.0.tar.bz2) = 502cb1d6c0e778fdbc2498d086ab3c1120dd3d5b
SHA512 (freetype-2.10.0.tar.bz2) = dfad66f419ea9577f09932e0730c0c887bdcbdbc8152fa7477a0c39d69a5b68476761deed6864ddcc5cf18d100a7a3f728049768e24afcb04b1a74b25b6acf7e
Size (freetype-2.10.0.tar.bz2) = 2743740 bytes