From: vanokuten at uclibc.org <vanokuten@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/sdl
Date: Fri, 16 Nov 2007 04:37:25 -0800 (PST) [thread overview]
Message-ID: <20071116123725.A043A30040@busybox.net> (raw)
Author: vanokuten
Date: 2007-11-16 04:37:23 -0800 (Fri, 16 Nov 2007)
New Revision: 20434
Log:
update SDL to 1.2.12, allow video driver selection
Modified:
trunk/buildroot/package/sdl/Config.in
trunk/buildroot/package/sdl/sdl.mk
Changeset:
Modified: trunk/buildroot/package/sdl/Config.in
===================================================================
--- trunk/buildroot/package/sdl/Config.in 2007-11-16 12:20:30 UTC (rev 20433)
+++ trunk/buildroot/package/sdl/Config.in 2007-11-16 12:37:23 UTC (rev 20434)
@@ -1,7 +1,27 @@
config BR2_PACKAGE_SDL
bool "SDL"
default n
- select BR2_PACKAGE_DIRECTFB
help
http://www.libsdl.org/
+
+menu "SDL options selection"
+ depends BR2_PACKAGE_SDL
+
+config BR2_PACKAGE_SDL_FBCON
+ bool "SDL framebuffer console video driver"
+ default y
+
+config BR2_PACKAGE_SDL_DIRECTFB
+ bool "SDL DirectFB video driver"
+ default n
+
+config BR2_PACKAGE_SDL_QTOPIA
+ bool "SDL Qtopia video driver"
+ default n
+
+config BR2_PACKAGE_SDL_X11
+ bool "SDL X11 video driver"
+ default n
+
+endmenu
Modified: trunk/buildroot/package/sdl/sdl.mk
===================================================================
--- trunk/buildroot/package/sdl/sdl.mk 2007-11-16 12:20:30 UTC (rev 20433)
+++ trunk/buildroot/package/sdl/sdl.mk 2007-11-16 12:37:23 UTC (rev 20434)
@@ -3,7 +3,7 @@
# SDL
#
#############################################################
-SDL_VERSION:=1.2.11
+SDL_VERSION:=1.2.12
# 1.2.12 is available, but depends on Pulse Audio 0.9
# which is not available in buildroot (yet)
SDL_SOURCE:=SDL-$(SDL_VERSION).tar.gz
@@ -11,6 +11,32 @@
SDL_CAT:=$(ZCAT)
SDL_DIR:=$(BUILD_DIR)/SDL-$(SDL_VERSION)
+ifeq ($(BR2_PACKAGE_SDL_FBCON),y)
+SDL_FBCON=--enable-video-fbcon=yes
+else
+SDL_FBCON=--enable-video-fbcon=no
+endif
+
+ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y)
+SDL_DIRECTFB=--enable-video-directfb=yes
+SDL_DIRECTFB_TARGET:=$(STAGING_DIR)/include/directfb
+SDL_DIRECTFB_INCLUDES:=-I$(STAGING_DIR)/usr/include/directfb
+else
+SDL_DIRECTFB=--enable-video-directfb=no
+endif
+
+ifeq ($(BR2_PACKAGE_SDL_QTOPIA),y)
+SDL_QTOPIA=--enable-video-qtopia=yes
+else
+SDL_QTOPIA=--enable-video-qtopia=no
+endif
+
+ifeq ($(BR2_PACKAGE_SDL_X11),y)
+SDL_X11=--enable-video-x11=yes
+else
+SDL_X11=--enable-video-x11=no
+endif
+
$(DL_DIR)/$(SDL_SOURCE):
$(WGET) -P $(DL_DIR) $(SDL_SITE)/$(SDL_SOURCE)
@@ -43,18 +69,25 @@
--includedir=/include \
--mandir=/man \
--infodir=/info \
+ --enable-pulseaudio=no \
--disable-arts \
--disable-esd \
--disable-nasm \
- --disable-video-x11 )
+ $(SDL_FBCON) \
+ $(SDL_DIRECTFB) \
+ $(SDL_QTOPIA) \
+ $(SDL_X11) \
+ )
touch $@
-$(STAGING_DIR)/include/directfb:
+ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y)
+$(SDL_DIRECTFB_TARGET):
ln -s ../usr/include/directfb $(STAGING_DIR)/include/directfb
+endif
-$(SDL_DIR)/.compiled: $(SDL_DIR)/.configured $(STAGING_DIR)/include/directfb
+$(SDL_DIR)/.compiled: $(SDL_DIR)/.configured $(SDL_DIRECTFB_TARGET)
$(MAKE1) $(TARGET_CONFIGURE_OPTS) \
- INCLUDE="-I./include -I$(STAGING_DIR)/usr/include/directfb" \
+ INCLUDE="-I./include $(SDL_DIRECTFB_INCLUDES)" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
DESTDIR=$(STAGING_DIR)/usr -C $(SDL_DIR)
touch $@
next reply other threads:[~2007-11-16 12:37 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 12:37 vanokuten at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-22 7:51 [Buildroot] svn commit: trunk/buildroot/package/sdl ulf at uclibc.org
2009-01-11 20:24 ulf at uclibc.org
2008-03-17 16:39 jacmet at uclibc.org
2008-03-07 13:31 jacmet at uclibc.org
2008-03-14 1:05 ` Hebbar
2008-03-17 16:47 ` Peter Korsgaard
2008-03-14 2:40 ` Hebbar
2008-03-07 13:31 jacmet at uclibc.org
2008-03-07 13:31 jacmet at uclibc.org
2008-03-07 13:31 jacmet at uclibc.org
2007-11-16 15:35 vanokuten at uclibc.org
2007-09-23 9:53 ulf at uclibc.org
2007-08-12 23:31 ulf at uclibc.org
2007-08-11 22:09 ulf at uclibc.org
2007-08-11 21:47 ulf at uclibc.org
2007-08-11 22:46 ` Ivan Kuten
2007-07-25 17:39 ulf at uclibc.org
2007-07-25 22:39 ` Bernhard Fischer
2007-07-25 23:47 ` Ulf Samuelsson
2007-07-26 1:06 ` Rex Ashbaugh
2007-07-26 6:55 ` Ulf Samuelsson
2007-06-25 11:12 aldot at uclibc.org
2006-11-30 9:06 aldot at uclibc.org
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=20071116123725.A043A30040@busybox.net \
--to=vanokuten@uclibc.org \
--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