sdl2_mixer: new package
PATCH 1/3 sdl2_mixer: new package
Signed-off-by Francois Perrad <[email protected]>
--- package/Config.in | 1 + package/sdl2_mixer/Config.in | 11 +++++++++++ package/sdl2_mixer/sdl2_mixer.hash | 2 ++ package/sdl2_mixer/sdl2_mixer.mk | 40 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 package/sdl2_mixer/Config.in create mode 100644 package/sdl2_mixer/sdl2_mixer.hash create mode 100644 package/sdl2_mixer/sdl2_mixer.mk
package/Config.in +1 -0
@@ -281,6 +281,7 @@ comment "Graphic libraries" source "package/sdl2/Config.in" source "package/sdl2_gfx/Config.in" source "package/sdl2_image/Config.in" + source "package/sdl2_mixer/Config.in" source "package/sdl2_ttf/Config.in" comment "Other GUIs"
package/sdl2_mixer/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_SDL2_MIXER + bool "sdl2_mixer" + depends on BR2_PACKAGE_SDL2 + help + SDL_mixer is a sample multi-channel audio mixer library. + It supports any number of simultaneously playing channels of + 16 bit stereo audio, plus a single channel of music, mixed by + the popular FLAC, MikMod MOD, Timidity MIDI, Ogg Vorbis, and + SMPEG MP3 libraries. + + http://www.libsdl.org/projects/SDL_mixer/
package/sdl2_mixer/sdl2_mixer.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 5a24f62a610249d744cbd8d28ee399d8905db7222bf3bdbc8a8b4a76e597695f SDL2_mixer-2.0.1.tar.gz
package/sdl2_mixer/sdl2_mixer.mk new file +40 -0
@@ -0,0 +1,40 @@ +################################################################################ +# +# sdl2_mixer +# +################################################################################ + +SDL2_MIXER_VERSION = 2.0.1 +SDL2_MIXER_SOURCE = SDL2_mixer-$(SDL2_MIXER_VERSION).tar.gz +SDL2_MIXER_SITE = http://www.libsdl.org/projects/SDL_mixer/release +SDL2_MIXER_LICENSE = Zlib +SDL2_MIXER_LICENSE_FILES = COPYING.txt +SDL2_MIXER_INSTALL_STAGING = YES +SDL2_MIXER_DEPENDENCIES = sdl2 host-pkgconf + +SDL2_MIXER_CONF_OPTS = \ + --disable-fluidsynth \ + --disable-music-mp3 + +ifeq ($(BR2_PACKAGE_FLAC),y) +SDL2_MIXER_CONF_OPTS += --enable-music-flac +SDL2_MIXER_DEPENDENCIES += flac +else +SDL2_MIXER_CONF_OPTS += --disable-music-flac +endif + +ifeq ($(BR2_PACKAGE_LIBMODPLUG),y) +SDL2_MIXER_CONF_OPTS += --enable-music-mod-modplug +SDL2_MIXER_DEPENDENCIES += libmodplug +else +SDL2_MIXER_CONF_OPTS += --disable-music-mod-modplug +endif + +ifeq ($(BR2_PACKAGE_TREMOR),y) +SDL2_MIXER_CONF_OPTS += --enable-music-ogg-tremor +SDL2_MIXER_DEPENDENCIES += tremor +else +SDL2_MIXER_CONF_OPTS += --disable-music-ogg-tremor +endif + +$(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH 2/3 sdl2_net: new package
Signed-off-by Francois Perrad <[email protected]>
--- package/Config.in | 1 + package/sdl2_net/Config.in | 9 +++++++++ package/sdl2_net/sdl2_net.hash | 2 ++ package/sdl2_net/sdl2_net.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/sdl2_net/Config.in create mode 100644 package/sdl2_net/sdl2_net.hash create mode 100644 package/sdl2_net/sdl2_net.mk
package/Config.in +1 -0
@@ -282,6 +282,7 @@ comment "Graphic libraries" source "package/sdl2_gfx/Config.in" source "package/sdl2_image/Config.in" source "package/sdl2_mixer/Config.in" + source "package/sdl2_net/Config.in" source "package/sdl2_ttf/Config.in" comment "Other GUIs"
package/sdl2_net/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_SDL2_NET + bool "sdl2_net" + depends on BR2_PACKAGE_SDL2 + help + This is a small sample cross-platform networking library, + with a sample chat client and server application. The chat + client uses the GUIlib GUI framework library. + + http://www.libsdl.org/projects/SDL_net/
package/sdl2_net/sdl2_net.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21 SDL2_net-2.0.1.tar.gz
package/sdl2_net/sdl2_net.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# sdl2_net +# +################################################################################ + +SDL2_NET_VERSION = 2.0.1 +SDL2_NET_SOURCE = SDL2_net-$(SDL2_NET_VERSION).tar.gz +SDL2_NET_SITE = http://www.libsdl.org/projects/SDL_net/release +SDL2_NET_LICENSE = Zlib +SDL2_NET_LICENSE_FILES = COPYING.txt +SDL2_NET_INSTALL_STAGING = YES +SDL2_NET_DEPENDENCIES = sdl2 + +$(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH 2/3 sdl2_net: new package
Hello,
Quoted 10 lines · Francois Perrad
Signed-off-by Francois Perrad <[email protected]>--- package/Config.in | 1 + package/sdl2_net/Config.in | 9 +++++++++ package/sdl2_net/sdl2_net.hash | 2 ++ package/sdl2_net/sdl2_net.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/sdl2_net/Config.in create mode 100644 package/sdl2_net/sdl2_net.hash create mode 100644 package/sdl2_net/sdl2_net.mk
I've added the entry to the DEVELOPERS file, and applied to next. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 3/3 lua-sdl2: new package
In reply to Francois PerradSigned-off-by Francois Perrad <[email protected]>
--- package/Config.in | 1 + package/lua-sdl2/Config.in | 12 ++++++++++++ package/lua-sdl2/lua-sdl2.hash | 2 ++ package/lua-sdl2/lua-sdl2.mk | 13 +++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/lua-sdl2/Config.in create mode 100644 package/lua-sdl2/lua-sdl2.hash create mode 100644 package/lua-sdl2/lua-sdl2.mk
package/Config.in +1 -0
@@ -565,6 +565,7 @@ menu "Lua libraries/modules" source "package/lua-messagepack/Config.in" source "package/lua-msgpack-native/Config.in" source "package/lua-periphery/Config.in" + source "package/lua-sdl2/Config.in" source "package/lua-testmore/Config.in" source "package/luabitop/Config.in" source "package/luacrypto/Config.in"
package/lua-sdl2/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_LUA_SDL2 + bool "lua-sdl2" + select BR2_PACKAGE_SDL2 + select BR2_PACKAGE_SDL2_IMAGE + select BR2_PACKAGE_SDL2_MIXER + select BR2_PACKAGE_SDL2_NET + select BR2_PACKAGE_SDL2_TTF + help + Lua-SDL2 is a pure C binding of SDL2 to Lua 5.1, Lua 5.2, Lua 5.3, + and LuaJIT. + + https://github.com/Tangent128/luasdl2
package/lua-sdl2/lua-sdl2.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 36b626485529f318f284e0cc0c806d5a425fbde4e1e6329d4d5ee9f495ecff62 lua-sdl2-2.0.5.6.0-1.src.rock
package/lua-sdl2/lua-sdl2.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# lua-sdl2 +# +################################################################################ + +LUA_SDL2_VERSION = 2.0.5.6.0-1 +LUA_SDL2_LICENSE = ISC +LUA_SDL2_SUBDIR = luasdl2-2.0.5-6.0 +LUA_SDL2_LICENSE_FILES = $(LUA_SDL2_SUBDIR)/LICENSE +LUA_SDL2_DEPENDENCIES = sdl2 sdl2_image sdl2_mixer sdl2_net sdl2_ttf + +$(eval $(luarocks-package))
Signature · 1 line
2.11.0
PATCH 3/3 lua-sdl2: new package
Hello,
package/lua-sdl2/Config.in line 3
Quoted 9 lines · Francois Perrad
package/lua-sdl2/Config.in new file +3
-0@@ -0,0 +1,12 @@ +config BR2_PACKAGE_LUA_SDL2 + bool "lua-sdl2" + select BR2_PACKAGE_SDL2
Since you're selecting BR2_PACKAGE_SDL2, you should have propagated the dependencies of BR2_PACKAGE_SDL2, i.e !BR2_STATIC_LIBS.
So I've done this and applied your patch to next. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/3 sdl2_mixer: new package
In reply to Francois PerradHello,
Quoted 10 lines · Francois Perrad
Signed-off-by Francois Perrad <[email protected]>--- package/Config.in | 1 + package/sdl2_mixer/Config.in | 11 +++++++++++ package/sdl2_mixer/sdl2_mixer.hash | 2 ++ package/sdl2_mixer/sdl2_mixer.mk | 40 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 package/sdl2_mixer/Config.in create mode 100644 package/sdl2_mixer/sdl2_mixer.hash create mode 100644 package/sdl2_mixer/sdl2_mixer.mk
You forgot to add an entry to the DEVELOPERS file, so I've done that and applied your patch. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com