Package list squeezelite / 1f34f3c
Refresh Makefile patches Chris Boot 6 years ago
3 changed file(s) with 18 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
00 squeezelite (1.8-1) UNRELEASED; urgency=medium
11
22 * New upstream release.
3 - Refresh patches for Makefile changes.
34 * Tweak debian/copyright based on debmake -k's suggestions.
45
56 -- Chris Boot <debian@bootc.net> Sat, 09 May 2015 18:17:17 +0100
2222 +OPT_PORTAUDIO = -DPORTAUDIO
2323 OPT_RESAMPLE= -DRESAMPLE
2424 OPT_VIS = -DVISEXPORT
25
26 @@ -21,6 +22,8 @@
27 SOURCES_VIS = output_vis.c
25 OPT_IR = -DIR
26 @@ -23,6 +24,8 @@
27 SOURCES_IR = ir.c
2828
2929 LINK_LINUX = -ldl
3030 +LINK_ALSA = -lasound
3232
3333 LINKALL = -lFLAC -lmad -lvorbisfile -lfaad -lmpg123
3434 LINKALL_FF = -lavcodec -lavformat -lavutil
35 @@ -60,6 +63,12 @@
35 @@ -69,6 +72,12 @@
3636 endif
3737 endif
3838
55 Forwarded: not-needed
66 Last-Update: 2013-12-28
77
8 --- squeezelite-1.4.orig/Makefile
9 +++ squeezelite-1.4/Makefile
8 --- a/Makefile
9 +++ b/Makefile
1010 @@ -1,6 +1,6 @@
1111 # Cross compile support - create a Makefile which defines these three variables and then includes this Makefile...
1212 -CFLAGS ?= -Wall -fPIC -O2 $(OPTS)
1616 EXECUTABLE ?= squeezelite
1717
1818 # passing one or more of these in $(OPTS) enables optional feature inclusion
19 @@ -31,32 +31,32 @@ DEPS = squeezelite.h slimpro
19 @@ -34,38 +34,38 @@
2020 UNAME = $(shell uname -s)
2121
2222 # add optional sources
3636 +ifneq (,$(findstring $(OPT_VIS), $(OPTS)))
3737 SOURCES += $(SOURCES_VIS)
3838 endif
39 -ifneq (,$(findstring $(OPT_IR), $(CFLAGS)))
40 +ifneq (,$(findstring $(OPT_IR), $(OPTS)))
41 SOURCES += $(SOURCES_IR)
42 endif
3943
4044 # add optional link options
4145 -ifneq (,$(findstring $(OPT_LINKALL), $(CFLAGS)))
5256 +ifneq (,$(findstring $(OPT_RESAMPLE), $(OPTS)))
5357 + LDADD += $(LINKALL_RESAMPLE)
5458 endif
59 -ifneq (,$(findstring $(OPT_IR), $(CFLAGS)))
60 - LDFLAGS += $(LINKALL_IR)
61 +ifneq (,$(findstring $(OPT_IR), $(OPTS)))
62 + LDADD += $(LINKALL_IR)
63 endif
5564 else
5665 # if not LINKALL and linux add LINK_LINUX
5766 ifeq ($(UNAME), Linux)
6069 endif
6170 endif
6271
63 @@ -65,12 +65,12 @@ OBJECTS = $(SOURCES:.c=.o)
72 @@ -74,12 +74,12 @@
6473 all: $(EXECUTABLE)
6574
6675 $(EXECUTABLE): $(OBJECTS)