diff options
author | James Meyer <james.meyer@operamail.com> | 2009-06-15 02:23:30 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-06-15 02:23:30 (GMT) |
commit | f27ecfc5aca0f15158b6af7f9c3363d6fa11f421 (patch) | |
tree | 992f2cb7e1f1ee44c0faafd99da733fb91f12a53 /abs/extra-testing/mediaserv | |
parent | 1355a3b9649a15b3a35d1ef6d034f51e3802fe14 (diff) | |
parent | 871bc4519c6212bc5acf9d893fd8e9187d4a299c (diff) | |
download | linhes_pkgbuild-f27ecfc5aca0f15158b6af7f9c3363d6fa11f421.zip linhes_pkgbuild-f27ecfc5aca0f15158b6af7f9c3363d6fa11f421.tar.gz linhes_pkgbuild-f27ecfc5aca0f15158b6af7f9c3363d6fa11f421.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/mediaserv')
-rw-r--r-- | abs/extra-testing/mediaserv/PKGBUILD | 24 | ||||
-rw-r--r-- | abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2 | bin | 0 -> 17186 bytes | |||
-rw-r--r-- | abs/extra-testing/mediaserv/mediaserv.install | 22 |
3 files changed, 46 insertions, 0 deletions
diff --git a/abs/extra-testing/mediaserv/PKGBUILD b/abs/extra-testing/mediaserv/PKGBUILD new file mode 100644 index 0000000..f58aaa3 --- /dev/null +++ b/abs/extra-testing/mediaserv/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $ +# Maintainer: Cecil Watson<knoppmyth@gmail.com> + +pkgname=mediaserv +pkgver=0.05 +pkgrel=2 +pkgdesc="On-deman transcoding server for videos, targetting the Nokia Internet Tablets." +arch=('i686' 'x86_64') +license=('ARTISTIC') +depends=('tablet-encode' 'perl-xml-rss') +install=(mediaserv.install) +url="http://mediautils.garage.maemo.org/tablet-encode.html" +source=(https://garage.maemo.org/frs/download.php/2632/mediaserv-0.05.tar.gz linhes-mediaserv.tar.bz2) + +build() { + cd ${srcdir}/mediaserv + mkdir -p $startdir/pkg/usr/bin + mkdir -p $startdir/pkg/usr/share/doc/mediaserv + mkdir -p $startdir/pkg/myth/mediaserv + mkdir -p $startdir/pkg/myth/mediaserv/media + install -D -m755 mediaserv $startdir/pkg/usr/bin + cp README.txt $startdir/pkg/usr/share/doc/mediaserv + cp -a ${srcdir}/.mediaserv/* ${pkgdir}/myth/mediaserv +} diff --git a/abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2 b/abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2 Binary files differnew file mode 100644 index 0000000..7630679 --- /dev/null +++ b/abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2 diff --git a/abs/extra-testing/mediaserv/mediaserv.install b/abs/extra-testing/mediaserv/mediaserv.install new file mode 100644 index 0000000..6fe6f08 --- /dev/null +++ b/abs/extra-testing/mediaserv/mediaserv.install @@ -0,0 +1,22 @@ +# arg 1: the new package version +post_install() { + ln -s /myth/mediaserv /home/mythtv/.mediaserv + ln -s /myth/pretty /myth/mediaserv/media/tv + ln -s /myth/video /myth/mediaserv/media/video + chown -R mythtv.mythtv /myth/mediaserv +} +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +# arg 1: the old package version +post_remove() { + rm -fr /home/mythtv/.mediaserv + rm -fr /myth/mediaserv +} + +op=$1 +shift +$op $* |