1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-06 09:03:51 +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:
Leland Lucius
2019-12-17 11:15:16 -06:00
parent 9dab0a2fee
commit be336797b3
2676 changed files with 277368 additions and 138239 deletions

View File

@@ -1,28 +1,33 @@
#! /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
# Thomas Nagy, 2016-2018 (ita)
from waflib import Utils
from waflib.Configure import conf
@conf
def d_platform_flags(self):
v=self.env
"""
Sets the extensions dll/so for d programs and libraries
"""
v = self.env
if not v.DEST_OS:
v.DEST_OS=Utils.unversioned_sys_platform()
binfmt=Utils.destos_to_binfmt(self.env.DEST_OS)
if binfmt=='pe':
v['dprogram_PATTERN']='%s.exe'
v['dshlib_PATTERN']='lib%s.dll'
v['dstlib_PATTERN']='lib%s.a'
elif binfmt=='mac-o':
v['dprogram_PATTERN']='%s'
v['dshlib_PATTERN']='lib%s.dylib'
v['dstlib_PATTERN']='lib%s.a'
v.DEST_OS = Utils.unversioned_sys_platform()
binfmt = Utils.destos_to_binfmt(self.env.DEST_OS)
if binfmt == 'pe':
v.dprogram_PATTERN = '%s.exe'
v.dshlib_PATTERN = 'lib%s.dll'
v.dstlib_PATTERN = 'lib%s.a'
elif binfmt == 'mac-o':
v.dprogram_PATTERN = '%s'
v.dshlib_PATTERN = 'lib%s.dylib'
v.dstlib_PATTERN = 'lib%s.a'
else:
v['dprogram_PATTERN']='%s'
v['dshlib_PATTERN']='lib%s.so'
v['dstlib_PATTERN']='lib%s.a'
DLIB='''
v.dprogram_PATTERN = '%s'
v.dshlib_PATTERN = 'lib%s.so'
v.dstlib_PATTERN = 'lib%s.a'
DLIB = '''
version(D_Version2) {
import std.stdio;
int main() {
@@ -45,8 +50,15 @@ version(D_Version2) {
}
}
'''
"""Detection string for the D standard library"""
@conf
def check_dlibrary(self,execute=True):
ret=self.check_cc(features='d dprogram',fragment=DLIB,compile_filename='test.d',execute=execute,define_ret=True)
def check_dlibrary(self, execute=True):
"""
Detects the kind of standard library that comes with the compiler,
and sets conf.env.DLIBRARY to tango, phobos1 or phobos2
"""
ret = self.check_cc(features='d dprogram', fragment=DLIB, compile_filename='test.d', execute=execute, define_ret=True)
if execute:
self.env.DLIBRARY=ret.strip()
self.env.DLIBRARY = ret.strip()