mesonbuild / mesonwrap

Meson wraps service and tools, please use https://github.com/mesonbuild/wrapdb for wraps issues
https://wrapdb.mesonbuild.com
Apache License 2.0
26 stars 7 forks source link

"Wrap day" for SDL2 related libraries #134

Open jpakkane opened 4 years ago

jpakkane commented 4 years ago

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):

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

nirbheek commented 4 years ago

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)

dcbaker commented 4 years ago

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 dylan@pnwbakers.com

legeana commented 4 years ago

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 dylan@pnwbakers.com

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.

benmkw commented 4 years ago

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

dreamer-coding commented 4 years ago

Any progress on this?

dreamer-coding commented 3 years ago

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

dreamer-coding commented 3 years ago

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