diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2011-02-01 04:58:38 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-12 09:24:14 -0700 |
commit | f57bd1bfbbe2b642dc5903c544d69c12c0a0ea06 (patch) | |
tree | 5c5e24882068bf5be3e77169309e77dbb4b682ef /recipes/multimedia | |
parent | 572e6ae04d17e9be20c019e32f3e3c47368b9162 (diff) | |
download | openembedded-f57bd1bfbbe2b642dc5903c544d69c12c0a0ea06.tar.gz |
Add support for user-defined multimedia in rootfs
Signed-off-by: Ulf Samuelsson <ulf.samuelsson@atmel.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/multimedia')
-rw-r--r-- | recipes/multimedia/multimedia_1.0.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/multimedia/multimedia_1.0.bb b/recipes/multimedia/multimedia_1.0.bb new file mode 100644 index 0000000000..2abfefa390 --- /dev/null +++ b/recipes/multimedia/multimedia_1.0.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "MultiMedia files" +LICENSE = "GPL" +PR = "r5" + +# This package allows you to add multimedia contents to the file system +# To add this, you define +# MULTIMEDIA_FILES=<path><filename>.tar.bz2 in local.conf +# and include "multimedia" in your image + +do_install() { + install -d ${D}/usr/share/multimedia + if [ "x${MULTIMEDIA_FILES}" != "x" ] ; then + if [ -f ${MULTIMEDIA_FILES} ] ; then + tar jxvf ${MULTIMEDIA_FILES} -C ${D}/usr/share/multimedia + fi + fi +} + +FILES_${PN} = "\ + /usr/share/multimedia/* \ + /usr/share/multimedia \ + " + |