@@ -240,11 +240,91 @@ if ! command_exists "curl"; then
240240 exit 1
241241fi
242242
243+ if ! command_exists " python" ; then
244+ echo " Python command not found. Lv2 filter will not be available." ;
245+ fi
246+
243247
244248# #
245249# # build tools
246250# #
247251
252+ if build " pkg-config" ; then
253+ download " https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz"
254+ execute ./configure --silent --prefix=" ${WORKSPACE} " --with-pc-path=" ${WORKSPACE} " /lib/pkgconfig --with-internal-glib
255+ execute make -j $MJOBS
256+ execute make install
257+ build_done " pkg-config"
258+ fi
259+
260+
261+ if command_exists " python" ; then
262+
263+ if build " lv2" ; then
264+ download " https://lv2plug.in/spec/lv2-1.18.0.tar.bz2" " lv2-1.18.0.tar.bz2"
265+ execute ./waf configure --prefix=" ${WORKSPACE} " --lv2-user
266+ execute ./waf
267+ execute ./waf install
268+
269+ build_done " lv2"
270+ fi
271+
272+ if build " waflib" ; then
273+ download " https://gitlab.com/drobilla/autowaf/-/archive/cc37724b9bfa889baebd8cb10f38b8c7cab83e37/autowaf-cc37724b9bfa889baebd8cb10f38b8c7cab83e37.tar.gz" " autowaf.tar.gz"
274+ build_done " waflib"
275+ fi
276+
277+ if build " serd" ; then
278+ download " https://gitlab.com/drobilla/serd/-/archive/v0.30.6/serd-v0.30.6.tar.gz" " serd-v0.30.6.tar.gz"
279+ execute cp -r ${PACKAGES} /autowaf/* " ${PACKAGES} /serd-v0.30.6/waflib/"
280+ execute ./waf configure --prefix=" ${WORKSPACE} " --static --no-shared --no-posix
281+ execute ./waf
282+ execute ./waf install
283+ build_done " serd"
284+ fi
285+
286+ if build " pcre" ; then
287+ download " https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.gz" " pcre-8.44.tar.gz"
288+ execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static
289+ execute make -j $MJOBS
290+ execute make install
291+
292+ build_done " pcre"
293+ fi
294+
295+ if build " sord" ; then
296+ download " https://gitlab.com/drobilla/sord/-/archive/v0.16.6/sord-v0.16.6.tar.gz" " sord-v0.16.6.tar.gz"
297+ execute cp -r ${PACKAGES} /autowaf/* " ${PACKAGES} /sord-v0.16.6/waflib/"
298+ execute ./waf configure --prefix=" ${WORKSPACE} " CFLAGS=${CFLAGS} --static --no-shared --no-utils
299+ execute ./waf CFLAGS=${CFLAGS}
300+ execute ./waf install
301+
302+ build_done " sord"
303+ fi
304+
305+ if build " sratom" ; then
306+ download " https://gitlab.com/lv2/sratom/-/archive/v0.6.6/sratom-v0.6.6.tar.gz" " sratom-v0.6.6.tar.gz"
307+ execute cp -r ${PACKAGES} /autowaf/* " ${PACKAGES} /sratom-v0.6.6/waflib/"
308+ execute ./waf configure --prefix=" ${WORKSPACE} " --static --no-shared
309+ execute ./waf
310+ execute ./waf install
311+
312+ build_done " sratom"
313+ fi
314+
315+ if build " lilv" ; then
316+ download " https://gitlab.com/lv2/lilv/-/archive/v0.24.10/lilv-v0.24.10.tar.gz" " lilv-v0.24.10.tar.gz"
317+ execute cp -r ${PACKAGES} /autowaf/* " ${PACKAGES} /lilv-v0.24.10/waflib/"
318+ execute ./waf configure --prefix=" ${WORKSPACE} " --static --no-shared --no-utils
319+ execute ./waf
320+ execute ./waf install
321+ CFLAGS+=" -I$WORKSPACE /include/lilv-0"
322+ build_done " lilv"
323+ fi
324+
325+ CONFIGURE_OPTIONS+=(" --enable-lv2" )
326+ fi
327+
248328if build " yasm" ; then
249329 download " https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0.tar.gz"
250330 execute ./configure --prefix=" ${WORKSPACE} "
@@ -261,17 +341,9 @@ if build "nasm"; then
261341 build_done " nasm"
262342fi
263343
264- if build " pkg-config" ; then
265- download " https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz"
266- execute ./configure --silent --prefix=" ${WORKSPACE} " --with-pc-path=" ${WORKSPACE} " /lib/pkgconfig --with-internal-glib
267- execute make -j $MJOBS
268- execute make install
269- build_done " pkg-config"
270- fi
271-
272344if build " zlib" ; then
273345 download " https://www.zlib.net/zlib-1.2.11.tar.gz"
274- execute ./configure --static --prefix=" ${WORKSPACE} "
346+ execute ./configure --static --prefix=" ${WORKSPACE} "
275347 execute make -j $MJOBS
276348 execute make install
277349 build_done " zlib"
@@ -281,7 +353,7 @@ if build "openssl"; then
281353 download " https://www.openssl.org/source/openssl-1.1.1h.tar.gz"
282354 execute ./config --prefix=" ${WORKSPACE} " --openssldir=" ${WORKSPACE} " --with-zlib-include=" ${WORKSPACE} " /include/ --with-zlib-lib=" ${WORKSPACE} " /lib no-shared zlib
283355 execute make -j $MJOBS
284- execute make install
356+ execute make install_sw
285357
286358 build_done " openssl"
287359fi
@@ -378,7 +450,6 @@ if build "vid_stab"; then
378450fi
379451CONFIGURE_OPTIONS+=(" --enable-libvidstab" )
380452
381-
382453if build " av1" ; then
383454 download " https://aomedia.googlesource.com/aom/+archive/b52ee6d44adaef8a08f6984390de050d64df9faa.tar.gz" " av1.tar.gz" " av1"
384455 make_dir " $PACKAGES " /aom_build
@@ -391,7 +462,6 @@ if build "av1"; then
391462fi
392463CONFIGURE_OPTIONS+=(" --enable-libaom" )
393464
394-
395465# #
396466# # audio library
397467# #
0 commit comments