[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / alsa-utils

File: [cvs.NetBSD.org] / pkgsrc / audio / alsa-utils / Makefile (download)

Revision 1.24, Mon Jan 24 10:09:30 2022 UTC (12 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.23: +2 -2 lines

alsa-utils: update to 1.2.6.


    Release v1.2.6

ALSA Control (alsactl)

    alsactl: fix the check for additional elements
    alsactl: suppress no device 'errors' for UCM

ALSA RawMidi Utility (amidi)

    amidi: remove unused variable
    amidi: add timestamp option for dump


    alsa-info.sh: Fix alsa-usbstream.tmp test


    alsaloop: Support "Playback Pitch 1000000" rate shift
    alsaloop: Renamed field capt_pitch to ctl_pitch
    alsaloop: fixed parsing value 'auto' of option 'sync'
    alsaloop: added option prateshift for PLAYSHIFT ctl elem used in PLAYSHIFT
    alsaloop: Adding openctl_elem debug log
    alsaloop: Support "Capture Pitch 1000000" rate shift


    alsamixer: fix typo in man page (and/of -> and/or)
    alsamixer: Allow setting the default background color in config
    alsamixer: Check the availability of mouse
    Added configuration information to manual page

alsatplg (topology)

    topology: fix compilation for older alsa-lib
    topology: change include path
    topology: pre-processor: Add support for conditional includes
    topology: Add option to pass pre-processor definitions
    alsatplg: use standard include/asoundlib.h instead direct headers
    topology:pre-process-object: merge object config with parent object config
    pre-process-object: set tlv name if config exists already
    pre-process-dapm: add data section for kcontrols
    topology: pre-processor: fix typo in pre_process_config()
    topology: pre-process-object: dont create if section already exists
    pre-process-object: skip parent update if parent is NULL
    pre-process-dapm: fix source and sink for DAPM routes
    topology: pre-process-object: Add support for pre-process objects with no builder
    topology: pre-process-dapm: update automatic attributes for buffer
    topology: pre-process-object: add support for updating automatic attributes
    alsatplg: do not do NULL check for string arrays
    alsatplg: fix memory-leak in tplg_construct_object_name()


    amixer: print help and add doc for 'sevents' and 'events' commands


    aplay: Fix out-of-bound access in stereo VU meter drawing
    aplay: Handle upper bound in peak calculations
    aplay: Don't pass most negative integer to abs() in peak calculations
    aplay: Handle 16bit sample negative overflow in peak calculations
    aplay: Fix conversion of unsigned samples in peak calculation


    aseqnet: add ipv6 support
    aseqnet: use getaddrinfo() instead obsolete gethostbyname()

# $NetBSD: Makefile,v 1.24 2022/01/24 10:09:30 wiz Exp $

DISTNAME=	alsa-utils-1.2.6
MASTER_SITES=	ftp://ftp.alsa-project.org/pub/utils/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.alsa-project.org/
COMMENT=	Advanced Linux Sound Architecture (ALSA) CLI utilities
LICENSE=	gnu-gpl-v2

USE_TOOLS+=		pkg-config gmake gsed bash:run
LDFLAGS.DragonFly=	-lm
LDFLAGS.SunOS+=		-lm -lsocket -lnsl
LDFLAGS.NetBSD+=	-lepoll-shim
LDFLAGS.NetBSD+=	-linotify
CPPFLAGS.NetBSD+=	-D__u32=uint32_t -D__u64=uint64_t
CPPFLAGS.NetBSD+=	-Dbswap_16=bswap16 -Dbswap_32=bswap32
CPPFLAGS.NetBSD+=	-Doff64_t=off_t
CPPFLAGS.NetBSD+=	-Dlseek64=lseek

CFLAGS+=		-g

REPLACE_BASH+=		alsaconf/alsaconf.in
REPLACE_BASH+=		alsa-info/alsa-info.sh
REPLACE_BASH+=		bat/alsabat-test.sh

BUILD_DEPENDS+=	xmlto-[0-9]*:../../textproc/xmlto

CONFIGURE_ARGS+=	--disable-nls

.include "../../audio/alsa-lib/buildlink3.mk"
.include "../../devel/libepoll-shim/buildlink3.mk"
.include "../../devel/libinotify/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"