Skip to content

Commit

Permalink
CONFIGURE: Added universaltracker as a meta-component
Browse files Browse the repository at this point in the history
This could disable both MikMod and OpenMPT as the universal tracker
libraries
  • Loading branch information
sev- committed Dec 26, 2024
1 parent be4ac56 commit 74c2cb0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ _fmtowns_pc98_audio=auto
_sid_audio=auto
_vgmtrans_audio=auto
_midi=auto
_universaltracker=auto

# Add (virtual) features
add_feature 16bit "16bit color" "_16bit"
Expand Down Expand Up @@ -330,6 +331,7 @@ add_component midi "MIDI synthesis" "_midi" "USE_MIDI"
add_component mpc "MPC" "_libmpcdec" "USE_MPCDEC"
add_component sid_audio "SID audio" "_sid_audio" "USE_SID_AUDIO"
add_component tinygl "TinyGL" "_tinygl" "USE_TINYGL"
add_component universaltracker "External Tracker Libraries" "_universaltracker" "USE_UNIVERSALTRACKER"
add_component vgmtrans_audio "VGMTrans Soundfont audio" "_vgmtrans_audio" "USE_VGMTRANS_AUDIO"

# The following list of features cannot be declared as components
Expand Down Expand Up @@ -4195,6 +4197,13 @@ if test "$_midi" = no ; then
echo " Disabling mt32emu, fluidsynth, fluidlite, timidity and sonivox because MIDI is unused by enabled engines"
fi

if test "$_universaltracker" = no ; then
_libmikmod=no
_libopenmpt=no

echo " Disabling MikMod and OpenMPT because Universal Tracker playback is unused by enabled engines"
fi

rm -f engines.awk.out

echo "...check complete"
Expand Down
2 changes: 1 addition & 1 deletion engines/ags/configure.engine
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file is included from the main "configure" script
# add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] [components]
add_engine ags "Adventure Game Studio" yes "" "" "16bit mad" "theoradec midi"
add_engine ags "Adventure Game Studio" yes "" "" "16bit mad" "theoradec midi universaltracker"
2 changes: 1 addition & 1 deletion engines/sludge/configure.engine
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file is included from the main "configure" script
# add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] [components]
add_engine sludge "Sludge" no "" "" "16bit png" "vpx"
add_engine sludge "Sludge" no "" "" "16bit png" "vpx universaltracker"
2 changes: 1 addition & 1 deletion engines/testbed/configure.engine
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file is included from the main "configure" script
# add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] [components]
add_engine testbed "TestBed: the Testing framework" no "" "" "" "imgui midi"
add_engine testbed "TestBed: the Testing framework" no "" "" "" "imgui midi universaltracker"

0 comments on commit 74c2cb0

Please sign in to comment.