debian/rules
changeset 923 cd0286a12a34
parent 901 253f50984a9a
child 924 9be60a9582a6
equal deleted inserted replaced
922:938506550ef3 923:cd0286a12a34
    10 confflags = --enable-music-cmd
    10 confflags = --enable-music-cmd
    11 
    11 
    12 # explicitly enable/disable all supported sound
    12 # explicitly enable/disable all supported sound
    13 # For mp3 support, libmad disabled by default because it is GPL and not allowed to link with commercial closed-source programs
    13 # For mp3 support, libmad disabled by default because it is GPL and not allowed to link with commercial closed-source programs
    14 # For mod support, modplug is the default because it is in the public domain and used across all platforms.
    14 # For mod support, modplug is the default because it is in the public domain and used across all platforms.
    15 confflags += --enable-music-mp3
    15 confflags += --enable-music-flac
    16 confflags += --disable-music-mp3-mad-gpl
       
    17 confflags += --enable-music-mod
    16 confflags += --enable-music-mod
    18 confflags += --enable-music-mod-modplug
    17 confflags += --enable-music-mod-modplug
    19 confflags += --disable-music-mod-mikmod
    18 confflags += --disable-music-mod-mikmod
       
    19 confflags += --enable-music-mp3
       
    20 confflags += --enable-music-mp3-mpg123
       
    21 confflags += --disable-music-mp3-mad-gpl
    20 confflags += --enable-music-ogg
    22 confflags += --enable-music-ogg
       
    23 confflags += --enable-music-opus
    21 confflags += --enable-music-wave
    24 confflags += --enable-music-wave
    22 
    25 
    23 # MIDI: explicitly state that we use (an in-source copy of) timidity
    26 # MIDI: explicitly state that we use (an in-source copy of) timidity
    24 confflags += --enable-music-midi
    27 confflags += --enable-music-midi
    25 confflags += --enable-music-midi-fluidsynth
    28 confflags += --enable-music-midi-fluidsynth
    31 # mafm 20111204: issue "disable-*-shared" flags for 'configure' again, otherwise
    34 # mafm 20111204: issue "disable-*-shared" flags for 'configure' again, otherwise
    32 # SDL_mixer library opens those libraries in a plugin-like way (with
    35 # SDL_mixer library opens those libraries in a plugin-like way (with
    33 # SDL_LoadObject), and dpkg-shlibdeps doesn't seem to generate the needed
    36 # SDL_LoadObject), and dpkg-shlibdeps doesn't seem to generate the needed
    34 # dependencies in the binary library package
    37 # dependencies in the binary library package
    35 confflags += --disable-music-flac-shared
    38 confflags += --disable-music-flac-shared
    36 confflags += --disable-music-ogg-shared
    39 confflags += --disable-music-midi-fluidsynth-shared
    37 confflags += --disable-music-mod-mikmod-shared
    40 confflags += --disable-music-mod-mikmod-shared
    38 confflags += --disable-music-mod-modplug-shared
    41 confflags += --disable-music-mod-modplug-shared
    39 confflags += --disable-music-fluidsynth-shared
    42 confflags += --disable-music-mp3-mpg123-shared
       
    43 confflags += --disable-music-ogg-shared
       
    44 confflags += --disable-music-opus-shared
    40 
    45 
    41 %:
    46 %:
    42 	dh $@ --with autoreconf --parallel
    47 	dh $@ --with autoreconf --parallel
    43 
    48 
    44 override_dh_autoreconf:
    49 override_dh_autoreconf: