Skip to content

Latest commit

 

History

History
executable file
·
61 lines (49 loc) · 2.17 KB

rules

File metadata and controls

executable file
·
61 lines (49 loc) · 2.17 KB
 
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_CFLAGS_MAINT_APPEND = -pipe -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined -Wl,-Bsymbolic -Wl,--as-needed
# enable external music player
confflags = --enable-music-cmd
# explicitly enable/disable all supported sound
Jun 9, 2013
Jun 9, 2013
13
14
# For mp3 support, libmad disabled by default because it is GPL and not allowed to link with commercial closed-source programs
# For mod support, modplug is the default because it is in the public domain and used across all platforms.
Oct 31, 2018
Oct 31, 2018
15
confflags += --enable-music-flac
16
confflags += --enable-music-mod
Jun 9, 2013
Jun 9, 2013
17
18
confflags += --enable-music-mod-modplug
confflags += --disable-music-mod-mikmod
Oct 31, 2018
Oct 31, 2018
19
20
21
confflags += --enable-music-mp3
confflags += --enable-music-mp3-mpg123
confflags += --disable-music-mp3-mad-gpl
22
confflags += --enable-music-ogg
Oct 31, 2018
Oct 31, 2018
23
confflags += --enable-music-opus
24
25
26
confflags += --enable-music-wave
# MIDI: explicitly state that we use (an in-source copy of) timidity
Jun 9, 2013
Jun 9, 2013
27
28
29
confflags += --enable-music-midi
confflags += --enable-music-midi-fluidsynth
confflags += --enable-music-midi-timidity
30
31
32
33
34
35
36
37
# mafm 20111203: removed the "disable shared" support from previous versions, I
# couldn't find any reason for it in the changelog
#
# mafm 20111204: issue "disable-*-shared" flags for 'configure' again, otherwise
# SDL_mixer library opens those libraries in a plugin-like way (with
# SDL_LoadObject), and dpkg-shlibdeps doesn't seem to generate the needed
# dependencies in the binary library package
Nov 7, 2018
Nov 7, 2018
38
39
40
41
42
43
44
45
46
#
# The Debian maintainers aren't using these rules, so enable dynamic loading of shared libraries by default for the Steam Linux Runtime
#confflags += --disable-music-flac-shared
#confflags += --disable-music-midi-fluidsynth-shared
#confflags += --disable-music-mod-mikmod-shared
#confflags += --disable-music-mod-modplug-shared
#confflags += --disable-music-mp3-mpg123-shared
#confflags += --disable-music-ogg-shared
#confflags += --disable-music-opus-shared
47
48
49
50
51
52
53
54
55
56
57
58
%:
dh $@ --with autoreconf --parallel
override_dh_autoreconf:
dh_autoreconf ./autogen.sh
override_dh_auto_configure:
dh_auto_configure -- $(confflags)
override_dh_auto_installchangelogs:
dh_auto_installchangelogs -- CHANGES
Feb 16, 2013
Feb 16, 2013
59
60
61
override_dh_compress:
dh_compress -Xplaywave.c -Xplaymus.c