pkgsrc/audio/ladspa/Makefile
nia b707f186a0 ladspa: Update to 1.15
Version 1.14 - 3 Jan 2019

    Rename Makefile.
    Modernise C++ #include style.
    Make some globals static.
    Use mkdir -p rather than mkdirhier during build.
    Use GCC export map to ensure only the ladspa_descriptor() exported.
    Put libraries at the end of link instructions.
    Package with version number in archive and directory names.
    Tweaks to documentation processing.
    Fix bug in LADSPA plugin search which did not handle shared libraries that are not plugins correctly.
    Introduce a default LADSPA plugin search path.

Version 1.15 - 6 Jan 2019

    Perform macro string expansion in C code rather than in Makefile for better portability.
    Modernise init()/fini() style in GNU C plugin builds (not C++), tweak link line to correspond.
2019-10-05 17:39:38 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2019/10/05 17:39:38 nia Exp $
DISTNAME= ladspa_sdk_1.15
PKGNAME= ${DISTNAME:S/_sdk_/-/}
CATEGORIES= audio
MASTER_SITES= https://www.ladspa.org/download/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.ladspa.org/
COMMENT= Linux Audio Developers Simple Plugin API
LICENSE= gnu-lgpl-v2.1
WRKSRC= ${WRKDIR}/ladspa_sdk_${PKGVERSION_NOREV}
BUILD_DIRS= src
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
MAKE_FILE= Makefile
BUILD_TARGET= targets
TEST_TARGET= test
INSTALLATION_DIRS+= bin include
INSTALLATION_DIRS+= lib/ladspa
INSTALLATION_DIRS+= share/doc/ladspa
do-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/ladspa
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/plugins/*.la ${DESTDIR}${PREFIX}/lib/ladspa
${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/src/ladspa.h ${DESTDIR}${PREFIX}/include
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
.include "../../mk/dlopen.buildlink3.mk"
LDFLAGS+= ${BUILDLINK_LDADD.dl}
.include "../../mk/bsd.pkg.mk"