summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mediaserv
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/mediaserv')
-rw-r--r--abs/extra-testing/mediaserv/PKGBUILD7
-rw-r--r--abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2bin17186 -> 17322 bytes
-rw-r--r--abs/extra-testing/mediaserv/mediaserv.install18
-rw-r--r--abs/extra-testing/mediaserv/run2
4 files changed, 22 insertions, 5 deletions
diff --git a/abs/extra-testing/mediaserv/PKGBUILD b/abs/extra-testing/mediaserv/PKGBUILD
index 0ed43fa..59eed79 100644
--- a/abs/extra-testing/mediaserv/PKGBUILD
+++ b/abs/extra-testing/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-testing/mediaserv/linhes-mediaserv.tar.bz2 b/abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2
index 7630679..6397fb7 100644
--- a/abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2
+++ b/abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2
Binary files differ
diff --git a/abs/extra-testing/mediaserv/mediaserv.install b/abs/extra-testing/mediaserv/mediaserv.install
index 7a26077..4a9de8e 100644
--- a/abs/extra-testing/mediaserv/mediaserv.install
+++ b/abs/extra-testing/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-testing/mediaserv/run b/abs/extra-testing/mediaserv/run
index 82a1705..fbd1c97 100644
--- a/abs/extra-testing/mediaserv/run
+++ b/abs/extra-testing/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