diff options
author | Ismael Luceno | 2021-02-13 18:35:48 +0100 |
---|---|---|
committer | Ismael Luceno | 2021-02-13 19:02:43 +0100 |
commit | 217f1108f14e135085ccaa9a85fe3596514e85b5 (patch) | |
tree | ab44e7be8fd5b53d6668263de149f00245b5d045 /x11-toolkits | |
parent | d523cfc301c17731bde576b86a0cea5f30dcade2 (diff) |
Add improved vdepends implementation
Example:
LANGS="ADA,FORTRAN" LANGFLAGS="--enable-ada --enable-fortran"
vdepends << EOF
gcc[$LANGS] >= 6.0 < 7.0 flags: $LANGFLAGS
binutils[LIBERTY] >= 2.35 flags: --with-liberty
EOF
This changes the format and adds support for:
- chained comparisons
- sub-dependencies
- comment lines
Now the check is done against the grimoire version of the spell too, to
avoid casting a spell that can't satisfy the dependency.
Diffstat (limited to 'x11-toolkits')
-rwxr-xr-x | x11-toolkits/gtk+3/DEPENDS | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/x11-toolkits/gtk+3/DEPENDS b/x11-toolkits/gtk+3/DEPENDS index 95752704c5..872d78eabb 100755 --- a/x11-toolkits/gtk+3/DEPENDS +++ b/x11-toolkits/gtk+3/DEPENDS @@ -1,5 +1,4 @@ -. "$GRIMOIRE/FUNCTIONS" && - +. "$GRIMOIRE"/VDEPENDS && depends meson && depends python3 && depends ninja-build-system && |