1 DESCRIPTION = "DirectFB is a thin library that provides developers \
2 with hardware graphics acceleration, input device handling and \
3 abstraction, an integrated windowing system with support for \
4 translucent windows and multiple display layers on top of the \
5 Linux framebuffer device."
8 HOMEPAGE = "http://directfb.org"
9 DEPENDS = "jpeg libpng freetype zlib tslib"
12 http://www.directfb.org/downloads/Old/DirectFB-${PV}.tar.gz \
13 file://fix-pkgconfig-cflags.patch;patch=1 \
14 file://fix-font-missing-char.patch;patch=1 \
15 file://getpagesize.patch;patch=1 \
16 file://mkdfiff.patch;patch=1 \
17 file://dont-use-linux-config.patch;patch=1 \
18 file://ts_lib_autotools.patch;patch=1 \
20 S = "${WORKDIR}/DirectFB-${PV}"
22 LDFLAGS_append =" -lts -lm"
24 inherit autotools binconfig pkgconfig
27 --with-gfxdrivers=none \
28 --enable-libmpeg3=no \
29 --enable-freetype=yes \
40 oe_runmake 'DESTDIR=${D}' install
41 install -d ${D}${sysconfdir}
42 install -m 755 ${WORKDIR}/directfbrc ${D}${sysconfdir}
46 #PACKAGES_DYNAMIC = "directfb-inputdrivers-*"
48 #python populate_packages_prepend () {
50 # inputdrivers_libdir = bb.data.expand('${libdir}/directfb-${RV}/inputdrivers', d)
51 # do_split_packages(d, inputdrivers_libdir, '*.so$', 'directfb-inputdrivers-%s', 'Directfb plugin for %s')
54 # NOTE: monolithic packaging for now, should improve that eventually
59 ${libdir}/directfb-${RV}/*/*/.debug/*.so \
60 ${libdir}/directfb-${RV}/*/.debug/*.so \
64 ${bindir}/directfb-config \
65 ${libdir}/directfb-${RV}/systems/*.la \
66 ${libdir}/directfb-${RV}/inputdrivers/*.la \
67 ${libdir}/directfb-${RV}/interfaces/*/*.la \
68 ${libdir}/directfb-${RV}/wm/*.la \
72 ${libdir}/directfb-${RV}/systems/*.so \
73 ${libdir}/directfb-${RV}/inputdrivers/*.so \
74 ${libdir}/directfb-${RV}/interfaces/*/*.so \
75 ${libdir}/directfb-${RV}/wm/*.so \
76 ${datadir}/directfb-${PV} \