Files
ports/audio/alsa-plugins/Makefile
T
Jason E. Hale 14f7c29430 */*: De-orbit alias.mk
Mk/Uses/alias.mk was an attempt for compat with DPorts, but has rotted.
This feature was never documented in the PHB, so there is no work to
be done by the docs@ team.

Nothing against DragonFly, but if DPorts still needs FreeBSD 9
support, they really should work that out with upstream projects.

Ultimately, we don't need to keep carrying this outdated feature that
doesn't affect us.
2025-12-30 07:00:05 -05:00

47 lines
1.2 KiB
Makefile

PORTNAME= alsa-plugins
PORTVERSION= 1.2.12
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= https://www.alsa-project.org/files/pub/plugins/
MAINTAINER= ports@FreeBSD.org
COMMENT= ALSA compatibility library plugins
WWW= https://www.alsa-project.org/
LICENSE= LGPL21+
LIB_DEPENDS= libasound.so:audio/alsa-lib
USES= libtool:keepla localbase pkgconfig tar:bzip2
USE_LDCONFIG= ${PREFIX}/lib/alsa-lib
GNU_CONFIGURE= yes
MAKE_ARGS+= RM="${RM}"
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${.CURDIR}/../alsa-lib/files
OPTIONS_DEFINE= FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX
OPTIONS_SUB= yes
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_CONFIGURE_ENABLE= libav
JACK_LIB_DEPENDS= libjack.so:audio/jack
JACK_CONFIGURE_ENABLE= jack
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate
SAMPLERATE_CONFIGURE_ENABLE= samplerate
SPEEX_LIB_DEPENDS= libspeexdsp.so:audio/speexdsp
SPEEX_CONFIGURE_ON= --with-speex=lib
SPEEX_CONFIGURE_OFF= --without-speex
post-install:
# sanitize links
cd ${STAGEDIR}${PREFIX}/etc/alsa/conf.d && for i in [0-9][0-9]-*.conf ; do \
${LN} -sf ../../../share/alsa/alsa.conf.d/$$i . ; done
.include <bsd.port.mk>