diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2010-10-01 01:17:34 +0000 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-10-02 18:16:50 +0200 |
commit | b672b28ba6a29e2715c91fcbbda8b2776b6f1105 (patch) | |
tree | 8d3ef5d717bcbafd59965aa9821986b7558ac3d3 /recipes | |
parent | 2df0b5cd715d17c9acd3645f05feace16b3af567 (diff) | |
download | openembedded-b672b28ba6a29e2715c91fcbbda8b2776b6f1105.tar.gz |
libcdio-0.82: reduce package size, add dependencies, move recipe
* Move recipe out of xbmc directory.
* Depend on libcddb and ncurses.
* Use the GNU_MIRROR variable.
* Move executables into new package "libcdio-utils".
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/libcdio/libcdio.inc | 22 | ||||
-rw-r--r-- | recipes/libcdio/libcdio_0.82.bb | 4 | ||||
-rw-r--r-- | recipes/xbmc/libcdio_0.82.bb | 19 |
3 files changed, 26 insertions, 19 deletions
diff --git a/recipes/libcdio/libcdio.inc b/recipes/libcdio/libcdio.inc new file mode 100644 index 0000000000..5ab25bdddb --- /dev/null +++ b/recipes/libcdio/libcdio.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "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" +PRIORITY = "optional" +LICENSE = "GPLv3+" +DEPENDS = "libcddb ncurses" + +SRC_URI = "${GNU_MIRROR}/${PN}/${P}.tar.gz" + +inherit autotools + +EXTRA_OECONF = "ac_cv_member_struct_tm_tm_gmtoff=no" + +PACKAGES += "${PN}-utils" + +FILES_${PN} = "${libdir}/lib${PN}${SOLIB}" +FILES_${PN}-utils = "${bindir}/*" + +python populate_packages_prepend () { + glibdir = bb.data.expand('${libdir}', d) + do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) +} diff --git a/recipes/libcdio/libcdio_0.82.bb b/recipes/libcdio/libcdio_0.82.bb new file mode 100644 index 0000000000..ec9c8c9873 --- /dev/null +++ b/recipes/libcdio/libcdio_0.82.bb @@ -0,0 +1,4 @@ +SRC_URI[md5sum] = "1c29b18e01ab2b966162bc727bf3c360" +SRC_URI[sha256sum] = "1acb3de8e0927906ade7a34c5853173d3068b87b02dfba80d0bf11e47f0b5d39" + +require libcdio.inc diff --git a/recipes/xbmc/libcdio_0.82.bb b/recipes/xbmc/libcdio_0.82.bb deleted file mode 100644 index 3201f7017b..0000000000 --- a/recipes/xbmc/libcdio_0.82.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access." -LICENSE = "GPLv3+" - -SRC_URI = "http://ftp.gnu.org/gnu/libcdio/libcdio-${PV}.tar.gz" - -inherit autotools - -EXTRA_OECONF = " ac_cv_member_struct_tm_tm_gmtoff=no" - -FILES_${PN} = "${bindir}/*" - -python populate_packages_prepend () { - glibdir = bb.data.expand('${libdir}', d) - do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) -} - -SRC_URI[md5sum] = "1c29b18e01ab2b966162bc727bf3c360" -SRC_URI[sha256sum] = "1acb3de8e0927906ade7a34c5853173d3068b87b02dfba80d0bf11e47f0b5d39" - |