pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/darkice



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Apr 17 09:10:38 UTC 2021

Added Files:
        pkgsrc/audio/darkice: options.mk

Log Message:
darkice: add options.mk, for previous


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/darkice/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/audio/darkice/options.mk
diff -u /dev/null pkgsrc/audio/darkice/options.mk:1.1
--- /dev/null   Sat Apr 17 09:10:38 2021
+++ pkgsrc/audio/darkice/options.mk     Sat Apr 17 09:10:38 2021
@@ -0,0 +1,79 @@
+# $NetBSD: options.mk,v 1.1 2021/04/17 09:10:38 nia Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.darkice
+
+# Audio codec options
+PKG_SUPPORTED_OPTIONS+=                faac lame opus twolame vorbis
+# Audio input options
+PKG_SUPPORTED_OPTIONS+=                alsa jack pulseaudio
+# Misc options
+PKG_SUPPORTED_OPTIONS+=                samplerate
+
+PKG_SUGGESTED_OPTIONS+=                faac lame opus twolame vorbis
+PKG_SUGGESTED_OPTIONS+=                samplerate
+PKG_SUGGESTED_OPTIONS.Linux=   alsa
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+=       --with-alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-alsa
+.endif
+
+.if !empty(PKG_OPTIONS:Mfaac)
+CONFIGURE_ARGS+=       --with-faac-prefix=${BUILDLINK_PREFIX.faac}
+.include "../../audio/faac/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-faac
+.endif
+
+.if !empty(PKG_OPTIONS:Mjack)
+CONFIGURE_ARGS+=       --with-jack
+.include "../../audio/jack/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-jack
+.endif
+
+.if !empty(PKG_OPTIONS:Mlame)
+CONFIGURE_ARGS+=       --with-lame-prefix=${BUILDLINK_PREFIX.lame}
+.include "../../audio/lame/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-lame
+.endif
+
+.if !empty(PKG_OPTIONS:Mopus)
+CONFIGURE_ARGS+=       --with-opus
+.include "../../audio/libopus/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-opus
+.endif
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+CONFIGURE_ARGS+=       --with-pulseaudio
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-pulseaudio
+.endif
+
+.if !empty(PKG_OPTIONS:Msamplerate)
+CONFIGURE_ARGS+=       --with-samplerate
+.include "../../audio/libsamplerate/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-samplerate
+.endif
+
+.if !empty(PKG_OPTIONS:Mtwolame)
+CONFIGURE_ARGS+=       --with-twolame
+.include "../../audio/twolame/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-twolame
+.endif
+
+.if !empty(PKG_OPTIONS:Mvorbis)
+CONFIGURE_ARGS+=       --with-vorbis
+.include "../../audio/libvorbis/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-vorbis
+.endif



Home | Main Index | Thread Index | Old Index