git: 0beea0952e75 - main - audio/waves: Update to 0.1.42

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Sat, 07 Mar 2026 13:03:50 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0beea0952e75e71e5da7ff1b8ea5162d64e38d21

commit 0beea0952e75e71e5da7ff1b8ea5162d64e38d21
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-03-07 12:52:08 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-03-07 13:03:18 +0000

    audio/waves: Update to 0.1.42
    
    - Add a set of patches to compile mpris/notifications support
    
    ChangeLog:      https://github.com/llehouerou/waves/releases/tag/v0.1.42
    Reported by:    portscout!
---
 audio/waves/Makefile                                      |  4 ++--
 audio/waves/distinfo                                      | 10 +++++-----
 audio/waves/files/patch-internal_mpris_cover.go           |  8 ++++++++
 audio/waves/files/patch-internal_mpris_mpris.go           |  8 ++++++++
 audio/waves/files/patch-internal_mpris_mpris__test.go     |  8 ++++++++
 audio/waves/files/patch-internal_mpris_stub.go            |  8 ++++++++
 audio/waves/files/patch-internal_notify_albumart.go       |  8 ++++++++
 audio/waves/files/patch-internal_notify_albumart__stub.go |  8 ++++++++
 audio/waves/files/patch-internal_notify_albumart__test.go |  8 ++++++++
 audio/waves/files/patch-internal_notify_dbus.go           |  8 ++++++++
 audio/waves/files/patch-internal_notify_dbus__test.go     |  8 ++++++++
 audio/waves/files/patch-internal_notify_stub.go           |  8 ++++++++
 12 files changed, 87 insertions(+), 7 deletions(-)

diff --git a/audio/waves/Makefile b/audio/waves/Makefile
index b6482f6dedb3..ce279357301a 100644
--- a/audio/waves/Makefile
+++ b/audio/waves/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	waves
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.41
-PORTREVISION=	1
+DISTVERSION=	0.1.42
+PORTREVISION=	0
 CATEGORIES=	audio
 
 MAINTAINER=	nivit@FreeBSD.org
