blob: 6bf64d66368d9d09b1738763b893f8be54c856e5 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access."
2HOMEPAGE = "http://www.gnu.org/software/libcdio/"
3SECTION = "libs"
4LICENSE = "GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz"
8
9SRC_URI[md5sum] = "0cb25905113b930e4539d2f4eb6574b0"
10SRC_URI[sha256sum] = "1b481b5da009bea31db875805665974e2fc568e2b2afa516f4036733657cf958"
11
12inherit autotools pkgconfig
13
14PACKAGECONFIG ??= "cdda-player"
15PACKAGECONFIG[cdda-player] = "--with-cdda-player,--without-cdda-player,ncurses"
16PACKAGECONFIG[cddb] = "--enable-cddb,--disable-cddb,libcddb"
17PACKAGECONFIG[vcd-info] = "--enable-vcd-info,--disable-vcd-info,vcdimager"
18
19PACKAGES += "${PN}-utils"
20
21FILES_${PN} = "${libdir}/${BPN}${SOLIB}"
22FILES_${PN}-utils = "${bindir}/*"
23
24python libcdio_split_packages() {
25 libdir = d.expand('${libdir}')
26 do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', 'libcdio %s library', extra_depends='', allow_links=True)
27}
28
29PACKAGESPLITFUNCS =+ "libcdio_split_packages"