[ITA] ladspa-sdk
Jon Turney
jon.turney@dronecode.org.uk
Thu Sep 14 13:27:11 GMT 2023
On 13/09/2023 15:30, Takashi Yano via Cygwin-apps wrote:
> I'd like to adopt the ladspa-sdk package.
> Thanks in advance.
>
>
>
> ladspa-sdk.cygport
>
> NAME="ladspa-sdk"
> VERSION=1.17
> RELEASE=1
> CATEGORY="Audio"
> SUMMARY="Audio Developers Simple Plugin API"
> DESCRIPTION="The Linux Audio Developer's Simple Plugin API (LADSPA) attempts
> to give programmers the ability to write simple 'plugin' audio processors in
> C/C++ and link them dynamically against a range of host applications."
> HOMEPAGE="http://www.ladspa.org/"
Ideally this would have LICENSE as well.
From looking at https://repology.org/project/ladspa-sdk/information I'd
guess "LGPL-2.1-or-later"?
> SRC_URI="http://www.ladspa.org/download/ladspa_sdk_${VERSION}.tgz"
> SRC_DIR="ladspa_sdk_${VERSION}"
> PATCH_URI="
> 1.13-ctor-dtor.patch
> "
> src_compile() {
> lndirs
> cd ${B}/src
> cygmake targets \
> CC="${CC}" \
> CFLAGS="${CFLAGS} -I${S}/src" \
> CXXFLAGS="${CXXFLAGS}" \
Looks like CXXFLAGS needs -I${S}/src, otherwise I get
plugins/sine.cpp:24:10: fatal error: ladspa.h: No such file or directory
> LD='$(CC) $(LDFLAGS)' \
> LDFLAGS="-Wl,--enable-auto-image-base"
> }
>
> src_test() {
> cd ${B}/src
> cygtest
> }
>
> src_install() {
> cd ${B}/src
> cyginstall MKDIR_P="mkdir -p"
>
> doenv LADSPA_PATH "/usr/lib/ladspa"
> }
> DOCS="doc/COPYING doc/*.html"
Otherwise looks good.
I added this to your packages.
More information about the Cygwin-apps
mailing list