aboutsummaryrefslogtreecommitdiffstats
path: root/freetype
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-07-31 15:51:15 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-07-31 15:51:15 +0000
commit61ab96a9c42457d982168c1ddd1621cab8694e72 (patch)
treec826c2c62a20d1fbf6a9fb8f72b6d01d59945186 /freetype
parent72dd8bd4262e58a39a0304d12562436f088f3a8e (diff)
downloadopenembedded-61ab96a9c42457d982168c1ddd1621cab8694e72.tar.gz
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/31 17:47:35+02:00 uni-frankfurt.de!mickey fix meta-e 2004/07/31 14:10:13+02:00 uni-frankfurt.de!mickey the E Widget Library now builds 2004/07/31 13:52:36+02:00 uni-frankfurt.de!mickey edje now builds (insert applause.wav here) 2004/07/31 04:15:52+02:00 uni-frankfurt.de!mickey fix prefix and exec-prefix bug 2004/07/31 04:15:16+02:00 uni-frankfurt.de!mickey migrate enlightenment (and friends) to binconfig.oeclass 2004/07/31 04:12:47+02:00 uni-frankfurt.de!mickey add binconfig.oeclass. This class cleans up the situation with packages utilizing foo-config scripts to gather cflags and libs etc. This class does a) eliminate the need for boiler plate code in the .oe files and b) differentiates between native and non-native packages which previously stepped on each other's toe because both kinds of packages wanted to install their foo-configs into STAGING_DIR. native packages now use foo-config-native. this class has been tested w/ the enlightenment stuff (evas,eet,edb,etox,imlib2,freetype,edje). please migrate .oe packages to it when you have a chance. 2004/07/31 02:43:44+02:00 uni-frankfurt.de!mickey Merge bk://openembedded@openembedded.bkbits.net/packages into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/31 01:27:45+02:00 uni-frankfurt.de!mickey Merge bk://openembedded@openembedded.bkbits.net/packages into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/07/30 17:44:51+02:00 uni-frankfurt.de!mickey on the way to edje-native: complete edb-native and add ecore-native BKrev: 410bbff3H9FfStU2Nxq1H1ECuGhU-Q
Diffstat (limited to 'freetype')
-rw-r--r--freetype/freetype-native_2.1.8.oe22
-rw-r--r--freetype/freetype_2.1.8.oe5
2 files changed, 23 insertions, 4 deletions
diff --git a/freetype/freetype-native_2.1.8.oe b/freetype/freetype-native_2.1.8.oe
index e69de29bb2..aadca5c0f4 100644
--- a/freetype/freetype-native_2.1.8.oe
+++ b/freetype/freetype-native_2.1.8.oe
@@ -0,0 +1,22 @@
+DESCRIPTION = "Freetype font rendering library"
+
+SRC_URI = "ftp://ftp.freetype.org/freetype/freetype2/freetype-${PV}.tar.bz2 \
+ file://${FILESDIR}/configure.patch;patch=1"
+
+inherit autotools pkgconfig native binconfig
+DEPENDS = "patcher-native"
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/freetype-${PV}"
+S = "${WORKDIR}/freetype-${PV}"
+PACKAGES = ""
+
+do_configure () {
+ (cd builds/unix && gnu-configize) || die "failure running gnu-configize"
+ oe_runconf
+}
+
+do_stage () {
+ oe_libinstall -so -a -C objs libfreetype ${STAGING_LIBDIR}
+ cp -a ${S}/include/*.h ${STAGING_INCDIR}
+ install -d ${STAGING_INCDIR}/freetype2
+ cp -a ${S}/include/freetype ${STAGING_INCDIR}/freetype2/
+}
diff --git a/freetype/freetype_2.1.8.oe b/freetype/freetype_2.1.8.oe
index 4f21467fcc..f8c7415cba 100644
--- a/freetype/freetype_2.1.8.oe
+++ b/freetype/freetype_2.1.8.oe
@@ -6,7 +6,7 @@ SRC_URI = "ftp://ftp.freetype.org/freetype/freetype2/freetype-${PV}.tar.bz2 \
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev += " ${bindir}"
-inherit autotools pkgconfig
+inherit autotools pkgconfig binconfig
LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
@@ -26,8 +26,5 @@ do_stage () {
cp -a ${S}/include/*.h ${STAGING_INCDIR}
install -d ${STAGING_INCDIR}/freetype2
cp -a ${S}/include/freetype ${STAGING_INCDIR}/freetype2/
-
- sed -e 's,${prefix},${STAGING_LIBDIR}/..,' < builds/unix/freetype-config > ${STAGING_BINDIR}/freetype-config
- chmod u+x ${STAGING_BINDIR}/freetype-config
}