new package: lilv
This commit is contained in:
parent
03c57b84b7
commit
8d75e62e46
36
packages/lilv/build.sh
Normal file
36
packages/lilv/build.sh
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://drobilla.net/software/lilv.html
|
||||||
|
TERMUX_PKG_DESCRIPTION="A C library to make the use of LV2 plugins as simple as possible for applications"
|
||||||
|
TERMUX_PKG_LICENSE="ISC"
|
||||||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
|
TERMUX_PKG_VERSION=0.24.12
|
||||||
|
TERMUX_PKG_SRCURL=https://download.drobilla.net/lilv-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
|
TERMUX_PKG_SHA256=26a37790890c9c1f838203b47f5b2320334fe92c02a4d26ebbe2669dbd769061
|
||||||
|
TERMUX_PKG_DEPENDS="libsndfile, lv2, python, serd, sord, sratom"
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
|
termux_step_pre_configure() {
|
||||||
|
_PYTHON_VERSION=$(. $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
|
||||||
|
termux_setup_python_crossenv
|
||||||
|
pushd $TERMUX_PYTHON_CROSSENV_SRCDIR
|
||||||
|
_CROSSENV_PREFIX=$TERMUX_PKG_BUILDDIR/python-crossenv-prefix
|
||||||
|
python${_PYTHON_VERSION} -m crossenv \
|
||||||
|
$TERMUX_PREFIX/bin/python${_PYTHON_VERSION} \
|
||||||
|
${_CROSSENV_PREFIX}
|
||||||
|
popd
|
||||||
|
. ${_CROSSENV_PREFIX}/bin/activate
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_configure() {
|
||||||
|
./waf configure \
|
||||||
|
--prefix=$TERMUX_PREFIX \
|
||||||
|
LINKFLAGS="$LDFLAGS" \
|
||||||
|
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make() {
|
||||||
|
./waf
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make_install() {
|
||||||
|
./waf install
|
||||||
|
}
|
11
packages/lilv/src-filesystem.c.patch
Normal file
11
packages/lilv/src-filesystem.c.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/filesystem.c
|
||||||
|
+++ b/src/filesystem.c
|
||||||
|
@@ -84,7 +84,7 @@
|
||||||
|
#else
|
||||||
|
const char* const tmpdir = getenv("TMPDIR");
|
||||||
|
|
||||||
|
- return tmpdir ? lilv_strdup(tmpdir) : lilv_strdup("/tmp");
|
||||||
|
+ return tmpdir ? lilv_strdup(tmpdir) : lilv_strdup("@TERMUX_PREFIX@/tmp");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
13
packages/lilv/wscript.patch
Normal file
13
packages/lilv/wscript.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- a/wscript
|
||||||
|
+++ b/wscript
|
||||||
|
@@ -267,8 +267,8 @@
|
||||||
|
else:
|
||||||
|
libdirname = os.path.basename(conf.env.LIBDIR)
|
||||||
|
lv2_path = lilv_path_sep.join(['~/.lv2',
|
||||||
|
- '/usr/%s/lv2' % libdirname,
|
||||||
|
- '/usr/local/%s/lv2' % libdirname])
|
||||||
|
+ '@TERMUX_PREFIX@/lib/lv2',
|
||||||
|
+ '@TERMUX_PREFIX@/local/lib/lv2'])
|
||||||
|
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
lv2_path = lv2_path.replace('%', '%%')
|
35
packages/lv2/build.sh
Normal file
35
packages/lv2/build.sh
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://lv2plug.in/
|
||||||
|
TERMUX_PKG_DESCRIPTION="A plugin standard for audio systems"
|
||||||
|
TERMUX_PKG_LICENSE="ISC"
|
||||||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
|
TERMUX_PKG_VERSION=1.18.2
|
||||||
|
TERMUX_PKG_SRCURL=https://lv2plug.in/spec/lv2-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
|
TERMUX_PKG_SHA256=4e891fbc744c05855beb5dfa82e822b14917dd66e98f82b8230dbd1c7ab2e05e
|
||||||
|
TERMUX_PKG_DEPENDS="python"
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||||
|
--no-plugins
|
||||||
|
"
|
||||||
|
|
||||||
|
termux_step_configure() {
|
||||||
|
./waf configure \
|
||||||
|
--prefix=$TERMUX_PREFIX \
|
||||||
|
LINKFLAGS="$LDFLAGS" \
|
||||||
|
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make() {
|
||||||
|
./waf
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make_install() {
|
||||||
|
./waf install
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_create_debscripts() {
|
||||||
|
cat <<- EOF > ./postinst
|
||||||
|
#!$TERMUX_PREFIX/bin/sh
|
||||||
|
echo "Installing dependencies through pip..."
|
||||||
|
pip3 install lxml pygments rdflib
|
||||||
|
EOF
|
||||||
|
}
|
23
packages/serd/build.sh
Normal file
23
packages/serd/build.sh
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://drobilla.net/software/serd.html
|
||||||
|
TERMUX_PKG_DESCRIPTION="A lightweight C library for RDF syntax"
|
||||||
|
TERMUX_PKG_LICENSE="ISC"
|
||||||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
|
TERMUX_PKG_VERSION=0.30.10
|
||||||
|
TERMUX_PKG_SRCURL=https://download.drobilla.net/serd-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
|
TERMUX_PKG_SHA256=affa80deec78921f86335e6fc3f18b80aefecf424f6a5755e9f2fa0eb0710edf
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
|
termux_step_configure() {
|
||||||
|
./waf configure \
|
||||||
|
--prefix=$TERMUX_PREFIX \
|
||||||
|
LINKFLAGS="$LDFLAGS" \
|
||||||
|
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make() {
|
||||||
|
./waf
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make_install() {
|
||||||
|
./waf install
|
||||||
|
}
|
24
packages/sord/build.sh
Normal file
24
packages/sord/build.sh
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://drobilla.net/software/sord.html
|
||||||
|
TERMUX_PKG_DESCRIPTION="A lightweight C library for storing RDF data in memory"
|
||||||
|
TERMUX_PKG_LICENSE="ISC"
|
||||||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
|
TERMUX_PKG_VERSION=0.16.8
|
||||||
|
TERMUX_PKG_SRCURL=https://download.drobilla.net/sord-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
|
TERMUX_PKG_SHA256=7c289d2eaabf82fa6ac219107ce632d704672dcfb966e1a7ff0bbc4ce93f5e14
|
||||||
|
TERMUX_PKG_DEPENDS="pcre, serd"
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
|
termux_step_configure() {
|
||||||
|
./waf configure \
|
||||||
|
--prefix=$TERMUX_PREFIX \
|
||||||
|
LINKFLAGS="$LDFLAGS" \
|
||||||
|
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make() {
|
||||||
|
./waf
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make_install() {
|
||||||
|
./waf install
|
||||||
|
}
|
24
packages/sratom/build.sh
Normal file
24
packages/sratom/build.sh
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://drobilla.net/software/sratom.html
|
||||||
|
TERMUX_PKG_DESCRIPTION="A small library for serialising LV2 atoms to and from RDF"
|
||||||
|
TERMUX_PKG_LICENSE="ISC"
|
||||||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
|
TERMUX_PKG_VERSION=0.6.8
|
||||||
|
TERMUX_PKG_SRCURL=https://download.drobilla.net/sratom-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
|
TERMUX_PKG_SHA256=3acb32b1adc5a2b7facdade2e0818bcd6c71f23f84a1ebc17815bb7a0d2d02df
|
||||||
|
TERMUX_PKG_DEPENDS="lv2, serd, sord"
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
|
termux_step_configure() {
|
||||||
|
./waf configure \
|
||||||
|
--prefix=$TERMUX_PREFIX \
|
||||||
|
LINKFLAGS="$LDFLAGS" \
|
||||||
|
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make() {
|
||||||
|
./waf
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make_install() {
|
||||||
|
./waf install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user