summaryrefslogtreecommitdiff
path: root/packages/freetype
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2008-06-11 21:28:33 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2008-06-11 21:28:33 +0000
commit026cc7619f092f92adbcfc5dbbb0894a72ac3a32 (patch)
tree3c97f5da485c3d95315e5de038a8431eecc02d49 /packages/freetype
parentd12308215bbd52f4f59228fb1fd1b51ff3f76206 (diff)
freetype: update to version 2.3.6
* fixing security issuses with 2.3.5 and before * patch fix-x86_64-build.patch seems to be applied upstream
Diffstat (limited to 'packages/freetype')
-rw-r--r--packages/freetype/freetype-native_2.3.6.bb21
-rw-r--r--packages/freetype/freetype_2.3.6.bb39
2 files changed, 60 insertions, 0 deletions
diff --git a/packages/freetype/freetype-native_2.3.6.bb b/packages/freetype/freetype-native_2.3.6.bb
new file mode 100644
index 0000000000..b5e8b307cd
--- /dev/null
+++ b/packages/freetype/freetype-native_2.3.6.bb
@@ -0,0 +1,21 @@
+require freetype_${PV}.bb
+inherit native
+DEPENDS = ""
+FILESPATH = "${FILE_DIRNAME}/freetype-${PV}:${FILE_DIRNAME}/freetype:${FILE_DIRNAME}/files"
+
+EXTRA_OEMAKE=
+
+do_configure() {
+ (cd builds/unix && gnu-configize) || die "failure running gnu-configize"
+ oe_runconf
+}
+
+do_stage() {
+ autotools_stage_includes
+ oe_libinstall -so -a -C objs libfreetype ${STAGING_LIBDIR}
+}
+
+do_install() {
+ :
+}
+
diff --git a/packages/freetype/freetype_2.3.6.bb b/packages/freetype/freetype_2.3.6.bb
new file mode 100644
index 0000000000..1333997775
--- /dev/null
+++ b/packages/freetype/freetype_2.3.6.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "Freetype font rendering library"
+SECTION = "libs"
+LICENSE = "freetype"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
+ file://no-hardcode.patch;patch=1 \
+ "
+
+S = "${WORKDIR}/freetype-${PV}"
+
+inherit autotools pkgconfig binconfig
+
+LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+EXTRA_OECONF = "--without-zlib"
+
+do_configure() {
+ cd builds/unix
+ libtoolize --force --copy
+ gnu-configize --force
+ aclocal -I .
+ autoconf
+ cd ${S}
+ oe_runconf
+}
+
+do_compile_prepend() {
+ ${BUILD_CC} -o objs/apinames src/tools/apinames.c
+}
+
+do_stage() {
+ export LIBTOOL='${LIBTOOL}'
+ autotools_stage_all
+ oe_libinstall -so -a -C objs libfreetype ${STAGING_LIBDIR}
+}
+
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}"