1 ################################################################################
5 ################################################################################
7 MATCHBOX_LIB_VERSION
= 1.9
8 MATCHBOX_LIB_SOURCE
= libmatchbox-
$(MATCHBOX_LIB_VERSION
).
tar.bz2
9 MATCHBOX_LIB_SITE
= http
://downloads.yoctoproject.org
/releases
/matchbox
/libmatchbox
/$(MATCHBOX_LIB_VERSION
)
10 MATCHBOX_LIB_LICENSE
= LGPLv2.1
+
11 MATCHBOX_LIB_LICENSE_FILES
= COPYING
12 MATCHBOX_LIB_INSTALL_STAGING
= YES
13 MATCHBOX_LIB_DEPENDENCIES
= host-pkgconf expat xlib_libXext
14 MATCHBOX_LIB_CONF_OPTS
= --enable-expat
--disable-doxygen-docs
15 MATCHBOX_LIB_CONF_ENV
= LIBS
="-lX11"
17 define MATCHBOX_LIB_POST_INSTALL_FIXES
18 $(SED
) 's:-I[^$$].*/usr/include/freetype2:-I/usr/include/freetype2:' \
19 $(STAGING_DIR
)/usr
/lib
/pkgconfig
/libmb.
pc
22 MATCHBOX_LIB_POST_INSTALL_STAGING_HOOKS
+= MATCHBOX_LIB_POST_INSTALL_FIXES
24 ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE
),y
)
25 ifeq ($(BR2_PACKAGE_XLIB_LIBXPM
),y
)
26 MATCHBOX_LIB_DEPENDENCIES
+= xlib_libXpm
30 ifeq ($(BR2_PACKAGE_JPEG
),y
)
31 MATCHBOX_LIB_CONF_OPTS
+= --enable-jpeg
32 MATCHBOX_LIB_DEPENDENCIES
+= jpeg
34 MATCHBOX_LIB_CONF_OPTS
+= --disable-jpeg
37 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
38 MATCHBOX_LIB_CONF_OPTS
+= --enable-png
39 MATCHBOX_LIB_DEPENDENCIES
+= libpng
41 MATCHBOX_LIB_CONF_OPTS
+= --disable-png
44 ifeq ($(BR2_PACKAGE_PANGO
)$(BR2_PACKAGE_XLIB_LIBXFT
)$(BR2_PACKAGE_XLIB_LIBXRENDER
),yyy
)
45 MATCHBOX_LIB_CONF_OPTS
+= --enable-pango
46 MATCHBOX_LIB_DEPENDENCIES
+= pango
48 MATCHBOX_LIB_CONF_OPTS
+= --disable-pango
51 ifeq ($(BR2_PACKAGE_XLIB_LIBXFT
),y
)
52 MATCHBOX_LIB_CONF_OPTS
+= --enable-xft
53 MATCHBOX_LIB_DEPENDENCIES
+= xlib_libXft
55 MATCHBOX_LIB_CONF_OPTS
+= --disable-xft
58 $(eval
$(autotools-package
))