1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +01:00

Update lilv, lv2, serd, sord, sratom, and add suil.

This commit is contained in:
yam
2015-04-07 23:19:22 -05:00
parent f88b27e6d8
commit 57fb87e96d
1460 changed files with 64512 additions and 10876 deletions

26
lib-src/lv2/configure vendored
View File

@@ -31,11 +31,13 @@ function waf
if [ "${pkg}" == "lv2" ]
then
eval $(sed -e "/^VERSION/!d;s/ //g;s/.*VERSION/version/" ${pkg}/wscript)
eval $(sed -e '/^VERSION/!d;s/ //g;s/.*VERSION/version/' ${pkg}/wscript)
major=""
lib=""
else
eval $(sed -e "/^[A-Z]*_VERSION/!d;s/ //g;s/.*VERSION/version/" ${pkg}/wscript)
eval $(sed -e '/^[A-Z]*_VERSION/!d;s/ //g;s/.*VERSION/version/' ${pkg}/wscript)
major="-${version%%.*}"
lib="-l${pkg}${major}"
fi
cat <<EOF >${pkg}/build/${pkg}${major}.pc
@@ -47,13 +49,13 @@ includedir=.
Name: ${pkg}
Version: ${version}
Description: Temporary fake config file
Libs: -L\${libdir} -l${pkg}${major} -ldl
Libs: -L\${libdir} ${lib} -ldl
Cflags: -I\${includedir}/${pkg}${major}
EOF
export PKG_CONFIG_PATH="$(pwd)/${pkg}/build:${PKG_CONFIG_PATH}"
export CFLAGS="-I$(pwd)/${pkg} ${CFLAGS}"
export LDFLAGS="-L$(pwd)/${pkg} -l${pkg}-${major} ${LDFLAGS}"
export LDFLAGS="-L$(pwd)/${pkg} ${lib} ${LDFLAGS}"
ln -s ../${pkg}/${pkg} include
}
@@ -65,10 +67,18 @@ mkdir -p include
[ ! -e build ] && ln -s "${srcdir}/build"
echo >srcdir.mk "srcdir = ${srcdir}"
waf lv2 --no-plugins
waf serd --no-utils --static --no-shared
waf sord --no-utils --static --no-shared
waf lv2 --no-plugins
waf serd --static --no-shared --no-utils
waf sord --static --no-shared --no-utils
waf sratom --static --no-shared
waf lilv --no-utils --static --no-shared
waf lilv --static --no-shared --no-utils
waf suil --static --no-shared --no-qt
sed -i'' -e "s@suil/lib/suil-0@suil/build@" suil/build/suil_config.h
cat >.buildvars <<EOF
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
export CFLAGS="${CFLAGS}"
export LDFLAGS="${LDFLAGS}"
EOF
exit 0