mesonwrap icon indicating copy to clipboard operation
mesonwrap copied to clipboard

"Wrap day" for SDL2 related libraries

Open jpakkane opened this issue 5 years ago • 7 comments

Ages ago we had an idea about a "wrap day" when people would gather to create wraps for common libraries and submit them to wrapdb. Maybe we could look into doing that now that the resurrected wrapdb seems to be going on nicely.

As the first target maybe we could have all the deps needed to build a simple game with SDL using graphics and music? Basically a slightly improved version of this project. This would mean having wraps for at least the following (some already exist, listing them for completeness):

  • SDL2
  • SDL Mixer
  • SDL Image
  • libpng (+zlib), libjpg
  • liblame (or some other mp3 library?)
  • ogg? flac?

It should work at least for Linux using system deps and Win32 using MSVC. macOS could also work if someone volunteers to submit patches.

jpakkane avatar Aug 03 '20 20:08 jpakkane

libmpg123 is the canonical mp3 decoding library. We have an opus port in case that helps with SDL2.

(deleted comment that was offtopic and moved it to a separate issue)

nirbheek avatar Aug 04 '20 01:08 nirbheek

It would be really nice if we could point wrap at upstreams on GitHub or gitlab that have meson build files and have it automatically generate wrap files. Just a thought while we're building a wish list.

On Mon, Aug 3, 2020, at 18:18, Nirbheek Chauhan wrote:

libmpg123 is the canonical mp3 library. We have an opus port https://gitlab.xiph.org/xiph/opus/-/merge_requests/13 in case that helps with SDL2.

(deleted comment that was offtopic and moved it to a separate issue https://github.com/mesonbuild/mesonwrap/issues/135)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mesonbuild/mesonwrap/issues/134#issuecomment-668320777, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANSPC4YYHY4V3QHTKVSPPLR65OV5ANCNFSM4PTWXB2A.

-- Dylan Baker [email protected]

dcbaker avatar Aug 04 '20 01:08 dcbaker

It would be really nice if we could point wrap at upstreams on GitHub or gitlab that have meson build files and have it automatically generate wrap files. Just a thought while we're building a wish list. -- Dylan Baker [email protected]

That's technically what upstream.wrap does. If an upstream has meson.build it becomes just a link. We still need to specify checksum and where the source code is though. Automatic source code detection sounds like a bad idea that can lead to messy results if done wrong.

legeana avatar Aug 07 '20 14:08 legeana

https://github.com/mesonbuild/wrapdb/issues/6 stb would be nice to have

benmkw avatar Aug 22 '20 11:08 benmkw

Any progress on this?

dreamer-coding avatar Aug 26 '20 06:08 dreamer-coding

We now have wraps for SDL2_ttf, SDL2_net does that help?

dreamer-coding avatar Sep 02 '20 22:09 dreamer-coding

Are we still working on this issue or is it done?

dreamer-coding avatar Jan 15 '21 20:01 dreamer-coding