From dda08e492d724e0bbe5896b1c97b5a8ea1b40b59 Mon Sep 17 00:00:00 2001 From: Julien Boibessot Date: Wed, 11 Jan 2012 12:06:49 +0100 Subject: Add pygame package [Peter: drop menu for suboptions] Signed-off-by: Julien Boibessot Signed-off-by: Peter Korsgaard --- package/python-pygame/Config.in | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 package/python-pygame/Config.in (limited to 'package/python-pygame/Config.in') diff --git a/package/python-pygame/Config.in b/package/python-pygame/Config.in new file mode 100644 index 000000000..1b0a8b96b --- /dev/null +++ b/package/python-pygame/Config.in @@ -0,0 +1,49 @@ +config BR2_PACKAGE_PYTHON_PYGAME + bool "pygame" + depends on BR2_PACKAGE_PYTHON + select BR2_PACKAGE_SDL + help + Pygame is a cross-platfrom library designed to make it easy to write + multimedia software, such as games, in Python. Pygame requires the + Python language and SDL multimedia library. + It can also make use of several other popular libraries. + + http://www.pygame.org/ + +if BR2_PACKAGE_PYTHON_PYGAME +config BR2_PACKAGE_PYTHON_PYGAME_IMAGE + bool "pygame.image" + select BR2_PACKAGE_SDL_IMAGE + select BR2_PACKAGE_SDL_IMAGE_PNG + select BR2_PACKAGE_SDL_IMAGE_JPEG + help + pygame module for loading, saving and transfering images. + Will autoselect sdl_image with png and jpeg support. + +config BR2_PACKAGE_PYTHON_PYGAME_FONT + bool "pygame.font" + select BR2_PACKAGE_SDL_TTF + help + pygame module for loading and rendering fonts. + Will autoselect sdl_ttf. + +config BR2_PACKAGE_PYTHON_PYGAME_MIXER + bool "pygame.mixer" + select BR2_PACKAGE_SDL_MIXER + help + pygame module for loading and playing sounds. + Will autoselect sdl_mixer. + +config BR2_PACKAGE_PYTHON_PYGAME_MIXER_MUSIC + bool "pygame.mixer.music" + depends on BR2_PACKAGE_PYTHON_PYGAME_MIXER + help + pygame module for controlling streamed audio + +config BR2_PACKAGE_PYTHON_PYGAME_SCRAP + bool "pygame.scrap" + depends on BR2_PACKAGE_SDL_X11 + help + pygame module for clipboard support (X11 needed) + +endif -- cgit v1.2.3