meta-cedartrail: add recipes to instal audio and video samples

Install Ogg format audio and video sample files

Signed-off-by: Rahul Saxena <rahul.saxena@.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
Rahul Saxena 2012-03-19 18:28:18 -07:00 committed by Tom Zanussi
parent c06baec4a7
commit c4b323f42e
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,20 @@
SUMMARY = "ogg file format music samples"
DESCRIPTION = "Installs ogg file format music samples in /home/Music dir"
LICENSE = "CC-BY-3.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
DEPENDS += " "
PR = r0
SRC_URI = "http://downloads.yoctoproject.org/releases/media/music/ogg-CC-BY-3.0-music-samples-${PV}.tar.bz2 \
"
do_install() {
install -d ${D}${base_prefix}/home/music
install -m 0644 ${WORKDIR}/ogg-CC-BY-3.0-music-samples-${PV}/*/*.ogg ${D}${base_prefix}/home/music
}
FILES_${PN} += "${base_prefix}/home/music/*.ogg"

View File

@ -0,0 +1,20 @@
SUMMARY = "Big Buck Bunny video OGG sample "
DESCRIPTION = "Installs Big Buck Bunny Video OGG file samples in /home/video dir "
LICENSE = "CC-BY-3.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
DEPENDS += " "
PR = r0
SRC_URI = "http://blender-mirror.kino3d.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg \
"
do_install() {
install -d ${D}${base_prefix}/home/Videos
install -m 0644 ${WORKDIR}/*.ogg ${D}${base_prefix}/home/Videos
}
FILES_${PN} += "${base_prefix}/home/Videos/*.ogg"