This is an experiment at importing all meson ports from wrapdb into a single git repository to make contribution as easy as a simple Pull Request.
Clone this repository locally, and set the wraps
option with a coma separated
list of wraps that needs to be built.
For example to test libjpeg-turbo and zlib:
meson setup builddir -Dwraps=libjpeg-turbo,zlib
meson compile -C builddir
-
Write
my-project.wrap
file and add it insubprojects/
directory. -
If upstream project's build system is not Meson, a port can be added in
subprojects/packagefiles/my-project/meson.build
andpatch_directory = my-subproject
should be added into the wrap file. Note that the wholesubprojects/packagefiles/my-project
subtree will be copied onto the upstream's source tree, but it is generally not accepted to override upstream files. -
Add your release tag in
releases.txt
. The format is<project-name>_<project-version>-<revision>
, one tag per line. For exampleglib_2.68.0-1
whereglib
is the project name and must matchglib.wrap
file,2.68.0
is upstream version and1
is the first revision in wrapdb. -
Create Pull Request with your changes, once merged it will be available to everyone using
meson wrap install my-project
.
TODO: meson wrap install libjpeg-turbo
should be modified to pull
libjpeg-turbo.wrap
from this repository's releases.