diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | serviio-console.sh | 8 |
3 files changed, 10 insertions, 22 deletions
@@ -1,24 +1,22 @@ | |||
1 | # Generated by makepkg 4.2.1 | 1 | # Generated by mksrcinfo v8 |
2 | # Tue Apr 14 20:06:25 UTC 2015 | 2 | # Wed Jan 20 21:05:49 UTC 2016 |
3 | pkgbase = serviio | 3 | pkgbase = serviio |
4 | pkgdesc = Free DLNA media server | 4 | pkgdesc = Free DLNA media server |
5 | pkgver = 1.5.2 | 5 | pkgver = 1.6 |
6 | pkgrel = 2 | 6 | pkgrel = 0 |
7 | url = http://www.serviio.org/ | 7 | url = http://www.serviio.org/ |
8 | arch = any | 8 | arch = any |
9 | license = custom | 9 | license = custom |
10 | depends = java-runtime-headless=8 | 10 | depends = java-runtime-headless=8 |
11 | depends = ffmpeg | 11 | depends = ffmpeg |
12 | source = http://download.serviio.org/releases/serviio-1.5.2-linux.tar.gz | 12 | source = http://download.serviio.org/releases/serviio-1.6-linux.tar.gz |
13 | source = serviio.sh | 13 | source = serviio.sh |
14 | source = serviio-console.sh | ||
15 | source = serviio.service | 14 | source = serviio.service |
16 | source = serviio.desktop | 15 | source = serviio.desktop |
17 | source = serviio.png | 16 | source = serviio.png |
18 | source = serviio.install | 17 | source = serviio.install |
19 | md5sums = 70cfa7d9f54b1c921194b6c0d6530ed6 | 18 | md5sums = 2dae7c1a41b0de075d02c244fccd39ab |
20 | md5sums = 227a75de2dea1db93c1fba3d004e01ad | 19 | md5sums = 227a75de2dea1db93c1fba3d004e01ad |
21 | md5sums = 7f38b2f294ce990958dcc63b583807b4 | ||
22 | md5sums = e958d9812448f97fe325dfffe8b44620 | 20 | md5sums = e958d9812448f97fe325dfffe8b44620 |
23 | md5sums = fbfcac4ad5dffd909e51ea1a7a6335aa | 21 | md5sums = fbfcac4ad5dffd909e51ea1a7a6335aa |
24 | md5sums = d41e3e757e412dfcd3036d9e19b81450 | 22 | md5sums = d41e3e757e412dfcd3036d9e19b81450 |
@@ -1,6 +1,6 @@ | |||
1 | pkgname=serviio | 1 | pkgname=serviio |
2 | pkgver=1.5.2 | 2 | pkgver=1.6 |
3 | pkgrel=2 | 3 | pkgrel=0 |
4 | pkgdesc="Free DLNA media server" | 4 | pkgdesc="Free DLNA media server" |
5 | arch=('any') | 5 | arch=('any') |
6 | url="http://www.serviio.org/" | 6 | url="http://www.serviio.org/" |
@@ -8,14 +8,12 @@ license=('custom') | |||
8 | depends=('java-runtime-headless=8' 'ffmpeg') | 8 | depends=('java-runtime-headless=8' 'ffmpeg') |
9 | source=(http://download.serviio.org/releases/serviio-${pkgver}-linux.tar.gz | 9 | source=(http://download.serviio.org/releases/serviio-${pkgver}-linux.tar.gz |
10 | $pkgname.sh | 10 | $pkgname.sh |
11 | $pkgname-console.sh | ||
12 | $pkgname.service | 11 | $pkgname.service |
13 | $pkgname.desktop | 12 | $pkgname.desktop |
14 | $pkgname.png | 13 | $pkgname.png |
15 | $pkgname.install) | 14 | $pkgname.install) |
16 | md5sums=('70cfa7d9f54b1c921194b6c0d6530ed6' | 15 | md5sums=('2dae7c1a41b0de075d02c244fccd39ab' |
17 | '227a75de2dea1db93c1fba3d004e01ad' | 16 | '227a75de2dea1db93c1fba3d004e01ad' |
18 | '7f38b2f294ce990958dcc63b583807b4' | ||
19 | 'e958d9812448f97fe325dfffe8b44620' | 17 | 'e958d9812448f97fe325dfffe8b44620' |
20 | 'fbfcac4ad5dffd909e51ea1a7a6335aa' | 18 | 'fbfcac4ad5dffd909e51ea1a7a6335aa' |
21 | 'd41e3e757e412dfcd3036d9e19b81450' | 19 | 'd41e3e757e412dfcd3036d9e19b81450' |
@@ -32,7 +30,7 @@ package() { | |||
32 | 30 | ||
33 | # place the serviio scripts in the /usr/bin folder | 31 | # place the serviio scripts in the /usr/bin folder |
34 | install -Dm755 ${srcdir}/$pkgname.sh $pkgdir/usr/bin/$pkgname | 32 | install -Dm755 ${srcdir}/$pkgname.sh $pkgdir/usr/bin/$pkgname |
35 | install -Dm755 ${srcdir}/$pkgname-console.sh $pkgdir/usr/bin/$pkgname-console | 33 | install -Dm755 bin/$pkgname-console.sh $pkgdir/usr/bin/$pkgname-console |
36 | 34 | ||
37 | # copy xml config files to the config folder | 35 | # copy xml config files to the config folder |
38 | install -m644 config/*.xml ${SERVIIO_HOME}/config | 36 | install -m644 config/*.xml ${SERVIIO_HOME}/config |
diff --git a/serviio-console.sh b/serviio-console.sh deleted file mode 100644 index 976d59b..0000000 --- a/serviio-console.sh +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH | ||
4 | SERVIIO_CONSOLE_HOME="/usr/share/java/serviio" | ||
5 | SERVIIO_CLASS_PATH="$SERVIIO_CONSOLE_HOME/lib/*:$SERVIIO_CONSOLE_HOME/config" | ||
6 | JAVA_OPTS="-Dserviio.home=$SERVIIO_CONSOLE_HOME -Djava.net.preferIPv4Stack=true" | ||
7 | |||
8 | java -Xmx512M $JAVA_OPTS -classpath $SERVIIO_CLASS_PATH org.serviio.console.ServiioConsole "$@" | ||