Meson buildsystem fix (#8465)

* Using meson without 'setup' is deprecated

* fixup packages
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2023-07-10 11:16:30 -04:00
committed by GitHub
parent be2168883f
commit 8737f59bf1
5 changed files with 8 additions and 8 deletions

View File

@@ -41,16 +41,16 @@ class Fragments < Package
gnome
def self.build
system "meson #{CREW_MESON_OPTIONS} builddir"
system "meson setup #{CREW_MESON_OPTIONS} builddir"
system 'meson configure builddir'
system 'samu -C builddir'
system "#{CREW_NINJA} -C builddir"
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
system "DESTDIR=#{CREW_DEST_DIR} #{CREW_NINJA} -C builddir install"
end
def self.check
system 'samu -C builddir test || true'
system "#{CREW_NINJA} -C builddir test || true"
end
end