summaryrefslogtreecommitdiff
path: root/recipes/squeezeclient/squeezeslave_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/squeezeclient/squeezeslave_svn.bb')
-rw-r--r--recipes/squeezeclient/squeezeslave_svn.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/squeezeclient/squeezeslave_svn.bb b/recipes/squeezeclient/squeezeslave_svn.bb
new file mode 100644
index 0000000000..acdbc656da
--- /dev/null
+++ b/recipes/squeezeclient/squeezeslave_svn.bb
@@ -0,0 +1,32 @@
+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}
+}
+