Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: supersonic-desktop-0.13.2 #53632

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions srcpkgs/supersonic-desktop/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Template file for 'supersonic-desktop'
pkgname=supersonic-desktop
version=0.13.2
revision=1
build_style=go
go_import_path="github.com/dweymouth/supersonic"
hostmakedepends="pkg-config"
makedepends="mpv-devel libXcursor-devel libXxf86vm-devel"
short_desc="Lightweight cross-platform desktop client for self-hosted music servers"
maintainer="fanyx <[email protected]>"
license="GPL-3.0-or-later"
homepage="https://github.com/dweymouth/supersonic"
changelog="https://raw.githubusercontent.com/dweymouth/supersonic/refs/heads/main/CHANGELOG.md"
distfiles="https://github.com/dweymouth/supersonic/archive/v${version}.tar.gz"
checksum=39edd84f6049462a1ff944e07270b474b3d8ba3cf42f5edebdc5813583b83bde

post_install() {
mv "${DESTDIR}/usr/bin/supersonic" "${DESTDIR}/usr/bin/supersonic-desktop"

vinstall res/appicon.png 644 usr/share/icons supersonic-desktop.png

for i in 128 256 512; do
vinstall res/appicon-$i.png 644 usr/share/icons/${i}x${i} supersonic-desktop.png
done

vinstall res/supersonic-desktop.desktop 644 usr/share/applications
}
Loading