This provides a recipe to install the movies in the rootfs; these
allow for people to make demo images which carry the movies for show.

These recipes are based on Angstrom ones. Thanks by their base work.

Signed-off-by: Otavio Salvador <[email protected]>
---
 .../recipes-support/bigbuckbunny/bigbuckbunny-1080p.bb   | 16 ++++++++++++++++
 .../recipes-support/bigbuckbunny/bigbuckbunny-480p.bb    | 16 ++++++++++++++++
 .../recipes-support/bigbuckbunny/bigbuckbunny-720p.bb    | 16 ++++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-1080p.bb
 create mode 100644 meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-480p.bb
 create mode 100644 meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-720p.bb

diff --git a/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-1080p.bb 
b/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-1080p.bb
new file mode 100644
index 0000000..93a52c0
--- /dev/null
+++ b/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-1080p.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Big Buck Bunny movie - 1080P"
+LICENSE = "CC-BY"
+LIC_FILES_CHKSUM = 
"file://${WORKDIR}/big_buck_bunny_1080p_surround.avi;md5=223991c8b33564eb77988a4c13c1c76a"
+
+SRC_URI = 
"http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_surround.avi";
+SRC_URI[md5sum] = "223991c8b33564eb77988a4c13c1c76a"
+SRC_URI[sha256sum] = 
"69fe2cfe7154a6e752688e3a0d7d6b07b1605bbaf75b56f6470dc7b4c20c06ea"
+
+inherit allarch
+
+do_install() {
+       install -d ${D}${datadir}/movies
+       install -m 0644 ${WORKDIR}/big_buck_bunny_1080p_surround.avi 
${D}${datadir}/movies/
+}
+
+FILES_${PN} += "${datadir}/movies"
diff --git a/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-480p.bb 
b/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-480p.bb
new file mode 100644
index 0000000..31a90ca
--- /dev/null
+++ b/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-480p.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Big Buck Bunny movie - 480P"
+LICENSE = "CC-BY"
+LIC_FILES_CHKSUM = 
"file://${WORKDIR}/big_buck_bunny_480p_surround-fix.avi;md5=ed7ed01e9aefba8ddd77c13332cec120"
+
+SRC_URI = 
"http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi";
+SRC_URI[md5sum] = "ed7ed01e9aefba8ddd77c13332cec120"
+SRC_URI[sha256sum] = 
"40d1cf5bc8e1b0e55dac7bb2e3fbc2aea05b6679444864781299b24db044634f"
+
+inherit allarch
+
+do_install() {
+       install -d ${D}${datadir}/movies
+       install -m 0644 ${WORKDIR}/big_buck_bunny_480p_surround-fix.avi 
${D}${datadir}/movies/
+}
+
+FILES_${PN} += "${datadir}/movies"
diff --git a/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-720p.bb 
b/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-720p.bb
new file mode 100644
index 0000000..61cdfdc
--- /dev/null
+++ b/meta-oe/recipes-support/bigbuckbunny/bigbuckbunny-720p.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Big Buck Bunny movie - 720P"
+LICENSE = "CC-BY"
+LIC_FILES_CHKSUM = 
"file://${WORKDIR}/big_buck_bunny_720p_surround.avi;md5=0da8fe124595f5b206d64cb1400bbefc"
+
+SRC_URI = 
"http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_surround.avi";
+SRC_URI[md5sum] = "0da8fe124595f5b206d64cb1400bbefc"
+SRC_URI[sha256sum] = 
"b957d6e6212638441b52d3b620af157cc8d40c2a0342669294854a06edcd528c"
+
+inherit allarch
+
+do_install() {
+       install -d ${D}${datadir}/movies
+       install -m 0644 ${WORKDIR}/big_buck_bunny_720p_surround.avi 
${D}${datadir}/movies/
+}
+
+FILES_${PN} += "${datadir}/movies"
-- 
1.8.1


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to