feat: upgrade meson to v1.12.0

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
sisungo committed 2026-10-12 06:55:24 +00:00
1 parent db338e6af7
commit 1b1e61f341
1 file changed
+6 -8
+6 -8
View File
@@ -3,24 +3,22 @@ import os
from lib.make import *
version("1.12.0")
description("The Meson Build System")
maintainer("sisungo <[email protected]>")
source_managed("github://mesonbuild/meson#1.12.0")
builddep("python")
builddep("python (>=3.10.0")
def build():
if os.path.exists("meson"):
os.remove("meson")
subprocess.run([
"python3",
"./packaging/create_zipapp.py",
"--outfile",
"meson",
"--interpreter",
"/bin/python3"
"python3", "./packaging/create_zipapp.py",
"--outfile", "meson",
"--interpreter", "/bin/python3",
])
os.chmod("meson", 0o555)
@@ -32,6 +30,6 @@ def pack_meson(composer):
composer.addfile("meson", "bin/meson")
package("meson")
dep("python @same-arch")
dep("python (>=3.10.0) @same-arch")
recommend("ninja")
on_pack(pack_meson)