Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2021 12:57:27 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9ec30cdc0a8f - main - audio/shortwave: depend on pulseaudio by default
Message-ID:  <202109011257.181CvREK006712@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ec30cdc0a8f5dc7e7ef12a081a2d4f08e23fc1f

commit 9ec30cdc0a8f5dc7e7ef12a081a2d4f08e23fc1f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-09-01 12:07:49 +0000
Commit:     Jan Beich <jbeich@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@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
-}
-]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109011257.181CvREK006712>