pkgsrc/audio/alsa-lib/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

2012-09-12 01:59:21 +02:00
# $NetBSD: Makefile,v 1.10 2012/09/11 23:59:23 asau Exp $
#
Update to 1.0.22: Core Release v1.0.22 configure.in: fix --without-softfloat Define _GNU_SOURCE so that <fcntl.h> gives O_CLOEXEC Open device nodes with close-on-exec flag configure.in: Add m4 check for new AM_SILENT_RULES cvscompile: Remove in favour of gitcompile. Release v1.0.21a Control API Remove redefinition of _GNU_SOURCE and __USE_GNU Remove old commented-out FD_CLOEXEC code namehint: list card independent devices only once namehint: Allow snd_device_name_hint to search for CTL devices. namehint: add missing list->card initialization Fix corruption after snd_device_name_hint() hcontrol: fix compare_default function to handle also id.device and id.subdevice control: Remove unused variable. HWDEP API Remove old commented-out FD_CLOEXEC code Mixer API mixer: fix enum check simple_none.c uses HAVE_SOFT_FLOAT it has to include config.h Fix CHECK_ENUM() in simple.c mixer: Add Speaker and Beep names to the weight list PCM API Update pcm doc strings Remove old commented-out FD_CLOEXEC code pcm_rate_linear: Annotate unused function parameter to avoid compiler warnings. dmix - Fix snd_pcm_info() pcm_hw: Always use delay ioctl in snd_pcm_delay() PCM - Change the hw_params determination order RawMidi API Remove old commented-out FD_CLOEXEC code Sequencer API Remove old commented-out FD_CLOEXEC code Timer API Remove redefinition of _GNU_SOURCE and __USE_GNU Remove old commented-out FD_CLOEXEC code Defined symbols exposing the hrtimer to applications. ALSA Lisp alisp: Comment out an unused function to avoid compiler warnings. Configuration Change dmix.conf to accept user configuration from defaults.dmix.<driver_id>.xxx Revert "Fix driver conf parsing in snd_config_hook_load_for_all_cards()" Dynamic Loader helpers Remove redefinition of _GNU_SOURCE and __USE_GNU Cache libasound.so access in snd_dlopen Kernel Headers Defined symbols exposing the hrtimer to applications.
2010-02-16 16:40:06 +01:00
DISTNAME= alsa-lib-1.0.22
PKG_REVISION= 2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.alsa-project.org/pub/lib/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.alsa-project.org/
COMMENT= Advanced Linux Sound Architecture (ALSA)
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
PKGCONFIG_OVERRIDE+= utils/alsa.pc.in
CONFIGURE_ARGS+= --disable-python
LIBS.SunOS+= -lsocket -lnsl
CPPFLAGS.SunOS+= -std=c99 -D_POSIX_C_SOURCE=200112L
CPPFLAGS.SunOS+= -D__EXTENSIONS__ -DBSD_COMP -DMAP_FILE=0
CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t
CPPFLAGS.SunOS+= -Du_int32_t=uint32_t -Du_int64_t=uint64_t
CPPFLAGS.SunOS+= -Dbswap_64=BSWAP_64 -Dbswap_32=BSWAP_32 -Dbswap_16=BSWAP_16
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --without-versioned
BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=Versions
.endif
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"