Commit 144895c4 authored by Kevin Thomas's avatar Kevin Thomas Committed by Leo
Browse files

testing/airsonic: new aport

https://airsonic.github.io/
Community driven media server (fork of Subsonic and Libresonic)
parent 11f08809
# Contributor: Kevin Thomas <me@kevinthomas.dev>
# Maintainer: Kevin Thomas <me@kevinthomas.dev>
pkgname=airsonic
pkgver=10.6.2
pkgrel=0
pkgdesc="Community driven media server (fork of Subsonic and Libresonic)"
url="https://airsonic.github.io/"
arch="noarch"
license="GPL-3.0-or-later"
depends="openjdk8"
makedepends="maven"
source="$pkgname-$pkgver.tar.gz::https://github.com/airsonic/airsonic/archive/v$pkgver.tar.gz
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 "$builddir"/airsonic-main/target/airsonic.war "$pkgdir"/var/airsonic/airsonic.war
}
sha512sums="
eae7e0386f9286049a0d23535febb45b4c97faa63050945aa8d987b4f0f41a3426fdd6f16725a96bc2a162b5d115d2a3b8626256ed9d776e456252d558f4f339 airsonic-10.6.2.tar.gz
3c5296cf1b17f49b1659da638bcb107edca0fe0a71a91691d7aefe67dde3adc5a29217319fce745a9bfe8d9586eeaac55283d31b278a359f0faabb5f8f49c32c update-jaudiotagger-repo.patch
c4f7ae56e8e2081596b32608afaf1f71ace9f72d649e152ce62411ac20ebe93caeae5e0e18a2c8ca246e20f838dbaf5740f3739336698d590de581c8176c1b0b update-jaudiotagger-dependency.patch
"
--- 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>
--- 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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment