New commits:
commit 770539beb64da6ac6ad5a1114614a66587f21198
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
video/wireplumber: use grimoire-wide MESON_DEPENDS
commit 0cb8848a6e320592c8007170ddfd7eb41fc566db
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
video/pipewire: use grimoire-wide MESON_DEPENDS
commit 5db934f2cddac0b81f8ec73d16144001e52acf31
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
graphics-libs/harfbuzz: use grimoire-wide MESON_DEPENDS
commit 33d14af7603870c29445921f6b5ac6886d57ddfc
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
graphics-libs/mesa: use grimoire-wide MESON_DEPENDS
commit 70405fc2b9aff3f5953e152abececf60f0e4811d
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
libs/libdrm: use grimoire-wide MESON_DEPENDS
commit 040632ec93e9b5fad2712a2d172eb8ec9b9d437f
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
MESON_FUNCTIONS: added ability to work with samurai
commit 107c4ed033a2ce6dd1a344a93da570848b9583a4
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
MESON_DEPENDS: added common dependencies for meson based spells
commit 296a1479cdf1c5d6abe265c02828e7144b949dd1
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
python-pypi/meson: depends on NINJA-BUILD
diff --git a/ChangeLog b/ChangeLog
index 2dea87b..65441f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-03-12 Pavel Vinogradov <public AT sourcemage.org>
+ * MESON_DEPENDS: added common dependencies for meson based spells
+ * MESON_FUNCTIONS: added ability to work with samurai
+
2022-03-11 Treeve Jelbert <treeve AT sourcemage.org>
* lxqt/lxqt-runner: added
* lxqt/lxqt-themes: added
diff --git a/MESON_DEPENDS b/MESON_DEPENDS
new file mode 100755
index 0000000..795fcb9
--- /dev/null
+++ b/MESON_DEPENDS
@@ -0,0 +1,3 @@
+depends meson &&
+depends NINJA-BUILD &&
+depends python3
diff --git a/MESON_FUNCTIONS b/MESON_FUNCTIONS
index 94c6184..d09a247 100755
--- a/MESON_FUNCTIONS
+++ b/MESON_FUNCTIONS
@@ -12,12 +12,20 @@ meson_build () {
done
SCRIPT+=" . builddir/"
$SCRIPT &&
- ninja -j "$MAKE_NJOBS" -C builddir/
+
+ if type ninja >/dev/null 2>&1; then
+ NINJA="ninja"
+ else
+ NINJA="samu"
+ fi &&
+ export NINJA &&
+
+ ${NINJA} -j "$MAKE_NJOBS" -C builddir/
}