[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / qmmp

File: [cvs.NetBSD.org] / pkgsrc / audio / qmmp / options.mk (download)

Revision 1.1, Tue Oct 1 12:43:04 2019 UTC (11 months, 3 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD

Add audio/qmmp.

qmmp is an audio player. The default user interface is similar to Winamp/XMMP.
An alternative user interface based on a standard widget set is also available.

# $NetBSD: options.mk,v 1.1 2019/10/01 12:43:04 nia Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.qmmp
PKG_SUPPORTED_OPTIONS+=		alsa jack pulseaudio
PKG_SUPPORTED_OPTIONS+=		ffmpeg musepack wavpack
PKG_SUGGESTED_OPTIONS+=		ffmpeg
PKG_SUGGESTED_OPTIONS.Linux+=	alsa

.include "../../mk/bsd.options.mk"

PLIST_VARS+=	alsa
.if !empty(PKG_OPTIONS:Malsa)
PLIST.alsa=	yes
.  include "../../audio/alsa-lib/buildlink3.mk"
.else
CMAKE_ARGS+=	-DUSE_ALSA=OFF
.endif

PLIST_VARS+=	pulse
.if !empty(PKG_OPTIONS:Mpulseaudio)
PLIST.pulse=	yes
.  include "../../audio/pulseaudio/buildlink3.mk"
.else
CMAKE_ARGS+=	-DUSE_PULSE=OFF
.endif

PLIST_VARS+=	jack
.if !empty(PKG_OPTIONS:Mjack)
PLIST.jack=	yes
.  include "../../audio/jack/buildlink3.mk"
.else
CMAKE_ARGS+=	-DUSE_JACK=OFF
.endif

PLIST_VARS+=	ffmpeg
.if !empty(PKG_OPTIONS:Mffmpeg)
PLIST.ffmpeg=	yes
.  include "../../multimedia/ffmpeg4/buildlink3.mk"
.else
CMAKE_ARGS+=	-DUSE_FFMPEG=OFF
.endif

PLIST_VARS+=	mpc
.if !empty(PKG_OPTIONS:Mmusepack)
PLIST.mpc=	yes
.  include "../../audio/musepack/buildlink3.mk"
.else
CMAKE_ARGS+=	-DUSE_MPC=OFF
.endif

PLIST_VARS+=	wv
.if !empty(PKG_OPTIONS:Mwavpack)
PLIST.wv=	yes
.  include "../../audio/wavpack/buildlink3.mk"
.else
CMAKE_ARGS+=	-DUSE_WAVPACK=OFF
.endif