summaryrefslogtreecommitdiff
path: root/recipes/squeezeclient/squeezeslave_svn.bb
blob: 10b38997c30b2669565bf9ddb3d49329260f572a (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)}"
SRCREV=30572
PV = "7.6+svnr${SRCPV}"

SRC_URI = "svn://svn.slimdevices.com/repos/slim/7.6/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}
}