pkgsrc/audio/alsa-lib/Makefile
wiz 8939715fa4 Updated alsa-lib to 1.1.4.1.
Core

    Release v1.1.4.1
    conf: Check the availability of PTHREAD_MUTEX_RECURSIVE

PCM API

    pcm: dmix: Fix the inconsistent PCM state
    pcm: dshare: Call snd_pcm_dshare_state() directly
    pcm: dmix: Workaround for binary incompatibility
    conf: Check the availability of PTHREAD_MUTEX_RECURSIVE
    build: Define __USE_UNIX98 for old glibc

Configuration

    conf: Check the availability of PTHREAD_MUTEX_RECURSIVE

Test/Example code

    test: add a test for list operation to user-defined element sets
2017-06-19 20:46:31 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2017/06/19 20:46:31 wiz Exp $
DISTNAME= alsa-lib-1.1.4.1
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_LANGUAGES= c99
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
PKGCONFIG_OVERRIDE+= utils/alsa.pc.in
CONFIGURE_ARGS+= --disable-python
CPPFLAGS.SunOS+= -D__EXTENSIONS__ -DBSD_COMP -DMAP_FILE=0
CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600
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+= -D__u32=uint32_t -D__u64=uint64_t
CPPFLAGS.NetBSD+= -D__u32=uint32_t -D__u64=uint64_t
CPPFLAGS.FreeBSD+= -D__u32=uint32_t -D__u64=uint64_t
LIBS.SunOS+= -lsocket -lnsl
CONFIGURE_ARGS.SunOS+= --without-versioned
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=Versions
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"