diff --git a/audio/waves/distinfo b/audio/waves/distinfo
index c8a6188cbcb3..6c1c89539271 100644
--- a/audio/waves/distinfo
+++ b/audio/waves/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1771234448
-SHA256 (go/audio_waves/waves-v0.1.41/v0.1.41.mod) = e201530a8efe1f32a067ec0e0a72695a36daf67e2b4ca5de414a30ccb373a2a2
-SIZE (go/audio_waves/waves-v0.1.41/v0.1.41.mod) = 3458
-SHA256 (go/audio_waves/waves-v0.1.41/v0.1.41.zip) = 01a4da8847604fdbcfe2ec6b6e1cd35204b8acd630795f60e766356d4a47226f
-SIZE (go/audio_waves/waves-v0.1.41/v0.1.41.zip) = 1810584
+TIMESTAMP = 1772879158
+SHA256 (go/audio_waves/waves-v0.1.42/v0.1.42.mod) = 2973fa6776160fd51808666204dfc7fccd9244d9329d642b7b82e809f7a83f3e
+SIZE (go/audio_waves/waves-v0.1.42/v0.1.42.mod) = 3527
+SHA256 (go/audio_waves/waves-v0.1.42/v0.1.42.zip) = 0c53b5616d1b69f87db9f768d7aeff521ba3b8ba07fa80d4af424715aed33812
+SIZE (go/audio_waves/waves-v0.1.42/v0.1.42.zip) = 1816119
diff --git a/audio/waves/files/patch-internal_mpris_cover.go b/audio/waves/files/patch-internal_mpris_cover.go
new file mode 100644
index 000000000000..c59c0b43730f
--- /dev/null
+++ b/audio/waves/files/patch-internal_mpris_cover.go
@@ -0,0 +1,8 @@
+--- internal/mpris/cover.go.orig	1979-11-29 23:00:00 UTC
++++ internal/mpris/cover.go
+@@ -1,4 +1,4 @@
+-//go:build linux
++//go:build (linux || freebsd)
+ 
+ package mpris
+ 
diff --git a/audio/waves/files/patch-internal_mpris_mpris.go b/audio/waves/files/patch-internal_mpris_mpris.go
new file mode 100644
index 000000000000..1303947d7260
--- /dev/null
+++ b/audio/waves/files/patch-internal_mpris_mpris.go
@@ -0,0 +1,8 @@
+--- internal/mpris/mpris.go.orig	1979-11-29 23:00:00 UTC
++++ internal/mpris/mpris.go
+@@ -1,4 +1,4 @@
+-//go:build linux
++//go:build (linux || freebsd)
+ 
+ package mpris
+ 
diff --git a/audio/waves/files/patch-internal_mpris_mpris__test.go b/audio/waves/files/patch-internal_mpris_mpris__test.go
new file mode 100644
index 000000000000..a7f727f93a0f
--- /dev/null
+++ b/audio/waves/files/patch-internal_mpris_mpris__test.go
@@ -0,0 +1,8 @@
+--- internal/mpris/mpris_test.go.orig	1979-11-29 23:00:00 UTC
++++ internal/mpris/mpris_test.go
+@@ -1,4 +1,4 @@
+-//go:build linux
++//go:build (linux || freebsd)
+ 
+ package mpris
+ 
diff --git a/audio/waves/files/patch-internal_mpris_stub.go b/audio/waves/files/patch-internal_mpris_stub.go
new file mode 100644
index 000000000000..40f2d67d73ce
--- /dev/null
+++ b/audio/waves/files/patch-internal_mpris_stub.go
@@ -0,0 +1,8 @@
+--- internal/mpris/stub.go.orig	1979-11-29 23:00:00 UTC
++++ internal/mpris/stub.go
+@@ -1,4 +1,4 @@
+-//go:build !linux
++//go:build !(linux || freebsd)
+ 
+ package mpris
+ 
diff --git a/audio/waves/files/patch-internal_notify_albumart.go b/audio/waves/files/patch-internal_notify_albumart.go
new file mode 100644
index 000000000000..a5491c16b445
--- /dev/null
+++ b/audio/waves/files/patch-internal_notify_albumart.go
@@ -0,0 +1,8 @@
+--- internal/notify/albumart.go.orig	1979-11-29 23:00:00 UTC
++++ internal/notify/albumart.go
+@@ -1,4 +1,4 @@
+-//go:build linux
++//go:build (linux || freebsd)
+ 
+ package notify
+ 
diff --git a/audio/waves/files/patch-internal_notify_albumart__stub.go b/audio/waves/files/patch-internal_notify_albumart__stub.go
new file mode 100644
index 000000000000..8cb68fe0f718
--- /dev/null
+++ b/audio/waves/files/patch-internal_notify_albumart__stub.go
@@ -0,0 +1,8 @@
+--- internal/notify/albumart_stub.go.orig	1979-11-29 23:00:00 UTC
++++ internal/notify/albumart_stub.go
+@@ -1,4 +1,4 @@
+-//go:build !linux
++//go:build !(linux || freebsd)
+ 
+ package notify
+ 
diff --git a/audio/waves/files/patch-internal_notify_albumart__test.go b/audio/waves/files/patch-internal_notify_albumart__test.go
new file mode 100644
index 000000000000..af7d050d656b
--- /dev/null
+++ b/audio/waves/files/patch-internal_notify_albumart__test.go
@@ -0,0 +1,8 @@
+--- internal/notify/albumart_test.go.orig	1979-11-29 23:00:00 UTC
++++ internal/notify/albumart_test.go
+@@ -1,4 +1,4 @@
+-//go:build linux
++//go:build (linux || freebsd)
+ 
+ package notify
+ 
diff --git a/audio/waves/files/patch-internal_notify_dbus.go b/audio/waves/files/patch-internal_notify_dbus.go
new file mode 100644
index 000000000000..09210e5f2deb
--- /dev/null
+++ b/audio/waves/files/patch-internal_notify_dbus.go
@@ -0,0 +1,8 @@
+--- internal/notify/dbus.go.orig	1979-11-29 23:00:00 UTC
++++ internal/notify/dbus.go
+@@ -1,4 +1,4 @@
+-//go:build linux
++//go:build (linux || freebsd)
+ 
+ package notify
+ 
diff --git a/audio/waves/files/patch-internal_notify_dbus__test.go b/audio/waves/files/patch-internal_notify_dbus__test.go
new file mode 100644
index 000000000000..cae4cd41ca68
--- /dev/null
+++ b/audio/waves/files/patch-internal_notify_dbus__test.go
@@ -0,0 +1,8 @@
+--- internal/notify/dbus_test.go.orig	1979-11-29 23:00:00 UTC
++++ internal/notify/dbus_test.go
+@@ -1,4 +1,4 @@
+-//go:build linux
++//go:build (linux || freebsd)
+ 
+ package notify
+ 
diff --git a/audio/waves/files/patch-internal_notify_stub.go b/audio/waves/files/patch-internal_notify_stub.go
new file mode 100644
index 000000000000..3c0a74ec620e
--- /dev/null
+++ b/audio/waves/files/patch-internal_notify_stub.go
@@ -0,0 +1,8 @@
+--- internal/notify/stub.go.orig	1979-11-29 23:00:00 UTC
++++ internal/notify/stub.go
+@@ -1,4 +1,4 @@
+-//go:build !linux
++//go:build !(linux || freebsd)
+ 
+ package notify
+