f91c52e100
- 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.
47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
# $NetBSD: Makefile.common,v 1.37 2014/05/20 19:59:09 adam Exp $
|
|
#
|
|
# used by audio/mpg123-arts/Makefile
|
|
# used by audio/mpg123-esound/Makefile
|
|
# used by audio/mpg123-nas/Makefile
|
|
# used by audio/mpg123-oss/Makefile
|
|
# used by audio/mpg123-pulse/Makefile
|
|
# used by audio/mpg123-sun/Makefile
|
|
|
|
DISTNAME= mpg123-1.19.0
|
|
PKGNAME?= ${DISTNAME:C/[[:alnum:]]*/&-${MPG123_MODULE}/}
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
MAINTAINER= martin@NetBSD.org
|
|
HOMEPAGE= http://www.mpg123.org/
|
|
COMMENT?= Contains the ${MPG123_MODULE} module for mpg123
|
|
|
|
USE_LIBTOOL?= yes
|
|
USE_TOOLS+= pkg-config gmake
|
|
GNU_CONFIGURE?= yes
|
|
CONFIGURE_ARGS+= --enable-modules=yes
|
|
CONFIGURE_ENV+= BUILD_${MPG123_MODULE:tu}=yes
|
|
CONFIGURE_ENV+= MPG123_MODULE=${MPG123_MODULE:Q}
|
|
MAKE_ENV+= MPG123_SUBDIRS=${MPG123_SUBDIRS:Q}
|
|
MAKE_ENV+= MPG123_SUBDIRS.src=${MPG123_SUBDIRS.src:Q}
|
|
MPG123_SUBDIRS?= src
|
|
MPG123_SUBDIRS.src?= output
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../audio/mpg123/distinfo
|
|
|
|
.if !defined(MPG123_BUILDING_BASE)
|
|
INSTALLATION_DIRS+= lib/mpg123
|
|
LIBS+= -lmpg123
|
|
BUILD_DIRS= src/output
|
|
PATCHDIR= ${.CURDIR}/../../audio/mpg123/patches
|
|
do-install:
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} \
|
|
${WRKSRC}/src/output/output_${MPG123_MODULE}.la \
|
|
${DESTDIR}${PREFIX}/lib/mpg123
|
|
.endif
|
|
|
|
# .include "../../devel/libltdl/convenience.mk"
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|