summaryrefslogtreecommitdiff
path: root/packages/squeezeclient/squeezeslave_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squeezeclient/squeezeslave_svn.bb')
-rw-r--r--packages/squeezeclient/squeezeslave_svn.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/squeezeclient/squeezeslave_svn.bb b/packages/squeezeclient/squeezeslave_svn.bb
new file mode 100644
index 0000000000..03fbb0ede0
--- /dev/null
+++ b/packages/squeezeclient/squeezeslave_svn.bb
@@ -0,0 +1,31 @@
+SECTION = "console/multimedia"
+DESCRIPTION = "command line audio playback client for SlimServer"
+LICENSE = "GPL"
+DEPENDS += "libmad flac libvorbis"
+PV = "3.0+svn-${SRCDATE}"
+PR = "r0"
+
+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}
+}
+