template-glib: Generate vapi for glib-template
By adding `vala` to the build dependencies it is possible to generate the Vala API bindings called `vapi`, which were deactived before. Having them generated by default makes using this library for Vala / Genie developers much easier. Closes #119425. Signed-off-by: Michka Popoff <3406519+iMichka@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
f54fc98440
commit
340e68d237
|
@ -20,13 +20,14 @@ class TemplateGlib < Formula
|
|||
depends_on "meson" => :build
|
||||
depends_on "ninja" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "vala" => :build
|
||||
depends_on "glib"
|
||||
depends_on "gobject-introspection"
|
||||
|
||||
uses_from_macos "flex"
|
||||
|
||||
def install
|
||||
system "meson", "setup", "build", "-Dvapi=false", "-Dintrospection=enabled", *std_meson_args
|
||||
system "meson", "setup", "build", "-Dvapi=true", "-Dintrospection=enabled", *std_meson_args
|
||||
system "meson", "compile", "-C", "build", "--verbose"
|
||||
system "meson", "install", "-C", "build"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue