summaryrefslogtreecommitdiffstats
path: root/abs/extra/mediaserv
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-08-30 22:26:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-08-30 22:26:00 (GMT)
commit1f175a7b07b9553ce98d0546ac04dbb925ec0bc9 (patch)
treec969070115611a8a75f23d468aa5e0cf86a08121 /abs/extra/mediaserv
parentc4bd4457b5d640e1c8f5afbca7cd54c53691e5fc (diff)
downloadlinhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.zip
linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.tar.gz
linhes_pkgbuild-1f175a7b07b9553ce98d0546ac04dbb925ec0bc9.tar.bz2
RESYNC EXTRA:
synced extra-testing -> extra repo Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'abs/extra/mediaserv')
-rw-r--r--abs/extra/mediaserv/PKGBUILD7
-rw-r--r--abs/extra/mediaserv/linhes-mediaserv.tar.bz2bin17186 -> 17322 bytes
-rw-r--r--abs/extra/mediaserv/mediaserv.install18
-rw-r--r--abs/extra/mediaserv/run2
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
index 7630679..6397fb7 100644
--- a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2
+++ b/abs/extra/mediaserv/linhes-mediaserv.tar.bz2
Binary files differ
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