brechtsanders / winlibs_recipes

Recipes for building winlibs packages from source
MIT License
17 stars 1 forks source link

The structure of `.winlib` file? #63

Open ghost opened 3 months ago

ghost commented 3 months ago

I'm sorry but it's really a mess to me. I want to help but don't know where to start.

brechtsanders commented 2 months ago

The winlibs recipe file have the extension .winlib and are basically shell scripts that are run in MSYS2 shell.

The basic template for a recipe can be found here: https://github.com/brechtsanders/winlibs_recipes/blob/main/_template_.winlib

Lines starting with # are ignored (which is typical for shell scripts).

The lines at the top starting with export VARIABLE= are variables that are extracted by the various tools from https://github.com/brechtsanders/winlibs_tools

brechtsanders commented 2 months ago

I still need to document how to set up MSYS2 shell for use with the winlibs tools and how to actually build packages.

ghost commented 2 months ago

Where are you storing patch files? It seems that you included the patches in the .winlib file, making everything a mess.

brechtsanders commented 2 months ago

The .winlib recipes are all-in-one, there are no external patch files (which I think would be a mess).