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/PKGBUILD33
-rw-r--r--abs/extra-testing/mediaserv/finish8
-rw-r--r--abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2bin17322 -> 0 bytes
-rw-r--r--abs/extra-testing/mediaserv/mediaserv.install38
-rw-r--r--abs/extra-testing/mediaserv/mediaserv.no_daemon.patch17
-rw-r--r--abs/extra-testing/mediaserv/run8
6 files changed, 0 insertions, 104 deletions
diff --git a/abs/extra-testing/mediaserv/PKGBUILD b/abs/extra-testing/mediaserv/PKGBUILD
deleted file mode 100644
index 59eed79..0000000
--- a/abs/extra-testing/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-testing/mediaserv/finish b/abs/extra-testing/mediaserv/finish
deleted file mode 100644
index f424494..0000000
--- a/abs/extra-testing/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-testing/mediaserv/linhes-mediaserv.tar.bz2 b/abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2
deleted file mode 100644
index 6397fb7..0000000
--- a/abs/extra-testing/mediaserv/linhes-mediaserv.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/abs/extra-testing/mediaserv/mediaserv.install b/abs/extra-testing/mediaserv/mediaserv.install
deleted file mode 100644
index 4a9de8e..0000000
--- a/abs/extra-testing/mediaserv/mediaserv.install
+++ /dev/null
@@ -1,38 +0,0 @@
-# arg 1: the new package version
-
-
-post_install() {
- 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
-}
-# 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 /home/mythtv/.mediaserv
- rm -fr /myth/mediaserv
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch b/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch
deleted file mode 100644
index b659354..0000000
--- a/abs/extra-testing/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-testing/mediaserv/run b/abs/extra-testing/mediaserv/run
deleted file mode 100644
index fbd1c97..0000000
--- a/abs/extra-testing/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