mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
New package: supersonic-desktop-0.15.2
This commit is contained in:
parent
8f34a23687
commit
3ae3f20715
2 changed files with 51 additions and 0 deletions
24
srcpkgs/supersonic-desktop/patches/println-to-printf.patch
Normal file
24
srcpkgs/supersonic-desktop/patches/println-to-printf.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
From 989bc886466076d452914d746c150eb0ae91c9c7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Simon Symeonidis <lethaljellybean@gmail.com>
|
||||||
|
Date: Wed, 7 May 2025 19:36:22 -0400
|
||||||
|
Subject: [PATCH] Change log.Println statement to log.Printf
|
||||||
|
|
||||||
|
This changes a statement from Println, to Printf, as it seems the
|
||||||
|
original intention was to format the error.
|
||||||
|
---
|
||||||
|
ui/browsing/trackspage.go | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/ui/browsing/trackspage.go b/ui/browsing/trackspage.go
|
||||||
|
index eaf34563..3e42edc9 100644
|
||||||
|
--- a/ui/browsing/trackspage.go
|
||||||
|
+++ b/ui/browsing/trackspage.go
|
||||||
|
@@ -210,7 +210,7 @@ func (t *TracksPage) playRandomSongs() {
|
||||||
|
go func() {
|
||||||
|
err := t.contr.App.PlaybackManager.PlayRandomSongs("")
|
||||||
|
if err != nil {
|
||||||
|
- log.Println("error playing random tracks: %v", err)
|
||||||
|
+ log.Printf("error playing random tracks: %v", err)
|
||||||
|
fyne.Do(func() {
|
||||||
|
t.contr.ToastProvider.ShowErrorToast(lang.L("Unable to play random tracks"))
|
||||||
|
})
|
27
srcpkgs/supersonic-desktop/template
Normal file
27
srcpkgs/supersonic-desktop/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'supersonic-desktop'
|
||||||
|
pkgname=supersonic-desktop
|
||||||
|
version=0.15.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="Hendrik Boll <fanyx@posteo.net>"
|
||||||
|
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=5d1a4a66cc5715e3995a712996fb31b426bf933fcb3cb9731b0a9548975e4ee1
|
||||||
|
|
||||||
|
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…
Add table
Reference in a new issue