From: Markos Chandras <markos.chandras@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] directfb: Fix imlib2-config detection and dependencies
Date: Mon, 20 May 2013 12:55:51 +0100 [thread overview]
Message-ID: <1369050951-26751-1-git-send-email-markos.chandras@gmail.com> (raw)
From: Markos Chandras <markos.chandras@imgtec.com>
The configure script will detect the host /usr/bin/imlib2-config if
there is one instead of the one in the staging directory. Moreover,
directfb uses --enable-imlib2 by default so it needs to depend on the
BR2_PACKAGE_IMLIB2.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
Another option would be to make the imlib2 support optional
(similar to png support)
---
package/directfb/Config.in | 1 +
package/directfb/directfb.mk | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index b9ff5f9..dc7ba21 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_DIRECTFB
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_FREETYPE
+ select BR2_PACKAGE_IMLIB2
select BR2_PACKAGE_ZLIB
help
http://www.directfb.org/
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index 5ead084..034d388 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -10,6 +10,8 @@ DIRECTFB_SOURCE = DirectFB-$(DIRECTFB_VERSION).tar.gz
DIRECTFB_LICENSE = LGPLv2.1+
DIRECTFB_LICENSE_FILES = COPYING
DIRECTFB_INSTALL_STAGING = YES
+
+DIRECTFB_CONF_ENV = ac_cv_path_IMLIB2_CONFIG=$(STAGING_DIR)/usr/bin/imlib2-config
DIRECTFB_CONF_OPT = \
--localstatedir=/var \
--disable-explicit-deps \
@@ -25,7 +27,7 @@ DIRECTFB_CONF_OPT = \
--without-tools
DIRECTFB_CONFIG_SCRIPTS = directfb-config
-DIRECTFB_DEPENDENCIES = freetype zlib
+DIRECTFB_DEPENDENCIES = freetype imlib2 zlib
ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
DIRECTFB_CONF_OPT += --enable-multi --enable-fusion
--
1.8.2.1
next reply other threads:[~2013-05-20 11:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 11:55 Markos Chandras [this message]
2013-05-20 12:09 ` [Buildroot] [PATCH] directfb: Fix imlib2-config detection and dependencies Thomas Petazzoni
2013-05-20 12:13 ` Markos Chandras
2013-05-21 9:30 ` Markos Chandras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1369050951-26751-1-git-send-email-markos.chandras@gmail.com \
--to=markos.chandras@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox