summaryrefslogtreecommitdiff
path: root/packages/squeezeclient
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/squeezeclient
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/squeezeclient')
-rw-r--r--packages/squeezeclient/files/makefile.patch57
-rw-r--r--packages/squeezeclient/files/runfix.patch17
-rw-r--r--packages/squeezeclient/files/varinit.patch17
-rw-r--r--packages/squeezeclient/squeezeslave_svn.bb32
4 files changed, 0 insertions, 123 deletions
diff --git a/packages/squeezeclient/files/makefile.patch b/packages/squeezeclient/files/makefile.patch
deleted file mode 100644
index 8e64a70399..0000000000
--- a/packages/squeezeclient/files/makefile.patch
+++ /dev/null
@@ -1,57 +0,0 @@
----
- makefile.linux | 30 +++++++++++++++++-------------
- 1 file changed, 17 insertions(+), 13 deletions(-)
-
-Index: SlimProtoLib/makefile.linux
-===================================================================
---- SlimProtoLib.orig/makefile.linux 2006-12-31 11:09:10.000000000 +0000
-+++ SlimProtoLib/makefile.linux 2006-12-31 12:34:11.000000000 +0000
-@@ -1,6 +1,4 @@
--CC=gcc
--
--CFLAGS=-Wall -Werror -DSLIMPROTO_DEBUG -g
-+CFLAGS+=-Wall -DSLIMPROTO_DEBUG -g
-
- INCLUDE=-Ilib/portaudio_v18/pa_common -Ilib/portaudio_v18/pablio -Ilib/portmixer/px_common -Isrc
-
-@@ -20,24 +18,30 @@ SQUEEZESLAVEFILES:=src/squeezeslave/sque
-
- all : bin/squeezeslave
-
--lib/libportaudio.a: $(PORTAUDIOFILES:.c=.o)
-- ar cru lib/libportaudio.a $^
-- ranlib lib/libportaudio.a
-+LIBVERSION:=3.0.0
-
--lib/libslimproto.a: $(SLIMPROTOFILES:.c=.o)
-- ar cru lib/libslimproto.a $^
-- ranlib lib/libslimproto.a
-+lib/libportaudio.so.$(LIBVERSION): $(PORTAUDIOFILES:.c=.o)
-+ ${CC} $^ $(CFLAGS) $(LDFLAGS) $(INCLUDE) -shared -Wl,-soname,$(@F) -Wl,--as-needed -o $@
-+ ln -s $(@F) lib/libportaudio.so
-
--bin/squeezeslave : $(SQUEEZESLAVEFILES:.c=.o) $(PORTMIXERFILES:.c=.o) lib/libslimproto.a lib/libportaudio.a
-- ${CC} -o bin/squeezeslave $^ /usr/local/lib/libmad.a /usr/local/lib/libFLAC.a /usr/lib/libvorbisfile.a /usr/lib/libvorbis.a /usr/lib/libogg.a -lpthread -lm
-+lib/libslimproto.so.$(LIBVERSION): $(SLIMPROTOFILES:.c=.o)
-+ ${CC} $^ $(CFLAGS) $(LDFLAGS) $(INCLUDE) -shared -Wl,-soname,$(@F) -Wl,--as-needed -o $@
-+ ln -s $(@F) lib/libslimproto.so
-
-+lib/libportmixer.so.$(LIBVERSION): $(PORTMIXERFILES:.c=.o)
-+ ${CC} $^ $(CFLAGS) $(LDFLAGS) $(INCLUDE) -shared -Wl,-soname,$(@F) -Wl,--as-needed -o $@
-+ ln -s $(@F) lib/libportmixer.so
-+
-+bin/squeezeslave: $(SQUEEZESLAVEFILES:.c=.o) lib/libportaudio.so.$(LIBVERSION) lib/libportmixer.so.$(LIBVERSION) lib/libslimproto.so.$(LIBVERSION)
-+ ${CC} -o bin/squeezeslave $(LDFLAGS) $(LDFLAGS) $^ -Llib -lmad -lFLAC -lvorbisfile -lvorbis -logg -lpthread -lm -lslimproto -lportaudio -lportmixer
-
- clean:
- @{ for FILE in $(PORTAUDIOFILES:.c=.o) \
- $(SLIMPROTOFILES:.c=.o) \
- $(SQUEEZESLAVEFILES:.c=.o) \
-- lib/libportaudio.a \
-- lib/libslimproto.a \
-+ lib/libportaudio*.so \
-+ lib/libportmixer*.so \
-+ lib/libslimproto*.so \
- bin/squeezeslave; do \
- test -e $$FILE && echo $$FILE || true; \
- test -e $$FILE && $(RM) $$FILE 2>/dev/null || true; \
diff --git a/packages/squeezeclient/files/runfix.patch b/packages/squeezeclient/files/runfix.patch
deleted file mode 100644
index c2c48095a2..0000000000
--- a/packages/squeezeclient/files/runfix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
----
- src/squeezeslave/squeezeslave.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: SlimProtoLib/src/squeezeslave/squeezeslave.c
-===================================================================
---- SlimProtoLib.orig/src/squeezeslave/squeezeslave.c 2006-12-31 11:09:09.000000000 +0000
-+++ SlimProtoLib/src/squeezeslave/squeezeslave.c 2006-12-31 13:44:04.000000000 +0000
-@@ -41,7 +41,7 @@ char macaddress[6] = { 1, 1, 1, 1, 1, 1
- int main(int argc, char *argv[]) {
- char *slimserver_address = "127.0.0.1";
- int output_device_id = -1;
-- char c;
-+ int c;
- int i;
-
- while (1) {
diff --git a/packages/squeezeclient/files/varinit.patch b/packages/squeezeclient/files/varinit.patch
deleted file mode 100644
index 5844dc67b5..0000000000
--- a/packages/squeezeclient/files/varinit.patch
+++ /dev/null
@@ -1,17 +0,0 @@
----
- src/slimaudio/slimaudio_http.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: SlimProtoLib/src/slimaudio/slimaudio_http.c
-===================================================================
---- SlimProtoLib.orig/src/slimaudio/slimaudio_http.c 2006-12-31 11:09:09.000000000 +0000
-+++ SlimProtoLib/src/slimaudio/slimaudio_http.c 2006-12-31 11:16:37.000000000 +0000
-@@ -91,7 +91,7 @@ int slimaudio_http_close(slimaudio_t *au
- static void *http_thread(void *ptr) {
- slimaudio_t *audio = (slimaudio_t *) ptr;
- #ifdef SLIMPROTO_DEBUG
-- int last_state;
-+ int last_state=0;
- #endif
-
- pthread_mutex_lock(&audio->http_mutex);
diff --git a/packages/squeezeclient/squeezeslave_svn.bb b/packages/squeezeclient/squeezeslave_svn.bb
deleted file mode 100644
index acdbc656da..0000000000
--- a/packages/squeezeclient/squeezeslave_svn.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-SECTION = "console/multimedia"
-DESCRIPTION = "command line audio playback client for SlimServer"
-LICENSE = "GPL"
-DEPENDS += "flac libvorbis \
- ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad', d)}"
-PV = "3.0+svn-${SRCDATE}"
-PR = "r1"
-
-SRC_URI = "svn://svn.slimdevices.com/repos/slim/trunk/;module=softsqueeze;proto=http \
- file://varinit.patch;patch=1 \
- file://runfix.patch;patch=1 \
- file://makefile.patch;patch=1"
-
-
-S = "${WORKDIR}/softsqueeze/SlimProtoLib"
-
-CFLAGS += "-D_GNU_SOURCE"
-
-inherit autotools
-
-do_compile() {
- oe_runmake LDFLAGS=${TARGET_LDFLAGS} -f makefile.linux
-}
-
-do_install() {
- install -d ${D}/${bindir}
- install -m 0755 bin/squeezeslave ${D}/${bindir}
- oe_libinstall -C lib -so libslimproto ${D}${libdir}
- oe_libinstall -C lib -so libportaudio ${D}${libdir}
- oe_libinstall -C lib -so libportmixer ${D}${libdir}
-}
-