diff options
author | James Meyer <james.meyer@operamail.com> | 2008-10-31 17:53:08 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-10-31 17:53:08 (GMT) |
commit | 52490fe8b040acaa2d426c7834046e14f96e8c52 (patch) | |
tree | f41a48cf17fc1a445220f3a77d6f199105d72b6a /abs | |
parent | 7226cdf64d321a8cdb3b56ca3f0f7b35cf995542 (diff) | |
download | linhes_pkgbuild-52490fe8b040acaa2d426c7834046e14f96e8c52.zip linhes_pkgbuild-52490fe8b040acaa2d426c7834046e14f96e8c52.tar.gz linhes_pkgbuild-52490fe8b040acaa2d426c7834046e14f96e8c52.tar.bz2 |
sample media collection
-All media license allows for distrobution
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra-testing/sample-media/PKGBUILD | 37 | ||||
-rw-r--r-- | abs/extra-testing/sample-media/audio/05-Hush.mp3 | bin | 0 -> 4946841 bytes | |||
-rw-r--r-- | abs/extra-testing/sample-media/images/115_1573.jpg | bin | 0 -> 482585 bytes | |||
-rw-r--r-- | abs/extra-testing/sample-media/images/345-1217206791B81W.jpg | bin | 0 -> 176991 bytes | |||
-rw-r--r-- | abs/extra-testing/sample-media/images/classic-menugraph.png | bin | 0 -> 144106 bytes | |||
-rw-r--r-- | abs/extra-testing/sample-media/images/dvr_menugraph.png | bin | 0 -> 207288 bytes | |||
-rw-r--r-- | abs/extra-testing/sample-media/images/menu_diagram_color.png | bin | 0 -> 193264 bytes | |||
-rw-r--r-- | abs/extra-testing/sample-media/rom/PACMAN.SMC | bin | 0 -> 524800 bytes | |||
-rw-r--r-- | abs/extra-testing/sample-media/sample.install | 41 | ||||
-rw-r--r-- | abs/extra-testing/sample-media/video/TripThe1939.mpeg | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..e335abb --- /dev/null +++ b/abs/extra-testing/sample-media/audio/05-Hush.mp3 diff --git a/abs/extra-testing/sample-media/images/115_1573.jpg b/abs/extra-testing/sample-media/images/115_1573.jpg Binary files differnew file mode 100644 index 0000000..f626325 --- /dev/null +++ b/abs/extra-testing/sample-media/images/115_1573.jpg diff --git a/abs/extra-testing/sample-media/images/345-1217206791B81W.jpg b/abs/extra-testing/sample-media/images/345-1217206791B81W.jpg Binary files differnew file mode 100644 index 0000000..646ae95 --- /dev/null +++ b/abs/extra-testing/sample-media/images/345-1217206791B81W.jpg diff --git a/abs/extra-testing/sample-media/images/classic-menugraph.png b/abs/extra-testing/sample-media/images/classic-menugraph.png Binary files differnew file mode 100644 index 0000000..bedbd93 --- /dev/null +++ b/abs/extra-testing/sample-media/images/classic-menugraph.png diff --git a/abs/extra-testing/sample-media/images/dvr_menugraph.png b/abs/extra-testing/sample-media/images/dvr_menugraph.png Binary files differnew file mode 100644 index 0000000..712ab36 --- /dev/null +++ b/abs/extra-testing/sample-media/images/dvr_menugraph.png diff --git a/abs/extra-testing/sample-media/images/menu_diagram_color.png b/abs/extra-testing/sample-media/images/menu_diagram_color.png Binary files differnew file mode 100644 index 0000000..d364d94 --- /dev/null +++ b/abs/extra-testing/sample-media/images/menu_diagram_color.png diff --git a/abs/extra-testing/sample-media/rom/PACMAN.SMC b/abs/extra-testing/sample-media/rom/PACMAN.SMC Binary files differnew file mode 100644 index 0000000..7a1f403 --- /dev/null +++ b/abs/extra-testing/sample-media/rom/PACMAN.SMC 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 Binary files differnew file mode 100644 index 0000000..84f9ba3 --- /dev/null +++ b/abs/extra-testing/sample-media/video/TripThe1939.mpeg |