aboutsummaryrefslogtreecommitdiff
path: root/package/directfb
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-12 18:21:27 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-12 18:21:27 +0000
commitfee06da798f4913d28d06f8dffd886c51166b9b5 (patch)
tree37b0a940673b8b4767fc053944dd6287450ab7da /package/directfb
parentdcab96b108ce577894e176be92b9b268c7a40d67 (diff)
downloadbuildroot-fee06da798f4913d28d06f8dffd886c51166b9b5.tar.gz
buildroot-fee06da798f4913d28d06f8dffd886c51166b9b5.tar.bz2
Bump version of DirectFB to 1.0.0 and add dependency on TSLIB
Diffstat (limited to 'package/directfb')
-rw-r--r--package/directfb/Config.in12
-rw-r--r--package/directfb/directfb.mk37
2 files changed, 35 insertions, 14 deletions
diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index d8ab20a30e..7517c7bfb7 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -6,6 +6,16 @@ config BR2_PACKAGE_DIRECTFB
select BR2_PACKAGE_LIBPNG
select BR2_PACKAGE_LIBSYSFS
select BR2_PACKAGE_FREETYPE
+ select BR2_PACKAGE_TSLIB
help
+ http://www.directfb.org/
- http://www.directfb.org/
+
+config BR2_PACKAGE_DIRECTFB_MULTI
+ bool "directfb multi application"
+ default n
+ depends on BR2_PACKAGE_DIRECTFB
+ select BR2_PACKAGE_LINUX_FUSION
+ help
+ Enable use of multiple concurrent DirectFB applications
+ http://www.directfb.org/
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index aa0b6ad6cc..c45095320f 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -3,12 +3,20 @@
# directfb
#
#############################################################
-DIRECTFB_VERSION:=0.9.25.1
+#DIRECTFB_VERSION:=0.9.25.1
+#DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
+DIRECTFB_VERSION:=1.0.0
+DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
-DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
DIRECTFB_CAT:=$(ZCAT)
DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
+ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
+DIRECTFB_MULTI:=--enable-multi
+else
+DIRECTFB_MULTI:=
+endif
+
$(DL_DIR)/$(DIRECTFB_SOURCE):
$(WGET) -P $(DL_DIR) $(DIRECTFB_SITE)/$(DIRECTFB_SOURCE)
@@ -32,32 +40,35 @@ $(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
+ --bindir=/bin \
+ --sbindir=/sbin \
--libdir=/lib \
- --libexecdir=/usr/lib \
+ --libexecdir=/lib \
--sysconfdir=/etc \
- --datadir=/usr/share \
+ --datadir=/share \
--localstatedir=/var \
- --includedir=/usr/include \
- --mandir=/usr/man \
- --infodir=/usr/info \
+ --includedir=/include \
+ --mandir=/man \
+ --infodir=/info \
--with-gfxdrivers=cle266,unichrome \
--enable-shared \
+ $(DIRECTFB_MULTI) \
--enable-jpeg \
--enable-png \
--enable-linux-input \
--enable-zlib \
--enable-freetype \
--disable-sysfs \
- --enable-sdl \
+ --disable-sdl \
--disable-video4linux \
--disable-video4linux2 \
- --disable-fusion );
+ --enable-fusion );
touch $(DIRECTFB_DIR)/.configured
$(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
- $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(DIRECTFB_DIR)
+ $(MAKE) PATH=$(STAGING_DIR)/usr/lib:$(PATH) \
+ $(TARGET_CONFIGURE_OPTS) \
+ -C $(DIRECTFB_DIR)
touch $(DIRECTFB_DIR)/.compiled
$(STAGING_DIR)/usr/lib/libdirectfb.so: $(DIRECTFB_DIR)/.compiled
@@ -72,7 +83,7 @@ $(TARGET_DIR)/usr/lib/libdirectfb.so: $(STAGING_DIR)/usr/lib/libdirectfb.so
$(TARGET_DIR)/usr/lib/libdirect.so \
$(TARGET_DIR)/usr/lib/libfusion.so
-directfb: uclibc jpeg libpng freetype libsysfs $(TARGET_DIR)/usr/lib/libdirectfb.so
+directfb: uclibc jpeg libpng freetype libsysfs tslib $(TARGET_DIR)/usr/lib/libdirectfb.so
directfb-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall