pkgsrc/audio/mpg123/Makefile.common
zafer 6e87e89a09 Update mpg123 to 1.12.5
Changelog:
Version 1.12.5:
This release fixes a buffer overflow issue in the mpg123 frontend application when printing ID3 data in non-UTF-8 environments. It has been introduced in version 1.12.4 and Jakub Bogusz was so kind to bump my head into this. Please upgrade. Thanks.

Version 1.12.4:
This is a little bugfix release that improves printout of metadata (ID3) in UTF-8 terminals, fixing one of those distro bug reports that I am getting aware of late... Get it from the usual places.

Version 1.12.3:
The newest release fixes bug 3022850, a long-standing bug that managed to break http streaming with ICY metadata in a non-obvious manner. It's a little change with big impact... for those who listen to web radio, that is.

Version 1.12.2:
The fresh maintenance release mainly fixes bug 2996045, invalid memory access prompted by addresses in the upper half of the address space. I introduced that one with a bad alignment algorithm, sorry.

Along with this go several other fixes/improvements:

    * Various build and portability fixes (including making some exotic configure switches work (again)).
    * Add dump_seekindex example
    * Sync mpg123_clr (.NET wrapper) to 1.12 feature set, patch provided by Malcolm Boczek -- and actually include it in release tarball!
    * Rework mpg123.h logic for large file stuff a bit, clients can control it by defining MPG123_NO_LARGENAME or MPG123_LARGESUFFIX.
    * Include dumb wrappers to provide names suffixed with _64 on 64 bit machines and _32 on 32 bit machines, respectively, to help clients that insist on defining _FILE_OFFSET_BITS where it is not needed (or with a non-large value).
    * Tuning of the internal buffer code for feeder mode to minimize its performance impact (works in 4K blocks now).
    * Workaround for compiler bugs in Open64/PathScale/SunStudio (bug 3004396, suggestion by Doug Gilmore).
      Note that Sun Studio is still a tricky fellow, at least when it comes to our preprocessed assembly (generic build works). Also, x86-Open64 recently produced another segfault in layer3.c on my box... GNU and intel compilers are what one can use as something stable.
    * Make mpg123_getformat() return more error codes (like MPG123_NEED_MORE).
    * Fix handle I/O for clients with small file offset (32 bit when libmpg123 has 64 bit).
    * Fix 3DNow(Ext) standalone builds.
2010-10-26 21:06:44 +00:00

50 lines
1.5 KiB
Text

# $NetBSD: Makefile.common,v 1.35 2010/10/26 21:06:44 zafer 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.12.5
PKGNAME?= ${DISTNAME:C/[[:alnum:]]*/&-${MPG123_MODULE}/}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
EXTRACT_SUFX= .tar.bz2
DISTINFO_FILE=${.CURDIR}/../../audio/mpg123/distinfo
LICENSE= gnu-lgpl-v2.1
MAINTAINER= martin@NetBSD.org
HOMEPAGE= http://www.mpg123.org/
COMMENT?= Contains the ${MPG123_MODULE} module for mpg123
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE?= yes
USE_LIBTOOL?= yes
USE_TOOLS+= pkg-config gmake
CONFIGURE_ARGS+= --enable-modules=yes
MPG123_SUBDIRS?= src
MPG123_SUBDIRS.src?= output
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}
.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"