[oe-commits] org.oe.dev agg: Added agg-minimal_2.5.bb without X11 and SDL dependency.

likewise commit oe at amethyst.openembedded.net
Fri May 23 18:27:30 UTC 2008


agg: Added agg-minimal_2.5.bb without X11 and SDL dependency.

Can be used by framebuffer applications such as gnash-minimal (fb-gnash)
or applications not rendering to a display.

Author: likewise at openembedded.org
Branch: org.openembedded.dev
Revision: 5135d5b0b85d509b8af80d221f18563d4ce62475
ViewMTN: http://monotone.openembedded.org/revision/info/5135d5b0b85d509b8af80d221f18563d4ce62475
Files:
1
packages/agg/agg-minimal_2.5.bb
Diffs:

#
# mt diff -r855419893670eddd4f74cc406e9264cde751254c -r5135d5b0b85d509b8af80d221f18563d4ce62475
#
#
#
# add_file "packages/agg/agg-minimal_2.5.bb"
#  content [c884277a9dc797a77960e57b352bda34e8b2d413]
#
============================================================
--- packages/agg/agg-minimal_2.5.bb	c884277a9dc797a77960e57b352bda34e8b2d413
+++ packages/agg/agg-minimal_2.5.bb	c884277a9dc797a77960e57b352bda34e8b2d413
@@ -0,0 +1,46 @@
+DESCRIPTION = "Anti Grain Geometry - A High Quality Rendering Engine for C++"
+AUTHOR = "mcseem at antigrain.com"
+HOMEPAGE = "http://www.antigrain.com"
+SECTION = "libs"
+LICENSE = "AGG License"
+DEPENDS = "freetype"
+
+PR = "r0"
+
+SRC_URI = "http://www.antigrain.com/agg-${PV}.tar.gz"
+# this patch is needed to build without SDL
+SRC_URI += "http://www.wxsvg.org/files/agg-2.5_cygming.patch;patch=1"
+S = "${WORKDIR}/agg-${PV}"
+
+inherit autotools pkgconfig
+
+CFLAGS += " -I{$STAGING_INCDIR} "
+
+FILES_${PN} = "${libdir}/libagg.so.* \
+               ${libdir}/libaggfontfreetype.so.*"
+
+LEAD_SONAME = "libagg.so"
+
+# configured for minimal external dependencies (no X, no SDL) for use by
+# framebuffer driven applications.
+EXTRA_OECONF = "--enable-gpc --without-x --disable-examples --disable-ctrl \
+--disable-platform --disable-win32tt --disable-sdltest"
+
+do_stage() {
+    oe_libinstall -a -so libagg ${STAGING_LIBDIR}
+    oe_libinstall -a -so libaggfontfreetype ${STAGING_LIBDIR}
+    install -m 0644 libagg.m4 ${STAGING_DATADIR}/aclocal/
+    install -d ${STAGING_INCDIR}/agg2
+
+    for f in font_freetype font_win32_tt gpc
+    do
+            install -m 0644 ${S}/$f/*.h ${STAGING_INCDIR}/agg2/
+    done
+
+    cd include
+    headers=`find . -name "*.h"`
+    for f in $headers
+    do
+            install -D -m 0644 $f ${STAGING_INCDIR}/agg2/$f
+    done
+}






More information about the Openembedded-commits mailing list