SUMMARY = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access." 
 | 
HOMEPAGE = "http://www.gnu.org/software/libcdio/" 
 | 
SECTION = "libs" 
 | 
LICENSE = "GPLv3+" 
 | 
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 
 | 
  
 | 
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2" 
 | 
  
 | 
SRC_URI[md5sum] = "aa7629e8f73662a762f64c444b901055" 
 | 
SRC_URI[sha256sum] = "8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b" 
 | 
  
 | 
inherit autotools pkgconfig 
 | 
  
 | 
PACKAGECONFIG ??= "cdda-player" 
 | 
PACKAGECONFIG[cdda-player] = "--with-cdda-player,--without-cdda-player,ncurses" 
 | 
PACKAGECONFIG[cddb] = "--enable-cddb,--disable-cddb,libcddb" 
 | 
PACKAGECONFIG[vcd-info] = "--enable-vcd-info,--disable-vcd-info,vcdimager" 
 | 
  
 | 
PACKAGES += "${PN}-utils" 
 | 
  
 | 
FILES:${PN} = "${libdir}/${BPN}${SOLIB}" 
 | 
FILES:${PN}-utils = "${bindir}/*" 
 | 
  
 | 
python libcdio_split_packages() { 
 | 
    libdir = d.expand('${libdir}') 
 | 
    do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', 'libcdio %s library', extra_depends='', allow_links=True) 
 | 
} 
 | 
  
 | 
PACKAGESPLITFUNCS =+ "libcdio_split_packages" 
 |