1*4882a593SmuzhiyunSUMMARY = "download online streams into audio files"
2*4882a593SmuzhiyunDESCRIPTION = "This command-line tool can be used to record MPEG III \
3*4882a593Smuzhiyunand OGG online radio-streams into track-separated audio files."
4*4882a593SmuzhiyunHOMEPAGE = "http://streamripper.sourceforge.net"
5*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
7*4882a593SmuzhiyunDEPENDS = "glib-2.0 libmad libogg libvorbis"
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun# While this item does not require it, it depends on libmad which does
10*4882a593SmuzhiyunLICENSE_FLAGS = "commercial"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRC_URI = "\
13*4882a593Smuzhiyun    ${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
14*4882a593Smuzhiyun    file://0001-build-these-are-foreign-automake-projects.patch \
15*4882a593Smuzhiyun    file://0002-build-don-t-ignore-CPPFLAGS-from-environment.patch \
16*4882a593Smuzhiyun    file://0003-ripstream-fix-compilation.patch \
17*4882a593Smuzhiyun"
18*4882a593SmuzhiyunSRC_URI[mdsum] = "a37a1a8b8f9228522196a122a1c2dd32"
19*4882a593SmuzhiyunSRC_URI[sha256sum] = "c1d75f2e9c7b38fd4695be66eff4533395248132f3cc61f375196403c4d8de42"
20*4882a593Smuzhiyun
21*4882a593Smuzhiyuninherit autotools pkgconfig
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunEXTRA_OECONF += "--with-included-argv=yes --with-included-libmad=no"
24*4882a593SmuzhiyunEXTRA_OECONF += "\
25*4882a593Smuzhiyun    --with-ogg-includes=${STAGING_INCDIR} \
26*4882a593Smuzhiyun    --with-ogg-libraries=${STAGING_LIBDIR} \
27*4882a593Smuzhiyun    --with-vorbis-includes=${STAGING_INCDIR} \
28*4882a593Smuzhiyun    --with-vorbis-libraries=${STAGING_LIBDIR} \
29*4882a593Smuzhiyun"
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun# the included argv library needs this
32*4882a593SmuzhiyunCPPFLAGS:append = " -DANSI_PROTOTYPES"
33