Phase 20: package Linux builds and document release and maintenance workflows

This commit is contained in:
Johannes Findeisen 2026-10-27 06:44:22 +01:00
commit 830b6e1914
22 changed files with 490 additions and 17 deletions

8
src/plugin/config.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef XTC_PLUGIN_CONFIG_H
#define XTC_PLUGIN_CONFIG_H
#ifdef __has_include
#if __has_include(<ladspa.h>) && !defined(XTC_DISABLE_LADSPA)
#define XTC_HAVE_LADSPA 1
#endif
#endif
#endif

View file

@ -8,11 +8,7 @@
#include <stdio.h>
/* Header-only optional dependency; absent development header gives explicit
* unsupported stubs, preserving metadata-only load/save of plugin documents. */
#ifdef __has_include
#if __has_include(<ladspa.h>) && !defined(XTC_DISABLE_LADSPA)
#define XTC_HAVE_LADSPA 1
#endif
#endif
#include "config.h"
static int terminated(const char *s, size_t n) { return memchr(s, 0, n) != NULL; }
xtc_result xtc_plugin_spec_validate(const xtc_plugin_spec *s)
{