pkgsrc/audio/lilv/Makefile
bsiegert 2d15a0c4be Update lilv to 0.24.4.
Lilv 0.24.4

  * Fix saving state when broken links are encountered
  * Don't attempt to load remote or non-Turtle files
  * lv2apply: Activate plugin before running
  * lv2apply: Use default values when they are not nan
  * lv2bench: Improve support for plugins with sequence ports
  * lv2bench: Support running a single plugin given on the command line
  * Gracefully handle plugins with missing binary URIs
  * Remove use of deprecated readdir_r
  * Install Python bindings when configured without tests (thanks Clement Skau)

Lilv 0.24.2

  * Fix saving state to paths that contain URI delimiters (#, ?, etc)
  * Fix comparison of restored states with paths

Lilv 0.24.0

  * Add new hand-crafted Pythonic bindings with full test coverage
  * Add lv2apply utility for applying plugins to audio files
  * Add lilv_world_get_symbol()
  * Add lilv_state_set_metadata() for adding state banks/comments/etc (based on
    patch from Hanspeter Portner)
  * Fix crash when state contains non-POD properties
  * Fix crash when NULL predicate is passed to lilv_world_find_nodes()
  * Fix state file versioning
  * Unload contained resources when bundle is unloaded
  * Do not instantiate plugin when data fails to parse
  * Support re-loading plugins
  * Replace bundles if bundle with newer plugin version is loaded (based on
    patch from Robin Gareus)
  * Fix loading dyn-manifest from bundles with spaces in their path
  * Check lv2:binary predicate for UIs
  * Add LILV_URI_ATOM_PORT and LILV_URI_CV_PORT defines
  * Fix documentation installation
  * Fix outdated comment references to lilv_uri_to_path()

Lilv 0.22.0

  * Fix loading files with spaces in their path
  * Add lilv_file_uri_parse() for correct URI to path conversion
  * Add lilv_node_get_path() for convenient file URI path access
  * Add lilv_state_emit_port_values() for special port value handling
  * Add lilv_state_get_uri()
  * Add lilv_state_delete() for deleting user saved presets
  * Add lilv_free() for systems picky about such things
  * Fix lilv_world_ask() to work with wildcards
  * Fix creation of duplicate manifest entries when saving state
  * Fix bindings for Python 3
  * Load discovered owl ontologies as specifications
  * Expose lilv_world_load_specifications() and lilv_world_load_plugin_classes
    ()
  * Tolerate passing NULL to lilv_state_restore()
  * Preserve absolute paths in state if no link directory is given
  * Fix a few minor/unlikely memory errors
  * Configure based on compiler target OS for cross-compilation
  * Fix lilv_realpath() on pre-POSIX-2008 systems
  * Fix directory walking on some systems (thanks Matt Fischer)
  * Windows fixes (thanks John Emmas)
  * Minor documentation improvements
  * Upgrade to waf 1.8.14
2019-01-02 20:31:48 +00:00

62 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2019/01/02 20:31:48 bsiegert Exp $
DISTNAME= lilv-0.24.4
CATEGORIES= audio
MASTER_SITES= http://download.drobilla.net/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://drobilla.net/software/lilv/
COMMENT= C library to make the use of LV2 plugins as simple as possible
LICENSE= isc
#BUILD_DEPENDS+= swig-[0-9]*:../../devel/swig2 # python --bindings BROKEN
USE_LANGUAGES= c c++
USE_TOOLS+= gsed pkg-config
PKGCONFIG_OVERRIDE+= lilv.pc.in
CONFIGURE_ENV+= LV2_PATH=${BUILDLINK_PREFIX.lv2}/lib/lv2
EGDIR= share/examples/lilv
CONF_FILES= ${EGDIR}/lilv ${PKG_SYSCONFDIR}/bash_completion.d/lilv
MAKE_DIRS= ${PKG_SYSCONFDIR}/bash_completion.d
INSTALLATION_DIRS= ${EGDIR}
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= lv2bench
.if ${OPSYS} != "Darwin" && ${OPSYS} != "SunOS"
# Darwin doesn't have CLOCK_GETTIME so it doesn't compile this
PLIST.lv2bench= yes
.endif
.include "options.mk"
BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} # --bindings BROKEN
do-configure:
cd ${WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
--configdir=${PKG_SYSCONFDIR:Q} \
--destdir=${DESTDIR} --mandir=${PREFIX}/${PKGMANDIR} \
--default-lv2-path=${BUILDLINK_PREFIX.lv2}/lib/lv2 \
${BUILD_OPTIONS}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build
do-install:
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install
${INSTALL_DATA} ${WRKSRC}/utils/lilv.bash_completion \
${DESTDIR}${PREFIX}/${EGDIR}/lilv
${RM} ${DESTDIR}${PKG_SYSCONFDIR}/bash_completion.d/lilv
BUILDLINK_API_DEPENDS.sratom+= sratom>=0.4.0
.include "../../converters/sratom/buildlink3.mk"
BUILDLINK_API_DEPENDS.lv2+= lv2>=1.14.0
.include "../../audio/lv2/buildlink3.mk"
BUILDLINK_API_DEPENDS.sord+= sord>=0.14.0
.include "../../textproc/sord/buildlink3.mk"
BUILDLINK_API_DEPENDS.serd+= serd>=0.18.0
.include "../../textproc/serd/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"