forked from semios/semios-packages
Compare commits
1
Commits
alsa-utils
...
meson
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b2f8a2295 |
@@ -0,0 +1,30 @@
|
|||||||
|
import subprocess
|
||||||
|
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("1.11.2")
|
||||||
|
source_url("https://github.com/mesonbuild/meson/releases/download/1.11.2/meson-1.11.2.tar.gz")
|
||||||
|
|
||||||
|
builddep("python")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
subprocess.run([
|
||||||
|
"python3",
|
||||||
|
"./packaging/create_zipapp.py",
|
||||||
|
"--outfile",
|
||||||
|
"meson",
|
||||||
|
"--interpreter",
|
||||||
|
"/bin/python3"
|
||||||
|
])
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
def pack_meson(composer):
|
||||||
|
composer.makedir("bin")
|
||||||
|
composer.addfile("meson", "bin/meson")
|
||||||
|
|
||||||
|
package("meson")
|
||||||
|
dep("python @same-arch")
|
||||||
|
recommend("ninja")
|
||||||
|
on_pack(pack_meson)
|
||||||
Reference in New Issue
Block a user