diff --git a/testing/airsonic/APKBUILD b/testing/airsonic/APKBUILD deleted file mode 100644 index 40cc856e1c7008214026ff8d7047f0390a7c5d95..0000000000000000000000000000000000000000 --- a/testing/airsonic/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Kevin Thomas <me@kevinthomas.dev> -# Maintainer: Kevin Thomas <me@kevinthomas.dev> -pkgname=airsonic -pkgver=10.6.2 -pkgrel=2 -pkgdesc="Community driven media server (fork of Subsonic and Libresonic)" -url="https://airsonic.github.io/" -# aarch64: test failure -# mips64 and riscv64 blocked by openjdk8 -arch="noarch !aarch64 !mips64 !riscv64" -license="GPL-3.0-or-later" -depends="openjdk8" -makedepends="maven" -subpackages="$pkgname-openrc" -pkgusers="airsonic" -pkggroups="airsonic" -install="$pkgname.pre-install" -source="$pkgname-$pkgver.tar.gz::https://github.com/airsonic/airsonic/archive/v$pkgver.tar.gz - airsonic.initd - update-jaudiotagger-repo.patch - update-jaudiotagger-dependency.patch - " - -prepare() { - default_prepare - # Maven pulls in openjdk16-jre-headless as a dependency so we need to specify - # openjdk8 - export JAVA_HOME=/usr/lib/jvm/java-8-openjdk -} - -build() { - mvn clean package -DskipTests -} - -check() { - mvn test -} - -package() { - install -dm755 -o airsonic -g airsonic \ - "$pkgdir"/var/airsonic - - install -m755 -o airsonic -g airsonic \ - "$builddir"/airsonic-main/target/airsonic.war \ - "$pkgdir"/var/airsonic/airsonic.war - - install -Dm755 "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname -} - -sha512sums=" -eae7e0386f9286049a0d23535febb45b4c97faa63050945aa8d987b4f0f41a3426fdd6f16725a96bc2a162b5d115d2a3b8626256ed9d776e456252d558f4f339 airsonic-10.6.2.tar.gz -4c2a99a724a845a4f5d89f52a8e23953651a116f99490285d488802df8a1996eb85d435953ce7997f61d3d042f067f1798b2960e8980ab44122cb1ebf45b3fef airsonic.initd -3c5296cf1b17f49b1659da638bcb107edca0fe0a71a91691d7aefe67dde3adc5a29217319fce745a9bfe8d9586eeaac55283d31b278a359f0faabb5f8f49c32c update-jaudiotagger-repo.patch -c4f7ae56e8e2081596b32608afaf1f71ace9f72d649e152ce62411ac20ebe93caeae5e0e18a2c8ca246e20f838dbaf5740f3739336698d590de581c8176c1b0b update-jaudiotagger-dependency.patch -" diff --git a/testing/airsonic/airsonic.initd b/testing/airsonic/airsonic.initd deleted file mode 100644 index 189d9514e41ac111524af8f0cca17e08159a9f2f..0000000000000000000000000000000000000000 --- a/testing/airsonic/airsonic.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run - -supervisor=supervise-daemon -name="airsonic" -command="/usr/lib/jvm/java-8-openjdk/jre/bin/java" -command_args="-jar airsonic.war" -command_user="airsonic:airsonic" -directory="/var/airsonic" -command_background=true -pidfile="/run/airsonic.pid" - -depend() { - need net localmount - after firewall -} diff --git a/testing/airsonic/airsonic.pre-install b/testing/airsonic/airsonic.pre-install deleted file mode 100644 index 8e5af1201a67d5c999e8d4a759697c07ef82d74b..0000000000000000000000000000000000000000 --- a/testing/airsonic/airsonic.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S airsonic 2>/dev/null -adduser -S -D -H -s /sbin/nologin -G airsonic -g airsonic airsonic 2>/dev/null - -exit 0 diff --git a/testing/airsonic/update-jaudiotagger-dependency.patch b/testing/airsonic/update-jaudiotagger-dependency.patch deleted file mode 100644 index 780c88a00ee1943418cf9063a83d0c91cdfab237..0000000000000000000000000000000000000000 --- a/testing/airsonic/update-jaudiotagger-dependency.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- airsonic-10.6.2/airsonic-main/pom.xml -+++ airsonic-10.6.2/airsonic-main/pom.xml -@@ -253,9 +253,9 @@ - </dependency> - - <dependency> -- <groupId>net.jthink</groupId> -- <artifactId>jaudiotagger</artifactId> -- <version>2.2.5</version> -+ <groupId>org.bitbucket.ijabz</groupId> -+ <artifactId>jaudiotagger</artifactId> -+ <version>v2.2.5</version> - </dependency> - - <dependency> diff --git a/testing/airsonic/update-jaudiotagger-repo.patch b/testing/airsonic/update-jaudiotagger-repo.patch deleted file mode 100644 index 4f5513df9969c61f76cf690d31b9f9ab2917551f..0000000000000000000000000000000000000000 --- a/testing/airsonic/update-jaudiotagger-repo.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- airsonic-10.6.2/pom.xml -+++ airsonic-10.6.2/pom.xml -@@ -28,10 +28,10 @@ - <name>Local Repository</name> - <url>file://${project.basedir}/../repo</url> - </repository> -- <repository> -- <id>jaudiotagger-repository</id> -- <url>https://dl.bintray.com/ijabz/maven</url> -- </repository> -+ <repository> -+ <id>jitpack.io</id> -+ <url>https://jitpack.io</url> -+ </repository> - <repository> - <id>4thline-repo</id> - <url>http://4thline.org/m2</url>