summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/mediatomb/PKGBUILD42
-rw-r--r--pcr/mediatomb/mediatomb-mariadb.service2
-rw-r--r--pcr/mediatomb/mediatomb.rc54
3 files changed, 22 insertions, 76 deletions
diff --git a/pcr/mediatomb/PKGBUILD b/pcr/mediatomb/PKGBUILD
index 036632eef..1d5a83234 100644
--- a/pcr/mediatomb/PKGBUILD
+++ b/pcr/mediatomb/PKGBUILD
@@ -1,16 +1,17 @@
-# Contributor: Martin Villagra <mvillagra0@gmail.com>
-# Contributor: William Rea <sillywilly@gmail.com>
-# Contributor: Nikhil Bysani <nikron@gmail.com>
-# Contributor: Mika Hynnä <igheax@gmail.com>
-# Contributor: Jonathan Conder <jonno.conder@gmail.com>
-# Contributor: Peter Richard Lewis <plewis@aur.archlinux.org>
-# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Maintainer (Arch): S Leduc <sebastien@sleduc.fr>
+# Contributor (Arch): Martin Villagra <mvillagra0@gmail.com>
+# Contributor (Arch): William Rea <sillywilly@gmail.com>
+# Contributor (Arch): Nikhil Bysani <nikron@gmail.com>
+# Contributor (Arch): Mika Hynnä <igheax@gmail.com>
+# Contributor (Arch): Jonathan Conder <jonno.conder@gmail.com>
+# Contributor (Arch): Peter Richard Lewis <plewis@aur.archlinux.org>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=mediatomb
pkgver=0.12.1
-pkgrel=12.1
+pkgrel=13
pkgdesc="Free UPnP/DLNA media server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv6h')
url="http://mediatomb.cc/"
license=('GPL')
depends=('file' 'curl' 'ffmpegthumbnailer' 'libexif' 'libmp4v2' 'sqlite3' 'taglib' 'libmariadbclient' 'js185')
@@ -28,18 +29,17 @@ source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
'libmp4v2_191_p497.patch'
'libavformat.patch'
'symlinks.patch')
-md5sums=('e927dd5dc52d3cfcebd8ca1af6f0d3c2'
- '951b133930436a0ffc1c9b0c9f8145a3'
- '27e796979c7778c3876b9a16452eb6e4'
- '6503695608c811133db647e0991698eb'
- '0ae34c0d73b76e3d215887834c3c08cf'
- 'd9e02a9956eecf5ff645bddf6dac0331'
- 'a7509bdaa0301ccbd9e564f727c1dd22'
- '88144653ff2dc602bcb737f59b2421ce'
- '915fa5b3b72649454009511a152b6102'
- '932d29fbaaea6f1715bb6da456fb5f44'
- 'e1de449736dab88cbb7e10e6bb63ff0d')
-
+sha256sums=('31163c34a7b9d1c9735181737cb31306f29f1f2a0335fb4f53ecccf8f62f11cd'
+ 'e46de674e49aa85116a8ff127908f7bac21198ce7625404004b8b7832eccd3f4'
+ '9c917f0d6e568ce0ad77c0ed17e4bbaabc0e7a1c0a3e4772b786fb1565db9768'
+ '70e4a4b89cef9a7f6f5f800e1793a6cb807f52b39e5a17d0a91356608b95e62d'
+ '0c02a20032f0c296800b1bb9644638970c2dedbc5ab7141d66a637235e9da6ce'
+ '2cd8f5628c3a38b290526f008bae351b90211825f86e5959bf95f140748de574'
+ 'd9a3062858900d32b977f0d50d168fd7d36785b6ecc038c019e661e27f7b1c17'
+ 'c6523e8bf5e2da89b7475d6777ef9bffe7d089752ef2f7b27b5e39a4130fb0ff'
+ 'd39c2f9aab051c5447461718fd0ec72cf5982f6c920a4a985a50831f34babe84'
+ '76b11706d70ed8f5e157d96ca441c90c46c42176102fcb651b4ab1102b61bfee'
+ '72f7532d7cd827ab655df652d2912175739fe16d2b1ad989d987a0b147a1d2e8')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/pcr/mediatomb/mediatomb-mariadb.service b/pcr/mediatomb/mediatomb-mariadb.service
index 5b83f1d78..87b95e284 100644
--- a/pcr/mediatomb/mediatomb-mariadb.service
+++ b/pcr/mediatomb/mediatomb-mariadb.service
@@ -1,6 +1,6 @@
[Unit]
Description=MediaTomb Daemon using MariaDB
-After=mysql.target network.target
+After=mysqld.target network.target
[Service]
EnvironmentFile=/etc/conf.d/mediatomb
diff --git a/pcr/mediatomb/mediatomb.rc b/pcr/mediatomb/mediatomb.rc
deleted file mode 100644
index 7b93012cd..000000000
--- a/pcr/mediatomb/mediatomb.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/mediatomb
-
-MT_OPTIONS="-p $MT_PORT -u $MT_USER -g $MT_GROUP -P $MT_PIDFILE \
- -l $MT_LOGFILE -m $MT_HOME -f $MT_CFGDIR $MT_OPTIONS"
-
-case "$1" in
- start)
- stat_busy "Starting Mediatomb UPnP Media Server"
-
- chown "$MT_USER:$MT_GROUP" "$MT_HOME"
-
- if ! pidof -o %PPID /usr/bin/mediatomb &> /dev/null; then
- rm -f "$MT_PIDFILE"
- fi
-
- PID="$(cat "$MT_PIDFILE" 2> /dev/null)"
-
- if [ -z "$PID" ] && /usr/bin/mediatomb -d $MT_OPTIONS; then
- add_daemon mediatomb
- stat_done
- else
- stat_fail
- fi
- ;;
-
- stop)
- stat_busy "Stopping Mediatomb UPnP Media Server"
-
- PID="$(cat "$MT_PIDFILE" 2> /dev/null)"
-
- if [ -n "$PID" ] && kill "$PID" &> /dev/null; then
- rm -f "$MT_PIDFILE"
- rm_daemon mediatomb
- stat_done
- else
- stat_fail
- fi
- ;;
-
- restart)
- "$0" stop
- sleep 1
- "$0" start
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart}"
- ;;
-esac
-exit 0