pkgsrc/audio/mpg123/Makefile.common
mef d873fbcd94 Based on PR pkg/49405
(upstream)
  Update mpg123*  from 1.19.0 to 1.21.0
(pkgsrc)
  Add comment to patch-ad
Tks wiz@ and obache@ for review.x
1.21.0
---
- Use LL as shortcut for LOADLIST remote command, L is taken already (bug 210).
- Less namespace pollution (MPG123_EXPORT in header instead of EXPORT, bug 212).

1.20.1
---
- Make feed reader more efficient when skipping junk by early
  discarding of data from buffers to avoid re-parsing.

1.20.0
---
- Added NEON optimized decoder for AArch64 (ARM 64bit environment)
- enabled for --with-cpu=neon64 (NEON only) or --with-cpu=aarch64
  (runtime switch between neon and generic_fpu, like arm_fpu)
  configuration
- compatible with aarch64-linux-gnu toolchains (from Ubuntu, debian) and Xcode 5
- Added new binary out123 only with the audio output part of mpg123.
  This is a precursor to separating out said code into a simple audio
  output library. It also allows plugging in some processing in a pipe
  before feeding to output.
- Prevent opendir(NULL) for unknown module directory when listing modules.
- some build fixes, among those fixing mpg123-id3dump on Windows
2014-11-20 13:07:12 +00:00

47 lines
1.4 KiB
Text

# $NetBSD: Makefile.common,v 1.38 2014/11/20 13:07:12 mef 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.21.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"