summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
commit2e4eddedb755f0c0f88450b1fc1d8b0830132a71 (patch)
treeedb0ddeb32913bfbfb0a99c3c43e75f3a2f13d8d /repo
parent66c326b6d65388e9f1003715ad9675505f01f9d2 (diff)
added ardour
Diffstat (limited to 'repo')
-rw-r--r--repo/ardour/always-link-execinfo.patch13
-rw-r--r--repo/ardour/ardour.xibuild41
-rw-r--r--repo/ardour/disable-backtrace.patch13
-rw-r--r--repo/aubio/aubio.xibuild26
-rw-r--r--repo/aubio/unversioned-python.patch24
-rw-r--r--repo/fluidsynth/fluidsynth.xibuild23
-rw-r--r--repo/gcovr/gcovr.xibuild22
-rw-r--r--repo/ladspa/fix-memleak-in-plugin-scanning.patch11
-rw-r--r--repo/ladspa/ladspa.xibuild32
-rw-r--r--repo/liblo/liblo.xibuild27
-rw-r--r--repo/lilv/lilv.xibuild19
-rw-r--r--repo/lrdf/lrdf.xibuild27
-rw-r--r--repo/lv2/lv2.xibuild23
-rw-r--r--repo/raptor2/CVE-2017-18926.patch40
-rw-r--r--repo/raptor2/CVE-2020-25713.patch16
-rw-r--r--repo/raptor2/raptor2.xibuild36
-rw-r--r--repo/rasqal/rasqal.xibuild24
-rw-r--r--repo/redland/redland.xibuild23
-rw-r--r--repo/rubberband/rubberband.xibuild25
-rw-r--r--repo/serd/serd.xibuild19
-rw-r--r--repo/sord/sord.xibuild23
-rw-r--r--repo/sratom/sratom.xibuild19
-rw-r--r--repo/taglib/taglib.xibuild24
-rw-r--r--repo/vamp-sdk/vamp-sdk.xibuild25
-rw-r--r--repo/yajl/yajl.xibuild26
25 files changed, 601 insertions, 0 deletions
diff --git a/repo/ardour/always-link-execinfo.patch b/repo/ardour/always-link-execinfo.patch
new file mode 100644
index 0000000..02d2dc0
--- /dev/null
+++ b/repo/ardour/always-link-execinfo.patch
@@ -0,0 +1,13 @@
+Upstream: not yet, need proper alternative.
+--- a/libs/pbd/wscript 2020-05-27 15:46:59.641983074 +0200
++++ b/libs/pbd/wscript 2020-05-27 15:47:08.208661970 +0200
+@@ -181,8 +181,7 @@
+ obj.install_path = bld.env['LIBDIR']
+ obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
+
+- if sys.platform.startswith('netbsd'):
+- obj.linkflags = '-lexecinfo'
++ obj.ldflags = '-lexecinfo'
+
+ if bld.env['build_target'] == 'x86_64':
+ obj.defines += [ 'USE_X86_64_ASM' ]
diff --git a/repo/ardour/ardour.xibuild b/repo/ardour/ardour.xibuild
new file mode 100644
index 0000000..88beac7
--- /dev/null
+++ b/repo/ardour/ardour.xibuild
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+NAME="ardour"
+DESC="professional-grade digital audio workstation"
+
+MAKEDEPS="alsa-lib atkmm aubio boost fftw gtk2 gtkmm itstool jack libarchive libexecinfo liblo libpng libsamplerate libsigc++ libsndfile lilv lrdf lv2 pulseaudio python readline redland rubberband serd sratom taglib vamp-sdk fluidsynth hidapi"
+
+PKG_VER=6.9.0
+SOURCE="https://community.ardour.org/src/Ardour-$PKG_VER.tar.bz2"
+
+ADDITIONAL="
+always-link-execinfo.patch
+disable-backtrace.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ python3 waf configure \
+ --prefix=/usr \
+ --cxx11 \
+ --keepflags \
+ --optimize \
+ --freedesktop \
+ --no-phone-home \
+ --with-backends=pulseaudio,jack,alsa,dummy
+ #FIXME: add missing dependencies
+ # --use-external-libs
+ python3 waf build
+}
+
+check() {
+ python3 waf test
+}
+
+package() {
+ python3 waf install --destdir="$PKG_DEST"
+}
+
diff --git a/repo/ardour/disable-backtrace.patch b/repo/ardour/disable-backtrace.patch
new file mode 100644
index 0000000..7d8fc61
--- /dev/null
+++ b/repo/ardour/disable-backtrace.patch
@@ -0,0 +1,13 @@
+Disable use of execinfo backtrace because it causes a crash.
+
+Upstream bug report: https://tracker.ardour.org/view.php?id=8211
+--- a/libs/pbd/wscript 2020-06-10 14:33:53.822160367 +0200
++++ b/libs/pbd/wscript 2020-06-10 14:34:03.742215341 +0200
+@@ -109,7 +109,6 @@
+ autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.32.0', mandatory=True)
+ autowaf.check_pkg(conf, 'giomm-2.4', uselib_store='GIOMM', atleast_version='2.2', mandatory=True)
+
+- conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO',mandatory=False)
+ conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False)
+ if not Options.options.ppc:
+ conf.check_cc(
diff --git a/repo/aubio/aubio.xibuild b/repo/aubio/aubio.xibuild
new file mode 100644
index 0000000..37b298e
--- /dev/null
+++ b/repo/aubio/aubio.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="aubio"
+DESC="tool designed for the extraction of annotations from audio signals"
+
+MAKEDEPS="ffmpeg4 fftw jack libsamplerate libsndfile python"
+
+PKG_VER=0.4.9
+SOURCE="https://aubio.org/pub/aubio-$PKG_VER.tar.bz2"
+
+ADDITIONAL="
+unversioned-python.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ python3 waf configure --prefix=/usr
+}
+
+package() {
+ python3 waf install --destdir="$PKG_DEST"
+}
+
diff --git a/repo/aubio/unversioned-python.patch b/repo/aubio/unversioned-python.patch
new file mode 100644
index 0000000..b397926
--- /dev/null
+++ b/repo/aubio/unversioned-python.patch
@@ -0,0 +1,24 @@
+ff --git a/tests/create_tests_source.py b/tests/create_tests_source.py
+index 1feb1443..2c5560f4 100755
+--- a/tests/create_tests_source.py
++++ b/tests/create_tests_source.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#!/usr/bin/python3
+
+ """ Create a simple stereo file containing a sine tone at 441 Hz, using only
+ python's built-in modules. """
+diff --git a/tests/wscript_build b/tests/wscript_build
+index c99a051e..d3fd0633 100644
+--- a/tests/wscript_build
++++ b/tests/wscript_build
+@@ -13,7 +13,7 @@ test_sound_abspath = bld.path.get_bld().make_node(test_sound_target)
+ test_sound_abspath = str(test_sound_abspath).replace('\\', '\\\\')
+
+ b = bld(name='create_tests_source',
+- rule='python ${SRC} ${TGT}',
++ rule='python3 ${SRC} ${TGT}',
+ source='create_tests_source.py',
+ target=test_sound_target)
+ # use post() to create the task, keep a reference to it
+
diff --git a/repo/fluidsynth/fluidsynth.xibuild b/repo/fluidsynth/fluidsynth.xibuild
new file mode 100644
index 0000000..f867527
--- /dev/null
+++ b/repo/fluidsynth/fluidsynth.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="fluidsynth"
+DESC="A real-time software synthesizer based on the SoundFont 2 specifications"
+
+MAKEDEPS="alsa-lib dbus glib jack libsndfile pulseaudio readline cmake doxygen graphviz"
+
+PKG_VER=2.2.5
+SOURCE="https://github.com/fluidsynth/fluidsynth/archive/v$PKG_VER/fluidsynth-v$PKG_VER.tar.gz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
+
diff --git a/repo/gcovr/gcovr.xibuild b/repo/gcovr/gcovr.xibuild
new file mode 100644
index 0000000..e7b186d
--- /dev/null
+++ b/repo/gcovr/gcovr.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="gcovr"
+DESC="Generates a simple report that summarizes the gcc code coverage"
+
+MAKEDEPS=""
+
+PKG_VER=5.1
+SOURCE="https://github.com/gcovr/gcovr/archive/$PKG_VER.tar.gz"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ py.test-3 -v gcovr
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$PKG_DEST"
+}
+
diff --git a/repo/ladspa/fix-memleak-in-plugin-scanning.patch b/repo/ladspa/fix-memleak-in-plugin-scanning.patch
new file mode 100644
index 0000000..bc8ef7c
--- /dev/null
+++ b/repo/ladspa/fix-memleak-in-plugin-scanning.patch
@@ -0,0 +1,11 @@
+--- ./search.c.orig 2008-11-07 00:38:18.000000000 +0100
++++ ./search.c 2008-11-07 00:50:51.000000000 +0100
+@@ -83,6 +83,8 @@
+ dlclose(pcFilename);
+ free(pcFilename);
+ }
++ } else {
++ free(pcFilename);
+ }
+ }
+ }
diff --git a/repo/ladspa/ladspa.xibuild b/repo/ladspa/ladspa.xibuild
new file mode 100644
index 0000000..261cd9e
--- /dev/null
+++ b/repo/ladspa/ladspa.xibuild
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+NAME="ladspa"
+DESC="Linux Audio Developer's Simple Plug-in API, examples and tools"
+
+MAKEDEPS=" libsndfile"
+
+PKG_VER=1.17
+SOURCE="https://ladspa.org/download/ladspa_sdk_$PKG_VER.tgz"
+
+ADDITIONAL="
+fix-memleak-in-plugin-scanning.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ make targets
+}
+
+check() {
+ make test
+}
+
+package() {
+ make INSTALL_PLUGINS_DIR="$PKG_DEST/usr/lib/ladspa/" \
+ INSTALL_INCLUDE_DIR="$PKG_DEST/usr/include/" \
+ INSTALL_BINARY_DIR="$PKG_DEST/usr/bin/" install
+}
+
diff --git a/repo/liblo/liblo.xibuild b/repo/liblo/liblo.xibuild
new file mode 100644
index 0000000..4d8e7e7
--- /dev/null
+++ b/repo/liblo/liblo.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="liblo"
+DESC="Open Sound Control protocol implementation for POSIX systems"
+
+MAKEDEPS=""
+
+PKG_VER=0.31
+SOURCE="http://downloads.sourceforge.net/liblo/liblo-$PKG_VER.tar.gz"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
diff --git a/repo/lilv/lilv.xibuild b/repo/lilv/lilv.xibuild
new file mode 100644
index 0000000..ef523c1
--- /dev/null
+++ b/repo/lilv/lilv.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+NAME="lilv"
+DESC="C library for simpler use of LV2 plugins"
+
+MAKEDEPS="lv2 python serd libsndfile sord sratom"
+
+PKG_VER=0.24.12
+SOURCE="http://download.drobilla.net/lilv-$PKG_VER.tar.bz2"
+
+build() {
+ python3 waf configure --prefix=/usr
+ python3 waf build
+}
+
+package() {
+ python3 waf install --destdir="$PKG_DEST"
+}
+
diff --git a/repo/lrdf/lrdf.xibuild b/repo/lrdf/lrdf.xibuild
new file mode 100644
index 0000000..1b7d018
--- /dev/null
+++ b/repo/lrdf/lrdf.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="lrdf"
+DESC="RDF library for accessing plugin metadata in the LADSPA plugin system"
+
+MAKEDEPS="autoconf automake libtool raptor2"
+
+PKG_VER=0.6.1
+SOURCE="https://github.com/swh/LRDF/archive/v$PKG_VER.tar.gz"
+
+prepare() {
+ autoreconf -if
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
diff --git a/repo/lv2/lv2.xibuild b/repo/lv2/lv2.xibuild
new file mode 100644
index 0000000..6aec5aa
--- /dev/null
+++ b/repo/lv2/lv2.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="lv2"
+DESC="extensible open standard for audio plugins"
+
+MAKEDEPS="python gtk2 libsndfile gcovr"
+
+PKG_VER=1.18.2
+SOURCE="http://lv2plug.in/spec/lv2-$PKG_VER.tar.bz2"
+
+build() {
+ python3 waf configure --prefix=/usr -T
+ python3 waf build
+}
+
+check() {
+ python3 waf test
+}
+
+package() {
+ python3 waf install --destdir="$PKG_DEST"
+}
+
diff --git a/repo/raptor2/CVE-2017-18926.patch b/repo/raptor2/CVE-2017-18926.patch
new file mode 100644
index 0000000..6f31e50
--- /dev/null
+++ b/repo/raptor2/CVE-2017-18926.patch
@@ -0,0 +1,40 @@
+From 590681e546cd9aa18d57dc2ea1858cb734a3863f Mon Sep 17 00:00:00 2001
+From: Dave Beckett <dave@dajobe.org>
+Date: Sun, 16 Apr 2017 23:15:12 +0100
+Subject: [PATCH] Calcualte max nspace declarations correctly for XML writer
+
+(raptor_xml_writer_start_element_common): Calculate max including for
+each attribute a potential name and value.
+
+Fixes Issues #0000617 http://bugs.librdf.org/mantis/view.php?id=617
+and #0000618 http://bugs.librdf.org/mantis/view.php?id=618
+---
+ src/raptor_xml_writer.c | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/src/raptor_xml_writer.c b/src/raptor_xml_writer.c
+index 693b9468..0d3a36a5 100644
+--- a/src/raptor_xml_writer.c
++++ b/src/raptor_xml_writer.c
+@@ -181,9 +181,10 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer,
+ size_t nspace_declarations_count = 0;
+ unsigned int i;
+
+- /* max is 1 per element and 1 for each attribute + size of declared */
+ if(nstack) {
+- int nspace_max_count = element->attribute_count+1;
++ int nspace_max_count = element->attribute_count * 2; /* attr and value */
++ if(element->name->nspace)
++ nspace_max_count++;
+ if(element->declared_nspaces)
+ nspace_max_count += raptor_sequence_size(element->declared_nspaces);
+ if(element->xml_language)
+@@ -237,7 +238,7 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer,
+ }
+ }
+
+- /* Add the attribute + value */
++ /* Add the attribute's value */
+ nspace_declarations[nspace_declarations_count].declaration=
+ raptor_qname_format_as_xml(element->attributes[i],
+ &nspace_declarations[nspace_declarations_count].length);
diff --git a/repo/raptor2/CVE-2020-25713.patch b/repo/raptor2/CVE-2020-25713.patch
new file mode 100644
index 0000000..b154f92
--- /dev/null
+++ b/repo/raptor2/CVE-2020-25713.patch
@@ -0,0 +1,16 @@
+https://bugs.librdf.org/mantis/view.php?id=650
+
+diff --git a/src/raptor_xml_writer.c b/src/raptor_xml_writer.c
+index 56993dc3..163f34d5 100644
+--- a/src/raptor_xml_writer.c
++++ b/src/raptor_xml_writer.c
+@@ -216,6 +216,9 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer,
+
+ if(nstack && element->attributes) {
+ for(i = 0; i < element->attribute_count; i++) {
++ if (nspace_declarations_count > element->attribute_count)
++ goto error;
++
+ /* qname */
+ if(element->attributes[i]->nspace) {
+ /* Check if we need a namespace declaration attribute */
diff --git a/repo/raptor2/raptor2.xibuild b/repo/raptor2/raptor2.xibuild
new file mode 100644
index 0000000..831c487
--- /dev/null
+++ b/repo/raptor2/raptor2.xibuild
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+NAME="raptor2"
+DESC="RDF parser toolkit for Redland"
+
+MAKEDEPS="curl libxml2 libxslt yajl"
+
+PKG_VER=2.0.15
+SOURCE="https://download.librdf.org/source/raptor2-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+CVE-2017-18926.patch
+CVE-2020-25713.patch
+"
+
+prepare() {
+ apply_patches
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
diff --git a/repo/rasqal/rasqal.xibuild b/repo/rasqal/rasqal.xibuild
new file mode 100644
index 0000000..7326c83
--- /dev/null
+++ b/repo/rasqal/rasqal.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="rasqal"
+DESC="RDF query library"
+
+MAKEDEPS="raptor2"
+
+PKG_VER=0.9.33
+SOURCE="https://download.librdf.org/source/rasqal-$PKG_VER.tar.gz"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
diff --git a/repo/redland/redland.xibuild b/repo/redland/redland.xibuild
new file mode 100644
index 0000000..39c1e28
--- /dev/null
+++ b/repo/redland/redland.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="redland"
+DESC="high-level RDF library"
+
+MAKEDEPS="raptor2 rasqal sqlite perl"
+
+PKG_VER=1.0.17
+SOURCE="https://download.librdf.org/source/redland-$PKG_VER.tar.gz"
+
+build() {
+ LIBS="-lm" ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
diff --git a/repo/rubberband/rubberband.xibuild b/repo/rubberband/rubberband.xibuild
new file mode 100644
index 0000000..9415319
--- /dev/null
+++ b/repo/rubberband/rubberband.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="rubberband"
+DESC="library for audio time-stretching and pitch-shifting"
+
+MAKEDEPS="fftw ladspa libsamplerate libsndfile lv2 meson vamp-sdk"
+
+PKG_VER=2.0.2
+SOURCE="https://breakfastquay.com/files/releases/rubberband-$PKG_VER.tar.bz2"
+
+build() {
+ meson --prefix=/usr \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=plain \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
+}
+
diff --git a/repo/serd/serd.xibuild b/repo/serd/serd.xibuild
new file mode 100644
index 0000000..10dcec1
--- /dev/null
+++ b/repo/serd/serd.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+NAME="serd"
+DESC="lightweight C library for RDF syntax"
+
+MAKEDEPS="python"
+
+PKG_VER=0.30.10
+SOURCE="http://download.drobilla.net/serd-$PKG_VER.tar.bz2"
+
+build() {
+ python3 waf configure --prefix=/usr
+ python3 waf build
+}
+
+package() {
+ python3 waf install --destdir="$PKG_DEST"
+}
+
diff --git a/repo/sord/sord.xibuild b/repo/sord/sord.xibuild
new file mode 100644
index 0000000..2334305
--- /dev/null
+++ b/repo/sord/sord.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="sord"
+DESC="C library for storing RDF data in memory"
+
+MAKEDEPS="python pcre serd"
+
+PKG_VER=0.16.8
+SOURCE="http://download.drobilla.net/sord-$PKG_VER.tar.bz2"
+
+build() {
+ python3 waf configure --prefix=/usr --test
+ python3 waf build
+}
+
+check() {
+ python3 waf test
+}
+
+package() {
+ python3 waf install --destdir="$PKG_DEST"
+}
+
diff --git a/repo/sratom/sratom.xibuild b/repo/sratom/sratom.xibuild
new file mode 100644
index 0000000..1b42fdd
--- /dev/null
+++ b/repo/sratom/sratom.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+NAME="sratom"
+DESC="library for serialising LV2 atoms to and from RDF"
+
+MAKEDEPS="python serd sord lv2"
+
+PKG_VER=0.6.8
+SOURCE="http://download.drobilla.net/sratom-$PKG_VER.tar.bz2"
+
+build() {
+ python3 waf configure --prefix=/usr
+ python3 waf build
+}
+
+package() {
+ python3 waf install --destdir="$PKG_DEST"
+}
+
diff --git a/repo/taglib/taglib.xibuild b/repo/taglib/taglib.xibuild
new file mode 100644
index 0000000..5fbc064
--- /dev/null
+++ b/repo/taglib/taglib.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="taglib"
+DESC="Library for reading and editing metadata of several popular audio formats"
+
+MAKEDEPS="zlib cmake ninja"
+
+PKG_VER=1.12
+SOURCE="https://taglib.github.io/releases/taglib-$PKG_VER.tar.gz"
+
+build() {
+ cmake -B build -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DWITH_ASF=ON \
+ -DWITH_MP4=ON \
+ -DBUILD_SHARED_LIBS=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
+
diff --git a/repo/vamp-sdk/vamp-sdk.xibuild b/repo/vamp-sdk/vamp-sdk.xibuild
new file mode 100644
index 0000000..efbfef3
--- /dev/null
+++ b/repo/vamp-sdk/vamp-sdk.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="vamp-sdk"
+DESC="Framework for audio analysis and feature extraction"
+
+MAKEDEPS="libsndfile"
+
+PKG_VER=2.9.0
+SOURCE="https://code.soundsoftware.ac.uk/attachments/download/2588/vamp-plugin-sdk-$PKG_VER.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make -j1 DESTDIR="$PKG_DEST" install
+}
+
diff --git a/repo/yajl/yajl.xibuild b/repo/yajl/yajl.xibuild
new file mode 100644
index 0000000..1cb9b91
--- /dev/null
+++ b/repo/yajl/yajl.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="yajl"
+DESC="Yet Another JSON Library (YAJL)"
+
+MAKEDEPS=" cmake"
+
+PKG_VER=2.1.0
+SOURCE="https://dev.alpinelinux.org/archive/yajl/yajl-$PKG_VER.tar.gz"
+
+build() {
+ cmake -B build . \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make -C build
+}
+
+package() {
+ make install -C build DESTDIR="$PKG_DEST"
+
+ mkdir -p "$PKG_DEST"/usr/lib
+ mv "$PKG_DEST"/usr/share/pkgconfig "$PKG_DEST"/usr/lib/
+}
+
+