diff options
Diffstat (limited to 'audio/ecasound')
-rw-r--r-- | audio/ecasound/Makefile | 29 | ||||
-rw-r--r-- | audio/ecasound/pkg-plist | 3 | ||||
-rw-r--r-- | audio/ecasound/pkg-plist.py | 151 |
3 files changed, 175 insertions, 8 deletions
diff --git a/audio/ecasound/Makefile b/audio/ecasound/Makefile index 0405cf5037b0..43a4840f7118 100644 --- a/audio/ecasound/Makefile +++ b/audio/ecasound/Makefile @@ -14,11 +14,30 @@ MASTER_SITE_SUBDIR= ecawave MAINTAINER= anarcat@tao.ca -# RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 \ -# lame:${PORTSDIR}/audio/lame \ -# mikmod:${PORTSDIR}/audio/mikmod - -# LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile +.if defined(WITH_MPG123) +RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 +.endif + +.if defined(WITH_LAME) +RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame +.endif + +.if defined(WITH_MIKMOD) +RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod +.endif + +.if defined(WITH_AUDIOFILE) +LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile +.else +CONFIGURE_ARGS+= --disable-audiofile +.endif + +.if defined(WITH_PYECASOUND) +USE_PYTHON= yes +PLIST?= ${PKGDIR}/pkg-plist.py +.else +CONFIGURE_ARGS+= --disable-pyecasound +.endif GNU_CONFIGURE= yes USE_GMAKE= yes diff --git a/audio/ecasound/pkg-plist b/audio/ecasound/pkg-plist index 6bdbc4034693..30c0d1f7139c 100644 --- a/audio/ecasound/pkg-plist +++ b/audio/ecasound/pkg-plist @@ -140,9 +140,6 @@ lib/ecasound-plugins/libaudioio_arts.la lib/ecasound-plugins/libaudioio_arts.so share/ecasound/effect_presets share/ecasound/generic_oscillators -lib/python1.5/site-packages/pyeca.py -lib/python1.5/site-packages/libpyecasound.la -lib/python1.5/site-packages/libpyecasound.so @dirrm share/ecasound @dirrm include/ecasound @dirrm lib/ecasound-plugins diff --git a/audio/ecasound/pkg-plist.py b/audio/ecasound/pkg-plist.py new file mode 100644 index 000000000000..6bdbc4034693 --- /dev/null +++ b/audio/ecasound/pkg-plist.py @@ -0,0 +1,151 @@ +@name ecasound-1.8.5d15 +bin/ecaconvert +bin/ecafixdc +bin/ecanormalize +bin/ecaplay +bin/ecasignalview +bin/ecasound +bin/ecasound-config +bin/ecasoundc-config +include/ecasound/audiofx.h +include/ecasound/audiofx_amplitude.h +include/ecasound/audiofx_analysis.h +include/ecasound/audiofx_compressor.h +include/ecasound/audiofx_envelope_modulation.h +include/ecasound/audiofx_filter.h +include/ecasound/audiofx_impl.h +include/ecasound/audiofx_ladspa.h +include/ecasound/audiofx_mixing.h +include/ecasound/audiofx_rcfilter.h +include/ecasound/audiofx_reverb.h +include/ecasound/audiofx_timebased.h +include/ecasound/audiofx_vst.h +include/ecasound/audiogate.h +include/ecasound/audioio-buffered-proxy.h +include/ecasound/audioio-cdr.h +include/ecasound/audioio-cdr_impl.h +include/ecasound/audioio-ewf.h +include/ecasound/audioio-forked-stream.h +include/ecasound/audioio-loop.h +include/ecasound/audioio-mikmod.h +include/ecasound/audioio-mp3.h +include/ecasound/audioio-mp3_impl.h +include/ecasound/audioio-null.h +include/ecasound/audioio-ogg.h +include/ecasound/audioio-oss.h +include/ecasound/audioio-oss_impl.h +include/ecasound/audioio-plugin.h +include/ecasound/audioio-proxy-buffer.h +include/ecasound/audioio-proxy-server.h +include/ecasound/audioio-raw.h +include/ecasound/audioio-rtnull.h +include/ecasound/audioio-timidity.h +include/ecasound/audioio-types.h +include/ecasound/audioio-wave.h +include/ecasound/audioio.h +include/ecasound/ctrl-source.h +include/ecasound/dynamic-object.h +include/ecasound/dynamic-parameters.h +include/ecasound/eca-audio-format.h +include/ecasound/eca-audio-object-map.h +include/ecasound/eca-audio-objects.h +include/ecasound/eca-audio-position.h +include/ecasound/eca-audio-time.h +include/ecasound/eca-chain.h +include/ecasound/eca-chainop-map.h +include/ecasound/eca-chainop.h +include/ecasound/eca-chainsetup-position.h +include/ecasound/eca-chainsetup.h +include/ecasound/eca-comhelp.h +include/ecasound/eca-control-base.h +include/ecasound/eca-control-dump.h +include/ecasound/eca-control-interface.h +include/ecasound/eca-control-objects.h +include/ecasound/eca-control.h +include/ecasound/eca-controller-map.h +include/ecasound/eca-debug.h +include/ecasound/eca-error.h +include/ecasound/eca-fileio-mmap.h +include/ecasound/eca-fileio-stream.h +include/ecasound/eca-fileio.h +include/ecasound/eca-iamode-parser.h +include/ecasound/eca-ladspa-plugin-map.h +include/ecasound/eca-main.h +include/ecasound/eca-midi.h +include/ecasound/eca-object-factory.h +include/ecasound/eca-object-map.h +include/ecasound/eca-object.h +include/ecasound/eca-operator.h +include/ecasound/eca-preset-map.h +include/ecasound/eca-resources.h +include/ecasound/eca-session.h +include/ecasound/eca-static-object-maps.h +include/ecasound/eca-version.h +include/ecasound/eca-vst-plugin-map.h +include/ecasound/ecasoundc.h +include/ecasound/file-preset.h +include/ecasound/finite-envelope.h +include/ecasound/generic-controller.h +include/ecasound/global-preset.h +include/ecasound/ladspa.h +include/ecasound/layer.h +include/ecasound/linear-envelope.h +include/ecasound/midi-cc.h +include/ecasound/osc-gen.h +include/ecasound/osc-sine.h +include/ecasound/oscillator.h +include/ecasound/plugin-paths.h +include/ecasound/preset.h +include/ecasound/resource-file.h +include/ecasound/sample-specs.h +include/ecasound/samplebuffer.h +include/ecasound/samplebuffer_functions.h +include/ecasound/samplebuffer_impl.h +include/ecasound/samplebuffer_iterators.h +include/ecasound/two-stage-linear-envelope.h +include/kvutils/com_line.h +include/kvutils/definition_by_contract.h +include/kvutils/kvu_numtostr.h +include/kvutils/kvutils.h +include/kvutils/locks.h +include/kvutils/message_item.h +include/kvutils/object_queue.h +include/kvutils/procedure_timer.h +include/kvutils/value_queue.h +lib/libecasound.a +lib/libecasound.la +lib/libecasound.so +lib/libecasound.so.7 +lib/libecasoundc.a +lib/libecasoundc.la +lib/libecasoundc.so +lib/libecasoundc.so.0 +lib/libkvutils.a +lib/libkvutils.la +lib/libkvutils.so +lib/libkvutils.so.2 +lib/ecasound-plugins/libaudioio_af.la +lib/ecasound-plugins/libaudioio_af.so +lib/ecasound-plugins/libaudioio_alsa.la +lib/ecasound-plugins/libaudioio_alsa.so +lib/ecasound-plugins/libaudioio_alsa2.la +lib/ecasound-plugins/libaudioio_alsa2.so +lib/ecasound-plugins/libaudioio_alsa2_plugin.la +lib/ecasound-plugins/libaudioio_alsa2_plugin.so +lib/ecasound-plugins/libaudioio_alsa3.la +lib/ecasound-plugins/libaudioio_alsa3.so +lib/ecasound-plugins/libaudioio_alsalb.la +lib/ecasound-plugins/libaudioio_alsalb.so +lib/ecasound-plugins/libaudioio_arts.la +lib/ecasound-plugins/libaudioio_arts.so +share/ecasound/effect_presets +share/ecasound/generic_oscillators +lib/python1.5/site-packages/pyeca.py +lib/python1.5/site-packages/libpyecasound.la +lib/python1.5/site-packages/libpyecasound.so +@dirrm share/ecasound +@dirrm include/ecasound +@dirrm lib/ecasound-plugins +@unexec rmdir %D/lib/python1.5/site-packages 2>/dev/null || true +@exec /sbin/ldconfig -m %D/lib +@unexec /sbin/ldconfig -R |