pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

freetype2-32: compat32 package for freetype2



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Sun Jun 30 18:29:37 2019 +0200
Changeset:	b1a61ad038013d5a5eaf83aab14813e7567516fb

Added Files:
	freetype2-32/DESCR
	freetype2-32/Makefile
	freetype2-32/TODO
	freetype2-32/distinfo

Log Message:
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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b1a61ad038013d5a5eaf83aab14813e7567516fb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 freetype2-32/DESCR    | 11 +++++++++++
 freetype2-32/Makefile | 22 ++++++++++++++++++++++
 freetype2-32/TODO     |  2 ++
 freetype2-32/distinfo |  6 ++++++
 4 files changed, 41 insertions(+)

diffs:
diff --git a/freetype2-32/DESCR b/freetype2-32/DESCR
new file mode 100644
index 0000000000..ae5b5743e7
--- /dev/null
+++ b/freetype2-32/DESCR
@@ -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.
diff --git a/freetype2-32/Makefile b/freetype2-32/Makefile
new file mode 100644
index 0000000000..b3be193de8
--- /dev/null
+++ b/freetype2-32/Makefile
@@ -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"
diff --git a/freetype2-32/TODO b/freetype2-32/TODO
new file mode 100644
index 0000000000..2b01e5101a
--- /dev/null
+++ b/freetype2-32/TODO
@@ -0,0 +1,2 @@
+Please note that this package isn't functional yet.
+NetBSD make seems to be calling gmake with the wrong flags.
diff --git a/freetype2-32/distinfo b/freetype2-32/distinfo
new file mode 100644
index 0000000000..1aa57082fa
--- /dev/null
+++ b/freetype2-32/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index