Package list libsdl2-mixer / 894383b
Issue extra -I/usr/include/libmodplug during compilation to avoid a FTBFS due to recent changes in libmodplug (Closes: #725564) Clean-up of debian/rules Manuel A. Fernandez Montecelo 7 years ago
2 changed file(s) with 32 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
00 libsdl2-mixer (2.0.0+dfsg1-2) UNRELEASED; urgency=low
11
2 * Issue extra -I/usr/include/libmodplug during compilation to avoid a
3 FTBFS due to recent changes in libmodplug (Closes: #725564)
24 * Build-Depends on pkg-config
5 * Clean-up of debian/rules
36
47 -- Manuel A. Fernandez Montecelo <mafm@debian.org> Fri, 18 Oct 2013 22:04:05 +0100
58
11
22 #export DH_VERBOSE=1
33
4 export DEB_CFLAGS_MAINT_APPEND = -pipe -Wall
5 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
4 # fix for #725564
5 MODPLUG_INCLUDE_DIR := -I/usr/include/libmodplug
6
7 export DEB_CFLAGS_MAINT_APPEND := -pipe -Wall $(MODPLUG_INCLUDE_DIR)
8 export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
69
710 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
811
9 SHLIBVER = 2.0.0
12 SHLIBVER := 2.0.0
1013
1114
15 # explicitly enable/disable all supported sound
16 #
17 # issue "disable-*-shared" flags for 'configure', otherwise SDL_mixer library
18 # opens those libraries in a plugin-like way (with SDL_LoadObject), and
19 # dpkg-shlibdeps doesn't seem to generate the needed dependencies in the binary
20 # library package
21 #
1222 # enable external music player
13 confflags = --enable-music-cmd
14
15 # explicitly enable/disable all supported sound, using libmad instead of
16 # libsmpeg for mp3 (it's much more popular, and smpeg is unmaintained)
23 confflags := --enable-music-cmd
24 # flac
25 confflags += --enable-music-flac
26 confflags += --disable-music-flac-shared
27 # MIDI
28 confflags += --enable-music-midi-fluidsynth
29 confflags += --disable-music-fluidsynth-shared
30 confflags += --enable-music-midi-timidity
31 confflags += --enable-music-midi-native
32 # MOD
1733 confflags += --enable-music-mod
1834 confflags += --enable-music-mod-modplug
1935 confflags += --disable-music-mod-mikmod
36 confflags += --disable-music-mod-modplug-shared
37 # using libmad instead of libsmpeg for mp3 (it's much more popular)
2038 confflags += --enable-music-mp3
2139 confflags += --disable-music-mp3-smpeg
2240 confflags += --enable-music-mp3-mad-gpl
41 # ogg
2342 confflags += --enable-music-ogg
43 confflags += --disable-music-ogg-shared
44 # wav
2445 confflags += --enable-music-wave
25
26 # MIDI: Explicitly state what we use
27 confflags += --enable-music-midi-fluidsynth
28 confflags += --enable-music-midi-timidity
29 confflags += --enable-music-midi-native
30
31 # mafm 20111203: removed the "disable shared" support from previous versions, I
32 # couldn't find any reason for it in the changelog
33 #
34 # mafm 20111204: issue "disable-*-shared" flags for 'configure' again, otherwise
35 # SDL_mixer library opens those libraries in a plugin-like way (with
36 # SDL_LoadObject), and dpkg-shlibdeps doesn't seem to generate the needed
37 # dependencies in the binary library package
38 confflags += --disable-music-flac-shared
39 confflags += --disable-music-fluidsynth-shared
40 confflags += --disable-music-mod-modplug-shared
41 #confflags += --disable-music-mp3-shared
42 confflags += --disable-music-ogg-shared
4346
4447
4548 %:
5861 dh_installchangelogs -- CHANGES.txt
5962
6063 override_dh_link:
61 # fix lintian warning dev-pkg-without-shlib-symlink
64 # fix lintian warning dev-pkg-without-shlib-symlink
6265 dh_link -plibsdl2-mixer-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_mixer-2.0.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_mixer-2.0.so
6366 dh_link --remaining-packages
6467