diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-11-30 12:51:23 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-12-09 12:02:14 +0100 |
commit | 4fc06fd23709e77a5ee05b1f0fde57d410fcaba6 (patch) | |
tree | fba7a46a414ecdc29a96c2fca8ab6dcfd82bc6ab /meta-oe/recipes-multimedia | |
parent | 9cd05c16510cb0b6a09f72e5c7488d021a55440b (diff) | |
download | meta-openembedded-4fc06fd23709e77a5ee05b1f0fde57d410fcaba6.tar.gz |
libcdio: clean up recipe
Fix description, use packageconfig, use packagesplitfuncs.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r-- | meta-oe/recipes-multimedia/libcdio/libcdio_0.93.bb | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/meta-oe/recipes-multimedia/libcdio/libcdio_0.93.bb b/meta-oe/recipes-multimedia/libcdio/libcdio_0.93.bb index f21f91446..99e6a84bc 100644 --- a/meta-oe/recipes-multimedia/libcdio/libcdio_0.93.bb +++ b/meta-oe/recipes-multimedia/libcdio/libcdio_0.93.bb | |||
@@ -1,25 +1,28 @@ | |||
1 | ESCRIPTION = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access." | 1 | SUMMARY = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access." |
2 | HOMEPAGE = "http://www.gnu.org/software/libcdio/" | 2 | HOMEPAGE = "http://www.gnu.org/software/libcdio/" |
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | |||
5 | LICENSE = "GPLv3+" | 4 | LICENSE = "GPLv3+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
7 | 6 | ||
8 | DEPENDS = "ncurses" | ||
9 | |||
10 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz" | 7 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz" |
11 | SRC_URI[md5sum] = "d154476feaac5a7b5f180e83eaf3d689" | 8 | SRC_URI[md5sum] = "d154476feaac5a7b5f180e83eaf3d689" |
12 | SRC_URI[sha256sum] = "4972cd22fd8d0e8bff922d35c7a645be0db0ab0e7b3dfaecc9cd8272429d6975" | 9 | SRC_URI[sha256sum] = "4972cd22fd8d0e8bff922d35c7a645be0db0ab0e7b3dfaecc9cd8272429d6975" |
13 | 10 | ||
14 | inherit autotools pkgconfig | 11 | inherit autotools pkgconfig |
15 | 12 | ||
13 | PACKAGECONFIG ??= "cdda-player" | ||
14 | PACKAGECONFIG[cdda-player] = "--with-cdda-player,--without-cdda-player,ncurses" | ||
15 | PACKAGECONFIG[cddb] = "--enable-cddb,--disable-cddb,libcddb" | ||
16 | PACKAGECONFIG[vcd-info] = "--enable-vcd-info,--disable-vcd-info,vcdimager" | ||
17 | |||
16 | PACKAGES += "${PN}-utils" | 18 | PACKAGES += "${PN}-utils" |
17 | 19 | ||
18 | FILES_${PN} = "${libdir}/${PN}${SOLIB}" | 20 | FILES_${PN} = "${libdir}/${BPN}${SOLIB}" |
19 | FILES_${PN}-utils = "${bindir}/*" | 21 | FILES_${PN}-utils = "${bindir}/*" |
20 | 22 | ||
21 | python populate_packages_prepend () { | 23 | python libcdio_split_packages() { |
22 | glibdir = d.expand('${libdir}') | 24 | libdir = d.expand('${libdir}') |
23 | do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) | 25 | do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', 'libcdio %s library', extra_depends='', allow_links=True) |
24 | } | 26 | } |
25 | 27 | ||
28 | PACKAGESPLITFUNCS =+ "libcdio_split_packages" | ||