pkgsrc/audio/mpg123/Makefile
adam f91c52e100 Changes 1.19.0:
- Support float and 32/24 bit integer output also with fixed-point decoders (conversion from 16 bit precision).
- A-Law output encoding is actually implemented now (Michael introduced the encoding back in the old days without ever implementing theconversion table, apparently).
- Added --with-cpu=arm_fpu as decoder choice for runtime switch between plain fpu code and NEON.
- Fix ARM builds to work properly on debian systems without special CFLAGS (NEON decoder, specifically).
- Make scripts/benchmark-cpu.pl check the return value instead of delivering crazy timings for crashed mpg123.
- Trigger track initialization in mpg123_info() to avoid use of uninitialized variables (watch out for MPG123_NEED_MORE return value!).
- Fix integer code to 32 bit numbers where it would waste 64 bit on modern systems.
- Add non-executable stack marking also to ARM assembly.
2014-05-20 19:59:09 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.54 2014/05/20 19:59:09 adam Exp $
PKGNAME= ${DISTNAME:C/[^[:alnum:]]*//}
COMMENT= MPEG layer 1, 2, and 3 audio player
PKGCONFIG_OVERRIDE+= libmpg123.pc.in
MPG123_SUBDIRS= src doc
MPG123_SUBDIRS.src= output libmpg123
MAKE_ENV+= MPG123_PROGRAM=mpg123
MAKE_ENV+= EXTRA_INSTALL_TARGETS="install-exec-am install-data-am"
MPG123_BUILDING_BASE= # empty
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= coreaudio oss sun
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "SunOS"
MPG123_DEFAULT_MODULE= sun
PLIST.sun= yes
.elif ${OPSYS} == "Darwin"
MPG123_DEFAULT_MODULE= coreaudio
PLIST.coreaudio= yes
.else
MPG123_DEFAULT_MODULE= oss
PLIST.oss= yes
.include "../../mk/oss.buildlink3.mk"
LIBS+= ${LIBOSSAUDIO}
CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
CPPFLAGS+= -DDEVOSSSOUND="\"${DEVOSSSOUND}\""
.endif
# MPG123_MODULE is not finally set yet, to avoid NOT_FOR_PLATFORM triggers
.include "Makefile.common"
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
# now we can set the default module
MPG123_MODULE= ${MPG123_DEFAULT_MODULE}