2024-01-27 16:47:19 +01:00
|
|
|
# Contributor: ITmodulo <itmodulo@disroot.org>
|
|
|
|
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
|
|
|
pkgname=supersonic-desktop
|
2024-03-02 11:24:13 +01:00
|
|
|
pkgver=0.9.1
|
2024-01-27 16:47:19 +01:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Full-featured, mpv-based music player for Subsonic and Jellyfin servers"
|
|
|
|
url="https://github.com/dweymouth/supersonic"
|
|
|
|
license="GPL-3.0-or-later"
|
2024-01-27 19:37:50 +01:00
|
|
|
arch="all"
|
2024-01-28 18:19:46 +01:00
|
|
|
makedepends="go mpv-dev libayatana-appindicator-dev libsecret-dev glib-dev libx11-dev"
|
2024-01-27 16:47:19 +01:00
|
|
|
depends="libayatana-appindicator libsecret"
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/dweymouth/supersonic/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "supersonic-$pkgver"
|
|
|
|
go build -ldflags="-s -w" -o bin/$pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
go test ./...
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "src/supersonic-$pkgver"
|
|
|
|
install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
|
|
|
|
install -Dm644 res/appicon.png "$pkgdir"/usr/share/pixmaps/supersonic-desktop.png
|
|
|
|
install -Dm644 res/supersonic-desktop.desktop "$pkgdir"/usr/share/applications/supersonic-desktop.desktop
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-03-02 11:24:13 +01:00
|
|
|
fe6e1b6777d365af71cd19f4f25fb6abd5651401ae88234216a8b2ccbae496d59a24f7c4ad66e43c493e857f504006027dc19e962a83cf551f6079a59ba38e2f supersonic-desktop-0.9.1.tar.gz
|
2024-01-27 16:47:19 +01:00
|
|
|
"
|