git: 0f5958c05930 - main - audio/dsbmixer: Update to 2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jan 2024 16:42:21 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f5958c05930ccc08456e1525ea96772f855e9c8
commit 0f5958c05930ccc08456e1525ea96772f855e9c8
Author: Marcel Kaiser <mk@nic-nac-project.org>
AuthorDate: 2024-01-28 17:30:07 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-01-30 16:42:06 +0000
audio/dsbmixer: Update to 2.0
ChangeLog: https://github.com/mrclksr/DSBMixer/releases/tag/2.0
* Major parts of the code have been redesigned.
* Support for controlling the volume of each audio application separately has
been added.
* Support for moving Pulseaudio streams to a new default sound device has been
added.
* Support for setting the default unit check interval has been added.
* Support for defining the number of mouse wheel scroll lines has been added.
* A DBus interface for controlling DSBMixer has been added.
* DSBMixer now uses KStatusNotifierItem instead of QSystemTrayIcon to support
D-Bus StatusNotifierItem and XEmbed system tray icons.
* Support for Qt6 has been added.
* The build system has been changed to CMake.
PR: 276672
Reported by: mk@nic-nac-project.org (maintainer)
---
audio/dsbmixer/Makefile | 23 ++++++++++++++---------
audio/dsbmixer/distinfo | 6 +++---
audio/dsbmixer/pkg-plist | 4 +++-
3 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/audio/dsbmixer/Makefile b/audio/dsbmixer/Makefile
index e0a559c63b14..b4c8dbc9077a 100644
--- a/audio/dsbmixer/Makefile
+++ b/audio/dsbmixer/Makefile
@@ -1,6 +1,5 @@
PORTNAME= dsbmixer
-PORTVERSION= 1.7
-PORTREVISION= 1
+PORTVERSION= 2.0
CATEGORIES= audio
MAINTAINER= mk@nic-nac-project.org
@@ -12,19 +11,25 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= dsbwrtsysctl:sysutils/dsbwrtsysctl
-USES= compiler:c++11-lang gl qmake qt:5 tar:tgz
-USE_GL= gl
-USE_QT= buildtools:build core gui linguisttools:build widgets
+USES= cmake compiler:c++11-lang gl kde:5 qmake qt:5 tar:tgz
USE_GITHUB= yes
GH_ACCOUNT= mrclksr
GH_PROJECT= DSBMixer
-QMAKE_ARGS= PORTS=1
-OPTIONS_DEFINE= DEVD
-OPTIONS_DEFAULT=DEVD
+USE_GL= gl
+USE_KDE= notifications
+USE_QT= core dbus gui widgets buildtools:build linguisttools:build \
+ qmake:build
+
+CMAKE_ON= PORTS
+
+MAKE_ENV+= DESTDIR=${STAGEDIR}
+
+OPTIONS_DEFINE= DEVD
+OPTIONS_DEFAULT= DEVD
DEVD_DESC= Add new USB audio devices at runtime
-DEVD_MAKE_ARGS_OFF= -DWITHOUT_DEVD
+DEVD_CMAKE_OFF= -DWITHOUT_DEVD:BOOL=true
.include <bsd.port.mk>
diff --git a/audio/dsbmixer/distinfo b/audio/dsbmixer/distinfo
index 998e9574305d..7b8eb26d2b09 100644
--- a/audio/dsbmixer/distinfo
+++ b/audio/dsbmixer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1613419102
-SHA256 (mrclksr-DSBMixer-1.7_GH0.tar.gz) = b933ebe3014db49e559574b691449a03ef7d6aa0dc8f5711f02b7eabd6adfee5
-SIZE (mrclksr-DSBMixer-1.7_GH0.tar.gz) = 287799
+TIMESTAMP = 1706199872
+SHA256 (mrclksr-DSBMixer-2.0_GH0.tar.gz) = 6919e47806c40d73694e63389d232517ef2df942f513a9a136778b49622e8a92
+SIZE (mrclksr-DSBMixer-2.0_GH0.tar.gz) = 282995
diff --git a/audio/dsbmixer/pkg-plist b/audio/dsbmixer/pkg-plist
index b08a4adeba78..44023dacc4b8 100644
--- a/audio/dsbmixer/pkg-plist
+++ b/audio/dsbmixer/pkg-plist
@@ -1,6 +1,8 @@
bin/dsbmixer
+bin/dsbmixer-dbus
@(root,wheel,4750) libexec/dsbmixer_backend
-libexec/dsbmixer_restart_pa
+libexec/dsbmixer-pa
share/applications/dsbmixer.desktop
%%DATADIR%%/dsbmixer_de.qm
%%DATADIR%%/dsbmixer_fr.qm
+%%DATADIR%%/dsbmixer_sv.qm