diff options
Diffstat (limited to 'abs/extra/mediaserv')
-rw-r--r-- | abs/extra/mediaserv/PKGBUILD | 7 | ||||
-rw-r--r-- | abs/extra/mediaserv/linhes-mediaserv.tar.bz2 | bin | 17186 -> 17322 bytes | |||
-rw-r--r-- | abs/extra/mediaserv/mediaserv.install | 18 | ||||
-rw-r--r-- | abs/extra/mediaserv/run | 2 |
4 files changed, 22 insertions, 5 deletions
diff --git a/abs/extra/mediaserv/PKGBUILD b/abs/extra/mediaserv/PKGBUILD index 0ed43fa..59eed79 100644 --- a/abs/extra/mediaserv/PKGBUILD +++ b/abs/extra/mediaserv/PKGBUILD @@ -3,7 +3,7 @@ pkgname=mediaserv pkgver=0.05 -pkgrel=5 +pkgrel=20 pkgdesc="On-demand transcoding server for videos, targetting the Nokia Internet Tablets." arch=('i686' 'x86_64') license=('ARTISTIC') @@ -26,3 +26,8 @@ build() { cp -a ${srcdir}/.mediaserv/* ${pkgdir}/myth/mediaserv install -D -m755 ${srcdir}/run ${srcdir}/finish $startdir/pkg/etc/sv/mediaserv } +md5sums=('94c300a0e95c55dae42a61f77e4e41fe' + 'e7b6fcc91b73939db350c4854c19e9ee' + '68d25630786e76fa36c9e6bb29821367' + 'd047f0fa5f1d39d864debd8a76f677e2' + 'f2022c1cc8f04959299c97edde06d023') diff --git a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 b/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 Binary files differindex 7630679..6397fb7 100644 --- a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 +++ b/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 diff --git a/abs/extra/mediaserv/mediaserv.install b/abs/extra/mediaserv/mediaserv.install index 7a26077..4a9de8e 100644 --- a/abs/extra/mediaserv/mediaserv.install +++ b/abs/extra/mediaserv/mediaserv.install @@ -1,8 +1,20 @@ # 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 + if [ ! -e /home/mythtv/.mediaserv ] + then + ln -s /myth/mediaserv /home/mythtv/.mediaserv + fi + + if [ ! -e /myth/mediaserv/media/tv ] + then + ln -s /myth/pretty /myth/mediaserv/media/tv + fi + if [ ! -e /myth/mediaserv/media/video ] + then + ln -s /myth/video /myth/mediaserv/media/video + fi chown -R mythtv.mythtv /myth/mediaserv add_service.sh mediaserv sv start mediaserv diff --git a/abs/extra/mediaserv/run b/abs/extra/mediaserv/run index 82a1705..fbd1c97 100644 --- a/abs/extra/mediaserv/run +++ b/abs/extra/mediaserv/run @@ -4,5 +4,5 @@ export TERM=linux . /etc/rc.conf . /etc/rc.d/functions stat_runit "Starting mediaserv" -exec su mythtv -c "/usr/bin/mediaserv" +exec su mythtv -c "/usr/bin/mediaserv" 2>/dev/null wait |