From 52490fe8b040acaa2d426c7834046e14f96e8c52 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Fri, 31 Oct 2008 12:53:08 -0500
Subject: sample media collection -All media license allows for distrobution

---
 abs/extra-testing/sample-media/PKGBUILD            |  37 +++++++++++++++++++
 abs/extra-testing/sample-media/audio/05-Hush.mp3   | Bin 0 -> 4946841 bytes
 abs/extra-testing/sample-media/images/115_1573.jpg | Bin 0 -> 482585 bytes
 .../sample-media/images/345-1217206791B81W.jpg     | Bin 0 -> 176991 bytes
 .../sample-media/images/classic-menugraph.png      | Bin 0 -> 144106 bytes
 .../sample-media/images/dvr_menugraph.png          | Bin 0 -> 207288 bytes
 .../sample-media/images/menu_diagram_color.png     | Bin 0 -> 193264 bytes
 abs/extra-testing/sample-media/rom/PACMAN.SMC      | Bin 0 -> 524800 bytes
 abs/extra-testing/sample-media/sample.install      |  41 +++++++++++++++++++++
 .../sample-media/video/TripThe1939.mpeg            | Bin 0 -> 23128735 bytes
 10 files changed, 78 insertions(+)
 create mode 100644 abs/extra-testing/sample-media/PKGBUILD
 create mode 100644 abs/extra-testing/sample-media/audio/05-Hush.mp3
 create mode 100644 abs/extra-testing/sample-media/images/115_1573.jpg
 create mode 100644 abs/extra-testing/sample-media/images/345-1217206791B81W.jpg
 create mode 100644 abs/extra-testing/sample-media/images/classic-menugraph.png
 create mode 100644 abs/extra-testing/sample-media/images/dvr_menugraph.png
 create mode 100644 abs/extra-testing/sample-media/images/menu_diagram_color.png
 create mode 100644 abs/extra-testing/sample-media/rom/PACMAN.SMC
 create mode 100644 abs/extra-testing/sample-media/sample.install
 create mode 100644 abs/extra-testing/sample-media/video/TripThe1939.mpeg

diff --git a/abs/extra-testing/sample-media/PKGBUILD b/abs/extra-testing/sample-media/PKGBUILD
new file mode 100644
index 0000000..9851899
--- /dev/null
+++ b/abs/extra-testing/sample-media/PKGBUILD
@@ -0,0 +1,37 @@
+pkgname=sample-media
+pkgver=1
+pkgrel=5
+pkgdesc="sample media for testing"
+url=""
+license="public domain"
+depends=(media_dirs)
+makedepends=()
+conflicts=()
+replaces=()
+backup=()
+install=sample.install
+provides=("")
+source=()
+md5sums=()
+arch=('i686')
+
+build() {
+cd $startdir/src/
+mkdir -p  myth/music
+mkdir -p  myth/gallery
+mkdir -p  myth/video
+mkdir -p  myth/games/snes/roms
+
+
+cp -rp $startdir/audio/* myth/music
+cp -rp $startdir/images/*  myth/gallery
+cp -rp $startdir/video/* myth/video
+cp -rp $startdir/rom/* myth/games/snes/roms
+
+cd myth
+chown -R mythtv media
+chmod -R 777 media
+cd $startdir/src
+cp -rp myth $startdir/pkg/
+
+}
diff --git a/abs/extra-testing/sample-media/audio/05-Hush.mp3 b/abs/extra-testing/sample-media/audio/05-Hush.mp3
new file mode 100644
index 0000000..e335abb
Binary files /dev/null and b/abs/extra-testing/sample-media/audio/05-Hush.mp3 differ
diff --git a/abs/extra-testing/sample-media/images/115_1573.jpg b/abs/extra-testing/sample-media/images/115_1573.jpg
new file mode 100644
index 0000000..f626325
Binary files /dev/null and b/abs/extra-testing/sample-media/images/115_1573.jpg differ
diff --git a/abs/extra-testing/sample-media/images/345-1217206791B81W.jpg b/abs/extra-testing/sample-media/images/345-1217206791B81W.jpg
new file mode 100644
index 0000000..646ae95
Binary files /dev/null and b/abs/extra-testing/sample-media/images/345-1217206791B81W.jpg differ
diff --git a/abs/extra-testing/sample-media/images/classic-menugraph.png b/abs/extra-testing/sample-media/images/classic-menugraph.png
new file mode 100644
index 0000000..bedbd93
Binary files /dev/null and b/abs/extra-testing/sample-media/images/classic-menugraph.png differ
diff --git a/abs/extra-testing/sample-media/images/dvr_menugraph.png b/abs/extra-testing/sample-media/images/dvr_menugraph.png
new file mode 100644
index 0000000..712ab36
Binary files /dev/null and b/abs/extra-testing/sample-media/images/dvr_menugraph.png differ
diff --git a/abs/extra-testing/sample-media/images/menu_diagram_color.png b/abs/extra-testing/sample-media/images/menu_diagram_color.png
new file mode 100644
index 0000000..d364d94
Binary files /dev/null and b/abs/extra-testing/sample-media/images/menu_diagram_color.png differ
diff --git a/abs/extra-testing/sample-media/rom/PACMAN.SMC b/abs/extra-testing/sample-media/rom/PACMAN.SMC
new file mode 100644
index 0000000..7a1f403
Binary files /dev/null and b/abs/extra-testing/sample-media/rom/PACMAN.SMC differ
diff --git a/abs/extra-testing/sample-media/sample.install b/abs/extra-testing/sample-media/sample.install
new file mode 100644
index 0000000..123d060
--- /dev/null
+++ b/abs/extra-testing/sample-media/sample.install
@@ -0,0 +1,41 @@
+# This is a default template for a post-install scriptlet.  You can
+# remove any functions you don't need (and this header).
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  cd /
+  chown -R mythtv:users /myth
+
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  depmod -A
+  /bin/true
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+op=$1
+shift
+$op $*
diff --git a/abs/extra-testing/sample-media/video/TripThe1939.mpeg b/abs/extra-testing/sample-media/video/TripThe1939.mpeg
new file mode 100644
index 0000000..84f9ba3
Binary files /dev/null and b/abs/extra-testing/sample-media/video/TripThe1939.mpeg differ
-- 
cgit v0.12

