diff options
author | Graeme Gregory <dp@xora.org.uk> | 2006-08-24 11:42:39 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2006-08-24 11:42:39 +0000 |
commit | be99a6b3f42e9842343750845bda7471a6e4807e (patch) | |
tree | 23f9979b0ed55467afda36c9f0c251b0a4ef1787 | |
parent | 70f28676088eeda6e58ee5d9246d0b3637c270b0 (diff) |
xmms_1.2.10.bb : split the plugins into seperate packages as very few
of them make sense on a PDA platform.
Add RRECOMMENDS for needed plugins and mad/tremor ones so people automatically
get working mp3/ogg playback
-rw-r--r-- | packages/xmms/xmms_1.2.10.bb | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/packages/xmms/xmms_1.2.10.bb b/packages/xmms/xmms_1.2.10.bb index 9ee59cef29..ba6c1e115c 100644 --- a/packages/xmms/xmms_1.2.10.bb +++ b/packages/xmms/xmms_1.2.10.bb @@ -3,14 +3,17 @@ HOMEPAGE = "http://www.xmms.org/" LICENSE = "GPL" SECTION = "x11/multimedia" # TODO add esd -DEPENDS = "gtk+-1.2 libvorbis mikmod alsa-lib" +DEPENDS = "gtk+-1.2 libvorbis mikmod alsa-lib libsm esound" SRC_URI = "http://www.xmms.org/files/1.2.x/xmms-${PV}.tar.bz2 \ file://gcc4.patch;patch=1 \ file://xmms-config-dequote.patch;patch=1 \ file://acinclude.m4 \ file://xmms.sh" -PR = "r2" +PR = "r3" + +RRECOMMENDS_${PN} = "xmms-plugin-output-oss xmms-plugin-output-alsa \ + xmms-mad xmms-tremor" inherit autotools binconfig @@ -35,6 +38,31 @@ do_install_append() { install xmms/xmms_mini.xpm ${D}${datadir}/pixmaps } +PACKAGES_DYNAMIC = "xmms-plugin-effect-* xmms-plugin-general-* \ + xmms-plugin-input-* xmms-plugin-output-* \ + xmms-plugin-visualisation-*" + +python populate_packages_prepend () { + import os.path + + xmms_libdir = bb.data.expand('${libdir}/xmms', d) + effects_root = os.path.join(xmms_libdir, 'Effect') + general_root = os.path.join(xmms_libdir, 'General') + input_root = os.path.join(xmms_libdir, 'Input') + output_root = os.path.join(xmms_libdir, 'Output') + visualisation_root = os.path.join(xmms_libdir, 'Visualization') + + do_split_packages(d, effects_root, '^lib(.*)\.so$', 'xmms-plugin-effect-%s', 'XMMS Effect plugin for %s') + do_split_packages(d, general_root, '^lib(.*)\.so$', 'xmms-plugin-general-%s', 'XMMS General plugin for %s') + do_split_packages(d, input_root, '^lib(.*)\.so$', 'xmms-plugin-input-%s', 'XMMS Input plugin for %s') + do_split_packages(d, output_root, '^lib(.*)\.so$', 'xmms-plugin-output-%s', 'XMMS Output plugin for %s') + do_split_packages(d, visualisation_root, '^lib(.*)\.so$', 'xmms-plugin-visualization-%s', 'XMMS Visualization plugin for %s') +} + do_stage() { autotools_stage_all } + +FILES_${PN} = "${bindir}/xmms ${bindir}/xmms.sh ${libdir}/libxmms*.so.* \ + ${datadir}/applications/xmms.desktop \ + ${datadir}/pixmaps/xmms_mini.xpm" |