From e616862c7bef33812ea84f809a00e83fe24078c3 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 5 Jul 2024 16:35:58 +0300 Subject: Remove laying around serviio --- PKGBUILD | 65 -------------------------------------------------------- README.md | 10 --------- serviio.desktop | 12 ----------- serviio.install | 15 ------------- serviio.png | Bin 1779 -> 0 bytes serviio.service | 9 -------- serviio.sh | 17 --------------- 7 files changed, 128 deletions(-) delete mode 100644 PKGBUILD delete mode 100644 README.md delete mode 100644 serviio.desktop delete mode 100644 serviio.install delete mode 100644 serviio.png delete mode 100644 serviio.service delete mode 100644 serviio.sh diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index eca3708..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Maintainer: Yigit Sever -# Contributor: lesebas -# Contributor: Seb Deligny -pkgname=serviio -pkgver=2.4 -pkgrel=1 -pkgdesc="Free DLNA media server" -arch=('any') -url="http://www.serviio.org/" -license=('custom') -depends=('java-runtime-headless>=8' 'ffmpeg') -source=(http://download.serviio.org/releases/serviio-${pkgver}-linux.tar.gz - $pkgname.sh - $pkgname.service - $pkgname.desktop - $pkgname.png) -sha256sums=('b2c8b67ca6c0322cebe5e2c032783e1b6e6e8b7bfdf3308d5b3320eee2e019ab' - 'aacddfcde926bb7c9bbec59777b7c3ca44ef97a39258ef4033c34e83c69e9fe9' - '83d402a57ee31e48e70f9a8eb100468aaf1b0966974e9389fe4720e140cdc58d' - 'ecf69649d3a68521a4c751ba9a337143f06258228635e6d458a33271995cdec0' - '96f3fd953d77e5400714d9b20dc83d43ed43497afdeff43e58e273b3d3d87d1d') - -package() { - cd "$pkgname-$pkgver" - - # define variable for Serviio home directory - SERVIIO_HOME=$pkgdir/usr/share/java/$pkgname - - # create the folders needed in the main directory - install -dm755 ${SERVIIO_HOME}/{config,lib,library,plugins} - - # place the serviio scripts in the /usr/bin folder - install -Dm755 ${srcdir}/$pkgname.sh $pkgdir/usr/bin/$pkgname - install -Dm755 bin/$pkgname-console.sh $pkgdir/usr/bin/$pkgname-console - - # copy xml config files to the config folder - install -m644 config/*.xml ${SERVIIO_HOME}/config - - # copy all jar files to the lib folder - install -m644 lib/*.jar ${SERVIIO_HOME}/lib - - # copy derby.properties to library folder - install -m644 library/derby.properties ${SERVIIO_HOME}/library - - # copy plugins-readme.txt to plugins folder - install -m644 plugins/plugins-readme.txt ${SERVIIO_HOME}/plugins - - # create the log folder in /var/log - install -dm755 $pkgdir/var/log/$pkgname - - # create a symlink that puts all log files in /var/log - ln -s /var/log/$pkgname ${SERVIIO_HOME}/log - - # supply the license file - install -Dm644 LICENCE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE - - # install systemd-service - install -Dm644 "${srcdir}/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service" - - #install the .desktop file - install -Dm644 "${srcdir}/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" - - #install the icon file - install -Dm644 "${srcdir}/$pkgname.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png" -} diff --git a/README.md b/README.md deleted file mode 100644 index 74be19f..0000000 --- a/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Archlinux Packages -PKGBUILDs of the packages I maintain at aur. - -https://aur.archlinux.org/packages/?K=yigits&SeB=m - -# aurpublish - -On 2022-12-16 I switched to using [aurpublish](https://github.com/eli-schwartz/aurpublish/), it seems to have a problem with my old workflow, though. - -[This workaround](https://github.com/eli-schwartz/aurpublish/issues/10#issuecomment-637884331) works, but it will clutter the git log with a bunch of deleted, re-added packages. diff --git a/serviio.desktop b/serviio.desktop deleted file mode 100644 index 1a62ec6..0000000 --- a/serviio.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=Serviio -Comment[fr]=Console d'administration du serveur DLNA -Comment[en]=Administration console of DLNA server -Exec= serviio-console -Categories=AudioVideo -Icon=serviio -Path= -Terminal=false -StartupNotify=false diff --git a/serviio.install b/serviio.install deleted file mode 100644 index 043ea27..0000000 --- a/serviio.install +++ /dev/null @@ -1,15 +0,0 @@ - -post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - - -post_upgrade() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_remove() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} \ No newline at end of file diff --git a/serviio.png b/serviio.png deleted file mode 100644 index f2eefad..0000000 Binary files a/serviio.png and /dev/null differ diff --git a/serviio.service b/serviio.service deleted file mode 100644 index 54e2855..0000000 --- a/serviio.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Serviio -After=network.target - -[Service] -ExecStart=/usr/bin/serviio - -[Install] -WantedBy=multi-user.target diff --git a/serviio.sh b/serviio.sh deleted file mode 100644 index 3293258..0000000 --- a/serviio.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -if [ "$(id -u)" -eq "0" ]; then - if [ -f /etc/profile.d/jdk.sh ]; then - . /etc/profile.d/jdk.sh - elif [ -f /etc/profile.d/jre.sh ]; then - . /etc/profile.d/jre.sh - fi - export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH - SERVIIO_HOME="/usr/share/java/serviio" - SERVIIO_CLASS_PATH="$SERVIIO_HOME/lib/*:$SERVIIO_HOME/config" - JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME -Dffmpeg.location=ffmpeg" - - java -Xmx384M $JAVA_OPTS -classpath $SERVIIO_CLASS_PATH org.serviio.MediaServer "$@" -else - echo "Must be run as root." -fi -- cgit v1.2.3-70-g09d2