Patchwork [meta-oe,v2] bigbuckbunny: Add 480p, 720p and 1080p movies

login
register
mail settings
Submitter Otavio Salvador
Date May 20, 2013, 6:08 p.m.
Message ID <1369073286-30260-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/50171/
State Accepted, archived
Commit 450940b3a6757eb451031361a27e7d0831a0f340
Headers show

Comments

Otavio Salvador - May 20, 2013, 6:08 p.m.
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 <otavio@ossystems.com.br>
---
Changes in v2:
- Move to meta-multimedia
- Use 'sample-content' as place holder directory

 .../sample-content/bigbuckbunny-1080p.bb                 | 16 ++++++++++++++++
 .../sample-content/bigbuckbunny-480p.bb                  | 16 ++++++++++++++++
 .../sample-content/bigbuckbunny-720p.bb                  | 16 ++++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb
 create mode 100644 meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb
 create mode 100644 meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb

Patch

diff --git a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb
new file mode 100644
index 0000000..93a52c0
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/sample-content/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-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb
new file mode 100644
index 0000000..31a90ca
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/sample-content/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-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb
new file mode 100644
index 0000000..61cdfdc
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/sample-content/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"