summaryrefslogtreecommitdiffstats
path: root/serviio
diff options
context:
space:
mode:
authorYigit Sever2024-06-10 16:43:23 +0300
committerYigit Sever2024-07-05 16:16:55 +0300
commitc00f2ea9117881e8453ca45e8bafae00082264f4 (patch)
tree70815fbd502373220b83ef8c5e223164f9f94e8f /serviio
parenta9dd2a63cba870795e31ca9f48de1d6ec5cf95aa (diff)
downloadpackages-c00f2ea9117881e8453ca45e8bafae00082264f4.tar.gz
packages-c00f2ea9117881e8453ca45e8bafae00082264f4.tar.bz2
packages-c00f2ea9117881e8453ca45e8bafae00082264f4.zip
Deleted package: serviio
Deleted package: serviio
Diffstat (limited to 'serviio')
-rw-r--r--serviio/.SRCINFO21
-rw-r--r--serviio/PKGBUILD65
-rw-r--r--serviio/serviio.desktop12
-rw-r--r--serviio/serviio.install15
-rw-r--r--serviio/serviio.pngbin1779 -> 0 bytes
-rw-r--r--serviio/serviio.service9
-rw-r--r--serviio/serviio.sh17
7 files changed, 0 insertions, 139 deletions
diff --git a/serviio/.SRCINFO b/serviio/.SRCINFO
deleted file mode 100644
index 5d7b29b..0000000
--- a/serviio/.SRCINFO
+++ /dev/null
@@ -1,21 +0,0 @@
1pkgbase = serviio
2 pkgdesc = Free DLNA media server
3 pkgver = 2.4
4 pkgrel = 1
5 url = http://www.serviio.org/
6 arch = any
7 license = custom
8 depends = java-runtime-headless>=8
9 depends = ffmpeg
10 source = http://download.serviio.org/releases/serviio-2.4-linux.tar.gz
11 source = serviio.sh
12 source = serviio.service
13 source = serviio.desktop
14 source = serviio.png
15 sha256sums = b2c8b67ca6c0322cebe5e2c032783e1b6e6e8b7bfdf3308d5b3320eee2e019ab
16 sha256sums = aacddfcde926bb7c9bbec59777b7c3ca44ef97a39258ef4033c34e83c69e9fe9
17 sha256sums = 83d402a57ee31e48e70f9a8eb100468aaf1b0966974e9389fe4720e140cdc58d
18 sha256sums = ecf69649d3a68521a4c751ba9a337143f06258228635e6d458a33271995cdec0
19 sha256sums = 96f3fd953d77e5400714d9b20dc83d43ed43497afdeff43e58e273b3d3d87d1d
20
21pkgname = serviio
diff --git a/serviio/PKGBUILD b/serviio/PKGBUILD
deleted file mode 100644
index eca3708..0000000
--- a/serviio/PKGBUILD
+++ /dev/null
@@ -1,65 +0,0 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: lesebas
3# Contributor: Seb Deligny
4pkgname=serviio
5pkgver=2.4
6pkgrel=1
7pkgdesc="Free DLNA media server"
8arch=('any')
9url="http://www.serviio.org/"
10license=('custom')
11depends=('java-runtime-headless>=8' 'ffmpeg')
12source=(http://download.serviio.org/releases/serviio-${pkgver}-linux.tar.gz
13 $pkgname.sh
14 $pkgname.service
15 $pkgname.desktop
16 $pkgname.png)
17sha256sums=('b2c8b67ca6c0322cebe5e2c032783e1b6e6e8b7bfdf3308d5b3320eee2e019ab'
18 'aacddfcde926bb7c9bbec59777b7c3ca44ef97a39258ef4033c34e83c69e9fe9'
19 '83d402a57ee31e48e70f9a8eb100468aaf1b0966974e9389fe4720e140cdc58d'
20 'ecf69649d3a68521a4c751ba9a337143f06258228635e6d458a33271995cdec0'
21 '96f3fd953d77e5400714d9b20dc83d43ed43497afdeff43e58e273b3d3d87d1d')
22
23package() {
24 cd "$pkgname-$pkgver"
25
26 # define variable for Serviio home directory
27 SERVIIO_HOME=$pkgdir/usr/share/java/$pkgname
28
29 # create the folders needed in the main directory
30 install -dm755 ${SERVIIO_HOME}/{config,lib,library,plugins}
31
32 # place the serviio scripts in the /usr/bin folder
33 install -Dm755 ${srcdir}/$pkgname.sh $pkgdir/usr/bin/$pkgname
34 install -Dm755 bin/$pkgname-console.sh $pkgdir/usr/bin/$pkgname-console
35
36 # copy xml config files to the config folder
37 install -m644 config/*.xml ${SERVIIO_HOME}/config
38
39 # copy all jar files to the lib folder
40 install -m644 lib/*.jar ${SERVIIO_HOME}/lib
41
42 # copy derby.properties to library folder
43 install -m644 library/derby.properties ${SERVIIO_HOME}/library
44
45 # copy plugins-readme.txt to plugins folder
46 install -m644 plugins/plugins-readme.txt ${SERVIIO_HOME}/plugins
47
48 # create the log folder in /var/log
49 install -dm755 $pkgdir/var/log/$pkgname
50
51 # create a symlink that puts all log files in /var/log
52 ln -s /var/log/$pkgname ${SERVIIO_HOME}/log
53
54 # supply the license file
55 install -Dm644 LICENCE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
56
57 # install systemd-service
58 install -Dm644 "${srcdir}/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
59
60 #install the .desktop file
61 install -Dm644 "${srcdir}/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
62
63 #install the icon file
64 install -Dm644 "${srcdir}/$pkgname.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png"
65}
diff --git a/serviio/serviio.desktop b/serviio/serviio.desktop
deleted file mode 100644
index 1a62ec6..0000000
--- a/serviio/serviio.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
1[Desktop Entry]
2Version=1.0
3Type=Application
4Name=Serviio
5Comment[fr]=Console d'administration du serveur DLNA
6Comment[en]=Administration console of DLNA server
7Exec= serviio-console
8Categories=AudioVideo
9Icon=serviio
10Path=
11Terminal=false
12StartupNotify=false
diff --git a/serviio/serviio.install b/serviio/serviio.install
deleted file mode 100644
index 043ea27..0000000
--- a/serviio/serviio.install
+++ /dev/null
@@ -1,15 +0,0 @@
1
2post_install() {
3 update-desktop-database -q
4 gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
5}
6
7
8post_upgrade() {
9 gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
10}
11
12post_remove() {
13 update-desktop-database -q
14 gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
15} \ No newline at end of file
diff --git a/serviio/serviio.png b/serviio/serviio.png
deleted file mode 100644
index f2eefad..0000000
--- a/serviio/serviio.png
+++ /dev/null
Binary files differ
diff --git a/serviio/serviio.service b/serviio/serviio.service
deleted file mode 100644
index 54e2855..0000000
--- a/serviio/serviio.service
+++ /dev/null
@@ -1,9 +0,0 @@
1[Unit]
2Description=Serviio
3After=network.target
4
5[Service]
6ExecStart=/usr/bin/serviio
7
8[Install]
9WantedBy=multi-user.target
diff --git a/serviio/serviio.sh b/serviio/serviio.sh
deleted file mode 100644
index 3293258..0000000
--- a/serviio/serviio.sh
+++ /dev/null
@@ -1,17 +0,0 @@
1#!/usr/bin/env bash
2
3if [ "$(id -u)" -eq "0" ]; then
4 if [ -f /etc/profile.d/jdk.sh ]; then
5 . /etc/profile.d/jdk.sh
6 elif [ -f /etc/profile.d/jre.sh ]; then
7 . /etc/profile.d/jre.sh
8 fi
9 export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
10 SERVIIO_HOME="/usr/share/java/serviio"
11 SERVIIO_CLASS_PATH="$SERVIIO_HOME/lib/*:$SERVIIO_HOME/config"
12 JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME -Dffmpeg.location=ffmpeg"
13
14 java -Xmx384M $JAVA_OPTS -classpath $SERVIIO_CLASS_PATH org.serviio.MediaServer "$@"
15else
16 echo "Must be run as root."
17fi