summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mediaserv/PKGBUILD
blob: 59eed798f7915eea145f0e62e6e1dcdbfb602da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $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')