summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/sample-media
diff options
context:
space:
mode:
Diffstat (limited to 'abs/not_built/extra/sample-media')
-rw-r--r--abs/not_built/extra/sample-media/PKGBUILD37
-rw-r--r--abs/not_built/extra/sample-media/audio/05-Hush.mp3bin0 -> 4946841 bytes
-rw-r--r--abs/not_built/extra/sample-media/images/115_1573.jpgbin0 -> 482585 bytes
-rw-r--r--abs/not_built/extra/sample-media/images/345-1217206791B81W.jpgbin0 -> 176991 bytes
-rw-r--r--abs/not_built/extra/sample-media/images/classic-menugraph.pngbin0 -> 144106 bytes
-rw-r--r--abs/not_built/extra/sample-media/images/dvr_menugraph.pngbin0 -> 207288 bytes
-rw-r--r--abs/not_built/extra/sample-media/images/menu_diagram_color.pngbin0 -> 193264 bytes
-rw-r--r--abs/not_built/extra/sample-media/rom/PACMAN.SMCbin0 -> 524800 bytes
-rw-r--r--abs/not_built/extra/sample-media/sample.install41
-rw-r--r--abs/not_built/extra/sample-media/video/TripThe1939.mpegbin0 -> 23128735 bytes
10 files changed, 78 insertions, 0 deletions
diff --git a/abs/not_built/extra/sample-media/PKGBUILD b/abs/not_built/extra/sample-media/PKGBUILD
new file mode 100644
index 0000000..9851899
--- /dev/null
+++ b/abs/not_built/extra/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/not_built/extra/sample-media/audio/05-Hush.mp3 b/abs/not_built/extra/sample-media/audio/05-Hush.mp3
new file mode 100644
index 0000000..e335abb
--- /dev/null
+++ b/abs/not_built/extra/sample-media/audio/05-Hush.mp3
Binary files differ
diff --git a/abs/not_built/extra/sample-media/images/115_1573.jpg b/abs/not_built/extra/sample-media/images/115_1573.jpg
new file mode 100644
index 0000000..f626325
--- /dev/null
+++ b/abs/not_built/extra/sample-media/images/115_1573.jpg
Binary files differ
diff --git a/abs/not_built/extra/sample-media/images/345-1217206791B81W.jpg b/abs/not_built/extra/sample-media/images/345-1217206791B81W.jpg
new file mode 100644
index 0000000..646ae95
--- /dev/null
+++ b/abs/not_built/extra/sample-media/images/345-1217206791B81W.jpg
Binary files differ
diff --git a/abs/not_built/extra/sample-media/images/classic-menugraph.png b/abs/not_built/extra/sample-media/images/classic-menugraph.png
new file mode 100644
index 0000000..bedbd93
--- /dev/null
+++ b/abs/not_built/extra/sample-media/images/classic-menugraph.png
Binary files differ
diff --git a/abs/not_built/extra/sample-media/images/dvr_menugraph.png b/abs/not_built/extra/sample-media/images/dvr_menugraph.png
new file mode 100644
index 0000000..712ab36
--- /dev/null
+++ b/abs/not_built/extra/sample-media/images/dvr_menugraph.png
Binary files differ
diff --git a/abs/not_built/extra/sample-media/images/menu_diagram_color.png b/abs/not_built/extra/sample-media/images/menu_diagram_color.png
new file mode 100644
index 0000000..d364d94
--- /dev/null
+++ b/abs/not_built/extra/sample-media/images/menu_diagram_color.png
Binary files differ
diff --git a/abs/not_built/extra/sample-media/rom/PACMAN.SMC b/abs/not_built/extra/sample-media/rom/PACMAN.SMC
new file mode 100644
index 0000000..7a1f403
--- /dev/null
+++ b/abs/not_built/extra/sample-media/rom/PACMAN.SMC
Binary files differ
diff --git a/abs/not_built/extra/sample-media/sample.install b/abs/not_built/extra/sample-media/sample.install
new file mode 100644
index 0000000..123d060
--- /dev/null
+++ b/abs/not_built/extra/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/not_built/extra/sample-media/video/TripThe1939.mpeg b/abs/not_built/extra/sample-media/video/TripThe1939.mpeg
new file mode 100644
index 0000000..84f9ba3
--- /dev/null
+++ b/abs/not_built/extra/sample-media/video/TripThe1939.mpeg
Binary files differ