mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-06 17:13:49 +01:00
Update local LV2 libraries to latest versions
lilv-0.24.6 lv2-1.16.0 serd-0.30.2 sord-0.16.4 sratom-0.6.4 suil-0.10.6
This commit is contained in:
@@ -1,18 +1,38 @@
|
||||
#! /usr/bin/env python
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file
|
||||
# Sebastian Schlingmann, 2008
|
||||
# Thomas Nagy, 2008-2018 (ita)
|
||||
|
||||
"""
|
||||
Lua support.
|
||||
|
||||
Compile *.lua* files into *.luac*::
|
||||
|
||||
def configure(conf):
|
||||
conf.load('lua')
|
||||
conf.env.LUADIR = '/usr/local/share/myapp/scripts/'
|
||||
def build(bld):
|
||||
bld(source='foo.lua')
|
||||
"""
|
||||
|
||||
from waflib.TaskGen import extension
|
||||
from waflib import Task,Utils
|
||||
from waflib import Task
|
||||
|
||||
@extension('.lua')
|
||||
def add_lua(self,node):
|
||||
tsk=self.create_task('luac',node,node.change_ext('.luac'))
|
||||
inst_to=getattr(self,'install_path',self.env.LUADIR and'${LUADIR}'or None)
|
||||
def add_lua(self, node):
|
||||
tsk = self.create_task('luac', node, node.change_ext('.luac'))
|
||||
inst_to = getattr(self, 'install_path', self.env.LUADIR and '${LUADIR}' or None)
|
||||
if inst_to:
|
||||
self.bld.install_files(inst_to,tsk.outputs)
|
||||
self.add_install_files(install_to=inst_to, install_from=tsk.outputs)
|
||||
return tsk
|
||||
|
||||
class luac(Task.Task):
|
||||
run_str='${LUAC} -s -o ${TGT} ${SRC}'
|
||||
color='PINK'
|
||||
run_str = '${LUAC} -s -o ${TGT} ${SRC}'
|
||||
color = 'PINK'
|
||||
|
||||
def configure(conf):
|
||||
conf.find_program('luac',var='LUAC')
|
||||
"""
|
||||
Detect the luac compiler and set *conf.env.LUAC*
|
||||
"""
|
||||
conf.find_program('luac', var='LUAC')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user