git: 9ec30cdc0a8f - main - audio/shortwave: depend on pulseaudio by default
Jan Beich
jbeich at FreeBSD.org
Wed Sep 1 12:57:28 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9ec30cdc0a8f5dc7e7ef12a081a2d4f08e23fc1f
commit 9ec30cdc0a8f5dc7e7ef12a081a2d4f08e23fc1f
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-09-01 12:07:49 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-09-01 12:56:23 +0000
audio/shortwave: depend on pulseaudio by default
According to upstream: "Shortwave requires pulseaudio or pipewire
running. Everything else is not supported." complicated by
https://gitlab.gnome.org/World/Shortwave/-/commit/f38f79b8f3eb
---
audio/shortwave/Makefile | 7 ++++++-
audio/shortwave/pkg-message | 9 ---------
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/audio/shortwave/Makefile b/audio/shortwave/Makefile
index 41c05b1daf9f..07f8066f330a 100644
--- a/audio/shortwave/Makefile
+++ b/audio/shortwave/Makefile
@@ -1,6 +1,6 @@
PORTNAME= shortwave
DISTVERSION= 2.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MAINTAINER= jbeich at FreeBSD.org
@@ -305,6 +305,11 @@ CARGO_BUILD= no
CARGO_INSTALL= no
CARGO_TEST= no
+OPTIONS_DEFINE= PULSEAUDIO
+OPTIONS_DEFAULT=PULSEAUDIO
+
+PULSEAUDIO_USE= GSTREAMER1=pulse
+
pre-patch:
# Chase gtk-rs -> gtk3-rs rename for USES=cargo patching
@${GREP} --include='*/Cargo.toml' -lr 'git.*gtk-rs' ${WRKDIR} | ${XARGS} ${REINPLACE_CMD} \
diff --git a/audio/shortwave/pkg-message b/audio/shortwave/pkg-message
deleted file mode 100644
index 2fff31542c03..000000000000
--- a/audio/shortwave/pkg-message
+++ /dev/null
@@ -1,9 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Known issues:
-- Requires `pkg install gstreamer1-plugins-pulse` + `pulseaudio &` to avoid
- https://gitlab.gnome.org/World/Shortwave/-/issues/602
-EOM
-}
-]
More information about the dev-commits-ports-all
mailing list