Package list squeezelite / 0773d3f
Tweak debian/rules and adjust debian/changelog - Sort the targets into a more natural order - Add DEB_CFLAGS_MAINT_PREPEND to keep -Wall during build - Add rm -f *.o to clean build correctly without patches applied - Don't add -lportaudio to LDFLAGS for PortAudio builds Chris Boot 7 years ago
2 changed file(s) with 21 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
00 squeezelite (1.4-1) UNRELEASED; urgency=low
11
22 * New upstream release.
3 * Refresh Makefile-tweaks.patch for rewritten Makefile.
3 * Accommodate rewritten Makefile:
4 - Refresh Makefile-tweaks.patch
5 - Adjust debian/rules
46 * Enable full hardening build flags:
57 - Add DEB_BUILD_MAINT_OPTIONS := hardening=+all
6 * Add squeezelite-pa compiled with PortAudio instead of ALSA
8 * Add squeezelite-pa compiled with PortAudio instead of ALSA:
79 - Add new squeezelite-pa binary package
810 - Add Build-Depends on portaudio19-dev
911 - Add Makefile-portaudio.patch
55
66 # Enable ffmpeg, soxr resampling, visualisation export and disable dlopening
77 # libraries
8 export OPTS=-DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL
8 export OPTS := -DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL
99
1010 # Enable all hardening build flags
1111 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
1212
13 # Re-enable compiler warning flags (CFLAGS overridden by dpkg-buildflags)
14 export DEB_CFLAGS_MAINT_PREPEND := -Wall
15
1316 %:
1417 dh $@
1518
19 override_dh_auto_build: build_squeezelite build_squeezelite-pa
20
1621 override_dh_auto_clean: clean_squeezelite clean_squeezelite-pa
17 override_dh_auto_build: build_squeezelite build_squeezelite-pa
22 # This is needed to fully clean built objects if the Makefile patches
23 # are not applied.
24 rm -f *.o
1825
1926 override_dh_installinit:
2027 dh_installinit --name=squeezelite
2128
29 build_squeezelite: clean_squeezelite
30 dh_auto_build -- EXECUTABLE=squeezelite
31
2232 clean_squeezelite:
2333 dh_auto_clean -- EXECUTABLE=squeezelite
2434
25 build_squeezelite: clean_squeezelite
26 dh_auto_build -- EXECUTABLE=squeezelite
35 build_squeezelite-pa: OPTS += -DPORTAUDIO
36 build_squeezelite-pa: clean_squeezelite-pa
37 dh_auto_build -- EXECUTABLE=squeezelite-pa
2738
2839 clean_squeezelite-pa:
2940 dh_auto_clean -- EXECUTABLE=squeezelite-pa
3041
31 build_squeezelite-pa: OPTS += -DPORTAUDIO
32 build_squeezelite-pa: LDFLAGS += -lportaudio
33 build_squeezelite-pa: clean_squeezelite-pa
34 dh_auto_build -- EXECUTABLE=squeezelite-pa
42 .PHONY: build_squeezelite clean_squeezelite \
43 build_squeezelite-pa clean_squeezelite-pa