openbsd-ports/audio/mp3blaster/Makefile
jakemsr 44cb065cc8 - update to mp3blaster-3.2.5
- add sndio audio to mp3blaster and splay programs
- implement nmixer as a generic midi volume controller, that defaults to
using the aucat:0 midi device
- stop using multiple threads for mpeg decoding.  they are poorly
implmented, just spinning and using all available cpu cycles

with feedback from naddy@ and ratchov@
2010-01-11 07:51:26 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2010/01/11 07:51:26 jakemsr Exp $
COMMENT= text console audio player with an interactive interface
DISTNAME= mp3blaster-3.2.5
CATEGORIES= audio
HOMEPAGE= http://mp3blaster.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses ogg pthread sndio stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3blaster/}
LIB_DEPENDS= sidplay.>=1::audio/libsidplay \
vorbis.>=1,vorbisfile.>=2::audio/libvorbis
AUTOCONF_VERSION=2.61
AUTOMAKE_VERSION=1.9
CONFIGURE_STYLE=autoconf automake
CONFIGURE_ARGS= --without-esd \
--without-oss \
--without-sdl \
--with-sndio
CONFIGURE_ENV+= ac_cv_lib_ossaudio_main=no
post-extract:
@cp ${FILESDIR}/sndioplayer.cc ${WRKSRC}/mpegsound
@cp ${FILESDIR}/sndiomixer.cc ${WRKSRC}/nmixer
AUTO_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
post-patch:
@echo "Running aclocal-${AUTOMAKE_VERSION} in ${WRKSRC}"
@cd ${WRKSRC}; ${AUTO_ENV} aclocal
pre-configure:
@echo "Running automake-${AUTOMAKE_VERSION} in ${WRKSRC}"
@cd ${WRKSRC}; ${AUTO_ENV} automake --foreign
.include <bsd.port.mk>