mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 23:47:42 +00:00
package/sdl: fix dependencies for directfb/qt/x11 support
Closes #683 And cleanup Kconfig while we're at it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3445ff4ade
commit
351b679608
9
CHANGES
9
CHANGES
@ -15,10 +15,10 @@
|
|||||||
gst-plugins-good, imagemagick, ipkg, iptables, iw, kernel-headers,
|
gst-plugins-good, imagemagick, ipkg, iptables, iw, kernel-headers,
|
||||||
kismet, libelf, libevent, libglib2, libidn, liblockfile, libmad,
|
kismet, libelf, libevent, libglib2, libidn, liblockfile, libmad,
|
||||||
libpcap, libupnp, libuuid, lighttpd, ltrace, lua, lzma, mdadm, ncftp,
|
libpcap, libupnp, libuuid, lighttpd, ltrace, lua, lzma, mdadm, ncftp,
|
||||||
ncurses, netkittelnet, netsnmp, ntfs-3g, openntp, openssl, php, python,
|
ncurses, netkittelnet, netsnmp, ntfs-3g, openntp, openssl, php,
|
||||||
quagga, radvd, rsync, samba, sawman, shared-mime-info, spawn-fcgi,
|
python, quagga, radvd, rsync, samba, sawman, sdl, shared-mime-info,
|
||||||
speech-tools, sqlite, squashfs, synergy, syslinux, tcpdump, u-boot,
|
spawn-fcgi, speech-tools, sqlite, squashfs, synergy, syslinux,
|
||||||
util-linux, valgrind, vsftpd, wipe
|
tcpdump, u-boot, util-linux, valgrind, vsftpd, wipe
|
||||||
|
|
||||||
wpa-supplicant, xdata_xcursor-themes, zlib
|
wpa-supplicant, xdata_xcursor-themes, zlib
|
||||||
|
|
||||||
@ -44,6 +44,7 @@
|
|||||||
#657: Bug in imagemagick-clean target
|
#657: Bug in imagemagick-clean target
|
||||||
#665: [PATCH] Samba package
|
#665: [PATCH] Samba package
|
||||||
#667: [PATCH] e2fsprogs
|
#667: [PATCH] e2fsprogs
|
||||||
|
#683: SDL-dfb does not select directfb
|
||||||
#701: make install problem with unstripped binaries
|
#701: make install problem with unstripped binaries
|
||||||
#703: [SECURITY] Update openssl package to 0.9.8l
|
#703: [SECURITY] Update openssl package to 0.9.8l
|
||||||
#705: Bump spawn-fcgi package to 1.6.3
|
#705: Bump spawn-fcgi package to 1.6.3
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
config BR2_PACKAGE_SDL
|
config BR2_PACKAGE_SDL
|
||||||
bool "SDL"
|
bool "SDL"
|
||||||
help
|
help
|
||||||
|
Simple DirectMedia Layer - SDL is a library that allows
|
||||||
|
programs portable low level access to a video framebuffer,
|
||||||
|
audio output, mouse, and keyboard.
|
||||||
|
|
||||||
http://www.libsdl.org/
|
http://www.libsdl.org/
|
||||||
|
|
||||||
menu "SDL options selection"
|
if BR2_PACKAGE_SDL
|
||||||
depends on BR2_PACKAGE_SDL
|
|
||||||
|
|
||||||
config BR2_PACKAGE_SDL_FBCON
|
config BR2_PACKAGE_SDL_FBCON
|
||||||
bool "SDL framebuffer console video driver"
|
bool "SDL framebuffer console video driver"
|
||||||
@ -13,11 +15,14 @@ config BR2_PACKAGE_SDL_FBCON
|
|||||||
|
|
||||||
config BR2_PACKAGE_SDL_DIRECTFB
|
config BR2_PACKAGE_SDL_DIRECTFB
|
||||||
bool "SDL DirectFB video driver"
|
bool "SDL DirectFB video driver"
|
||||||
|
depends on BR2_PACKAGE_DIRECTFB
|
||||||
|
|
||||||
config BR2_PACKAGE_SDL_QTOPIA
|
config BR2_PACKAGE_SDL_QTOPIA
|
||||||
bool "SDL Qtopia video driver"
|
bool "SDL Qtopia video driver"
|
||||||
|
depends on BR2_PACKAGE_QT
|
||||||
|
|
||||||
config BR2_PACKAGE_SDL_X11
|
config BR2_PACKAGE_SDL_X11
|
||||||
bool "SDL X11 video driver"
|
bool "SDL X11 video driver"
|
||||||
|
depends on BR2_PACKAGE_XORG7
|
||||||
|
|
||||||
endmenu
|
endif
|
||||||
|
@ -18,6 +18,7 @@ SDL_FBCON=--enable-video-fbcon=no
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y)
|
ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y)
|
||||||
|
SDL_DEPENDENCIES += directfb
|
||||||
SDL_DIRECTFB=--enable-video-directfb=yes
|
SDL_DIRECTFB=--enable-video-directfb=yes
|
||||||
SDL_DIRECTFB_TARGET:=$(STAGING_DIR)/include/directfb
|
SDL_DIRECTFB_TARGET:=$(STAGING_DIR)/include/directfb
|
||||||
SDL_DIRECTFB_INCLUDES:=-I$(STAGING_DIR)/usr/include/directfb
|
SDL_DIRECTFB_INCLUDES:=-I$(STAGING_DIR)/usr/include/directfb
|
||||||
@ -28,12 +29,14 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SDL_QTOPIA),y)
|
ifeq ($(BR2_PACKAGE_SDL_QTOPIA),y)
|
||||||
SDL_QTOPIA=--enable-video-qtopia=yes
|
SDL_QTOPIA=--enable-video-qtopia=yes
|
||||||
|
SDL_DEPENDENCIES += qt
|
||||||
else
|
else
|
||||||
SDL_QTOPIA=--enable-video-qtopia=no
|
SDL_QTOPIA=--enable-video-qtopia=no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SDL_X11),y)
|
ifeq ($(BR2_PACKAGE_SDL_X11),y)
|
||||||
SDL_X11=--enable-video-x11=yes
|
SDL_X11=--enable-video-x11=yes
|
||||||
|
SDL_DEPENDENCIES += xserver_xorg-server
|
||||||
else
|
else
|
||||||
SDL_X11=--enable-video-x11=no
|
SDL_X11=--enable-video-x11=no
|
||||||
endif
|
endif
|
||||||
@ -96,7 +99,7 @@ $(TARGET_DIR)/usr/lib/libSDL.so: $(STAGING_DIR)/usr/lib/libSDL.so
|
|||||||
cp -dpf $(STAGING_DIR)/usr/lib/libSDL*.so* $(TARGET_DIR)/usr/lib/
|
cp -dpf $(STAGING_DIR)/usr/lib/libSDL*.so* $(TARGET_DIR)/usr/lib/
|
||||||
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libSDL.so
|
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libSDL.so
|
||||||
|
|
||||||
SDL sdl: $(TARGET_DIR)/usr/lib/libSDL.so
|
SDL sdl: $(SDL_DEPENDENCIES) $(TARGET_DIR)/usr/lib/libSDL.so
|
||||||
|
|
||||||
sdl-unpacked: $(SDL_DIR)/.unpacked
|
sdl-unpacked: $(SDL_DIR)/.unpacked
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user