summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-10-31 17:53:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-10-31 17:53:08 (GMT)
commit52490fe8b040acaa2d426c7834046e14f96e8c52 (patch)
treef41a48cf17fc1a445220f3a77d6f199105d72b6a
parent7226cdf64d321a8cdb3b56ca3f0f7b35cf995542 (diff)
downloadlinhes_pkgbuild-52490fe8b040acaa2d426c7834046e14f96e8c52.zip
linhes_pkgbuild-52490fe8b040acaa2d426c7834046e14f96e8c52.tar.gz
linhes_pkgbuild-52490fe8b040acaa2d426c7834046e14f96e8c52.tar.bz2
sample media collection
-All media license allows for distrobution
-rw-r--r--abs/extra-testing/sample-media/PKGBUILD37
-rw-r--r--abs/extra-testing/sample-media/audio/05-Hush.mp3bin0 -> 4946841 bytes
-rw-r--r--abs/extra-testing/sample-media/images/115_1573.jpgbin0 -> 482585 bytes
-rw-r--r--abs/extra-testing/sample-media/images/345-1217206791B81W.jpgbin0 -> 176991 bytes
-rw-r--r--abs/extra-testing/sample-media/images/classic-menugraph.pngbin0 -> 144106 bytes
-rw-r--r--abs/extra-testing/sample-media/images/dvr_menugraph.pngbin0 -> 207288 bytes
-rw-r--r--abs/extra-testing/sample-media/images/menu_diagram_color.pngbin0 -> 193264 bytes
-rw-r--r--abs/extra-testing/sample-media/rom/PACMAN.SMCbin0 -> 524800 bytes
-rw-r--r--abs/extra-testing/sample-media/sample.install41
-rw-r--r--abs/extra-testing/sample-media/video/TripThe1939.mpegbin0 -> 23128735 bytes
10 files changed, 78 insertions, 0 deletions
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
--- /dev/null
+++ b/abs/extra-testing/sample-media/audio/05-Hush.mp3
Binary files 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
--- /dev/null
+++ b/abs/extra-testing/sample-media/images/115_1573.jpg
Binary files 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
--- /dev/null
+++ b/abs/extra-testing/sample-media/images/345-1217206791B81W.jpg
Binary files 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
--- /dev/null
+++ b/abs/extra-testing/sample-media/images/classic-menugraph.png
Binary files 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
--- /dev/null
+++ b/abs/extra-testing/sample-media/images/dvr_menugraph.png
Binary files 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
--- /dev/null
+++ b/abs/extra-testing/sample-media/images/menu_diagram_color.png
Binary files 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
--- /dev/null
+++ b/abs/extra-testing/sample-media/rom/PACMAN.SMC
Binary files 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
--- /dev/null
+++ b/abs/extra-testing/sample-media/video/TripThe1939.mpeg
Binary files differ