meson: scope patch (#35587)
This commit is contained in:
parent
5a21137550
commit
e68ac40614
1 changed files with 12 additions and 9 deletions
|
@ -1,11 +1,21 @@
|
|||
class Meson < Formula
|
||||
desc "Fast and user friendly build system"
|
||||
homepage "https://mesonbuild.com/"
|
||||
url "https://github.com/mesonbuild/meson/releases/download/0.49.0/meson-0.49.0.tar.gz"
|
||||
sha256 "fb0395c4ac208eab381cd1a20571584bdbba176eb562a7efa9cb17cace0e1551"
|
||||
revision 1
|
||||
head "https://github.com/mesonbuild/meson.git"
|
||||
|
||||
stable do
|
||||
url "https://github.com/mesonbuild/meson/releases/download/0.49.0/meson-0.49.0.tar.gz"
|
||||
sha256 "fb0395c4ac208eab381cd1a20571584bdbba176eb562a7efa9cb17cace0e1551"
|
||||
|
||||
# Fix issues with Qt, remove in 0.49.1
|
||||
# https://github.com/mesonbuild/meson/pull/4652
|
||||
patch do
|
||||
url "https://github.com/mesonbuild/meson/commit/c1e416ff.patch?full_index=1"
|
||||
sha256 "3be708cc65d2b6e54d01e64031c83b06abad2eca1c658b97b2230d1aa7d1062b"
|
||||
end
|
||||
end
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
sha256 "c8015e3f47873ed46e930e3819a059b7b1624951bae2fcc0ba58de05d25966fe" => :mojave
|
||||
|
@ -16,13 +26,6 @@ class Meson < Formula
|
|||
depends_on "ninja"
|
||||
depends_on "python"
|
||||
|
||||
# Fix issues with Qt, remove in 0.49.1
|
||||
# https://github.com/mesonbuild/meson/pull/4652
|
||||
patch do
|
||||
url "https://github.com/mesonbuild/meson/commit/c1e416ff.patch?full_index=1"
|
||||
sha256 "3be708cc65d2b6e54d01e64031c83b06abad2eca1c658b97b2230d1aa7d1062b"
|
||||
end
|
||||
|
||||
def install
|
||||
version = Language::Python.major_minor_version("python3")
|
||||
ENV["PYTHONPATH"] = lib/"python#{version}/site-packages"
|
||||
|
|
Loading…
Reference in a new issue