blob: 6fa46abd2c5c93fae5989b119666b3fb901411cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: options.mk,v 1.1 2014/02/02 15:39:01 rodent Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.SDL2_mixer
PKG_SUPPORTED_OPTIONS= flac fluidsynth modplug smpeg2 static vorbis
PKG_SUGGESTED_OPTIONS+= flac modplug smpeg2 static vorbis
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mflac)
.include "../../audio/flac/buildlink3.mk"
CONFIGURE_ARGS+= --enable-music-flac=yes
.else
CONFIGURE_ARGS+= --enable-music-flac=no
.endif
.if !empty(PKG_OPTIONS:Mfluidsynth)
.include "../../audio/fluidsynth/buildlink3.mk"
CONFIGURE_ARGS+= --enable-music-midi-fluidsynth=yes
.else
CONFIGURE_ARGS+= --enable-music-midi-fluidsynth=no
.endif
.if !empty(PKG_OPTIONS:Mmodplug)
.include "../../audio/libmodplug/buildlink3.mk"
CONFIGURE_ARGS+= --enable-music-mod-modplug=yes
.else
CONFIGURE_ARGS+= --enable-music-mod-modplug=no
.endif
.if !empty(PKG_OPTIONS:Msmpeg2)
.include "../../multimedia/smpeg2/buildlink3.mk"
CONFIGURE_ARGS+= --enable-music-mp3-smpeg=yes
.else
CONFIGURE_ARGS+= --enable-music-mp3-smpeg=no
.endif
.if !empty(PKG_OPTIONS:Mstatic)
CONFIGURE_ARGS+= --enable-static=yes
.else
CONFIGURE_ARGS+= --enable-static=no
.endif
.if !empty(PKG_OPTIONS:Mvorbis)
.include "../../audio/libvorbis/buildlink3.mk"
CONFIGURE_ARGS+= --enable-music-ogg=yes
.else
CONFIGURE_ARGS+= --enable-music-ogg=no
.endif
|