git: 24dc5f45b7ba - main - audio/pcaudiolib: fetch GitHub release

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Fri, 15 Jul 2022 14:37:27 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=24dc5f45b7baa279b8b92ca66065417045d9908c

commit 24dc5f45b7baa279b8b92ca66065417045d9908c
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-07-15 14:34:04 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-07-15 14:36:23 +0000

    audio/pcaudiolib: fetch GitHub release
    
    No functional change, therefore no bump of PORTREVISION.
---
 audio/pcaudiolib/Makefile | 7 ++++---
 audio/pcaudiolib/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/audio/pcaudiolib/Makefile b/audio/pcaudiolib/Makefile
index dee679ab30ff..8478cab43e50 100644
--- a/audio/pcaudiolib/Makefile
+++ b/audio/pcaudiolib/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	pcaudiolib
 DISTVERSION=	1.2
 CATEGORIES=	audio
+MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/${PORTVERSION}/
 
 MAINTAINER=	se@FreeBSD.org
 COMMENT=	Portable C audio library
@@ -9,13 +10,13 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		autoreconf libtool pkgconfig
-USE_GITHUB=	yes
+#USE_GITHUB=	yes
 GH_ACCOUNT=	espeak-ng
 GNU_CONFIGURE=	yes
 
 OPTIONS_DEFAULT=	OSS
-OPTIONS_MULTI=		Backend
-OPTIONS_MULTI_Backend=	ALSA OSS PULSEAUDIO
+OPTIONS_MULTI=		BACKEND
+OPTIONS_MULTI_BACKEND=	ALSA OSS PULSEAUDIO
 
 ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
diff --git a/audio/pcaudiolib/distinfo b/audio/pcaudiolib/distinfo
index 9781e9225172..3ec091061c00 100644
--- a/audio/pcaudiolib/distinfo
+++ b/audio/pcaudiolib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657291568
-SHA256 (espeak-ng-pcaudiolib-1.2_GH0.tar.gz) = 44b9d509b9eac40a0c61585f756d76a7b555f732e8b8ae4a501c8819c59c6619
-SIZE (espeak-ng-pcaudiolib-1.2_GH0.tar.gz) = 34310
+TIMESTAMP = 1657546946
+SHA256 (pcaudiolib-1.2.tar.gz) = 6fae11e87425482acbb12c4e001282d329be097074573060f893349255d3664b
+SIZE (pcaudiolib-1.2.tar.gz) = 377066