diff options
Diffstat (limited to 'abs/extra/mediaserv')
-rw-r--r-- | abs/extra/mediaserv/PKGBUILD | 33 | ||||
-rw-r--r-- | abs/extra/mediaserv/finish | 8 | ||||
-rw-r--r-- | abs/extra/mediaserv/linhes-mediaserv.tar.bz2 | bin | 17322 -> 0 bytes | |||
-rw-r--r-- | abs/extra/mediaserv/mediaserv.install | 38 | ||||
-rw-r--r-- | abs/extra/mediaserv/mediaserv.no_daemon.patch | 17 | ||||
-rw-r--r-- | abs/extra/mediaserv/run | 8 |
6 files changed, 0 insertions, 104 deletions
diff --git a/abs/extra/mediaserv/PKGBUILD b/abs/extra/mediaserv/PKGBUILD deleted file mode 100644 index 59eed79..0000000 --- a/abs/extra/mediaserv/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $ -# Maintainer: Cecil Watson<knoppmyth@gmail.com> - -pkgname=mediaserv -pkgver=0.05 -pkgrel=20 -pkgdesc="On-demand transcoding server for videos, targetting the Nokia Internet Tablets." -arch=('i686' 'x86_64') -license=('ARTISTIC') -depends=('tablet-encode' 'perl-xml-rss') -backup=(/myth/mediaserv/config) -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 mediaserv.no_daemon.patch run finish) - -build() { - cd ${srcdir}/mediaserv - patch -Np1 -i ${startdir}/src/mediaserv.no_daemon.patch || return 1 - mkdir -p $startdir/pkg/usr/bin - mkdir -p $startdir/pkg/etc/sv/mediaserv/supervise - 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 - install -D -m755 ${srcdir}/run ${srcdir}/finish $startdir/pkg/etc/sv/mediaserv -} -md5sums=('94c300a0e95c55dae42a61f77e4e41fe' - 'e7b6fcc91b73939db350c4854c19e9ee' - '68d25630786e76fa36c9e6bb29821367' - 'd047f0fa5f1d39d864debd8a76f677e2' - 'f2022c1cc8f04959299c97edde06d023') diff --git a/abs/extra/mediaserv/finish b/abs/extra/mediaserv/finish deleted file mode 100644 index f424494..0000000 --- a/abs/extra/mediaserv/finish +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Stopping mediaserv" -#wait -exec /usr/bin/killall mediaserv diff --git a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 b/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 Binary files differdeleted file mode 100644 index 6397fb7..0000000 --- a/abs/extra/mediaserv/linhes-mediaserv.tar.bz2 +++ /dev/null diff --git a/abs/extra/mediaserv/mediaserv.install b/abs/extra/mediaserv/mediaserv.install deleted file mode 100644 index 53fe53a..0000000 --- a/abs/extra/mediaserv/mediaserv.install +++ /dev/null @@ -1,38 +0,0 @@ -# arg 1: the new package version - - -post_install() { - if [ ! -e $MYTHHOME/.mediaserv ] - then - ln -s /myth/mediaserv $MYTHHOME/.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 -} -# 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() { - sv stop mediaserv - remove_service.sh mediaserv - rm -fr $MYTHHOME/.mediaserv - rm -fr /myth/mediaserv -} - -op=$1 -shift -$op $* diff --git a/abs/extra/mediaserv/mediaserv.no_daemon.patch b/abs/extra/mediaserv/mediaserv.no_daemon.patch deleted file mode 100644 index b659354..0000000 --- a/abs/extra/mediaserv/mediaserv.no_daemon.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- mediaserv/mediaserv.orig 2009-06-15 03:16:53.000000000 +0000 -+++ mediaserv/mediaserv 2009-06-15 03:17:29.000000000 +0000 -@@ -608,10 +608,10 @@ - # daemonize - daemonize the parent/control app - # - sub daemonize { -- my $pid = fork; # Fork off the main process -- defined ($pid) or die "Cannot start daemon: $!"; -- print "Parent daemon running.\n" if $pid; # If we have a PID, the parent daemonized okay -- exit if $pid; # Return control to the user -+# my $pid = fork; # Fork off the main process -+# defined ($pid) or die "Cannot start daemon: $!"; -+ print "Parent daemon running.\n" ; # If we have a PID, the parent daemonized okay -+# exit if $pid; # Return control to the user - - # Now we're a daemonized parent process! - diff --git a/abs/extra/mediaserv/run b/abs/extra/mediaserv/run deleted file mode 100644 index fbd1c97..0000000 --- a/abs/extra/mediaserv/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -. /etc/rc.conf -. /etc/rc.d/functions -stat_runit "Starting mediaserv" -exec su mythtv -c "/usr/bin/mediaserv" 2>/dev/null -wait |