summaryrefslogtreecommitdiff
path: root/packages/squeezeclient/squeezeslave_svn.bb
blob: acdbc656da973c7e4fc2b2a7c41e418f969624d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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}
}