mag

a binary package manager in one C file: apk and pacman repos, CRUX, Void and Exherbo ports
git clone https://github.com/tortr-rs/mag
Log | Files | Refs | README | LICENSE

commit 2fdfedc000d1f9969c9516973c587b6dafc1ada7
parent e4ea28230468514dd8d76d9e1f6569bd3157fe4e
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Sun, 15 Nov 2026 00:30:43 +0000

meson packages pull in samurai, xorg-util-macros for the X libraries that use it

Diffstat:
Mmag.c | 1+
Mrepo/PROVIDES | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/mag.c b/mag.c @@ -1006,6 +1006,7 @@ static struct recipe *parse_pkgsrc(const char *id, const char *dir, const char * free(mk); } var_set(&vs, "MAKE", make); + if (var_get(&vs, "MAG_MESON")) dep_add(r, "devel/samurai"); if (var_get(&vs, "USE_LIBTOOL")) dep_add(r, "dev-build/libtool"); { int ti; for (ti = 0; ti < vs.n; ti++) if (!strncmp(vs.k[ti], "TARGET.", 7)) cap += strlen(vs.v[ti]) * 4; } steps = xmalloc(cap + strlen(cfg) + strlen(mflags) + strlen(menv) + strlen(cenv) + 1024); diff --git a/repo/PROVIDES b/repo/PROVIDES @@ -31,3 +31,5 @@ devel/gperf - textproc/docbook-xml - textproc/docbook-xsl - textproc/libxslt - +needs x11/libX11 devel/xorg-util-macros +needs x11/libXinerama devel/xorg-util-macros