git: 5e05ddcf5f09 - main - audio/alsa-lib: Switch master site to GitHub.

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 15:14:29 UTC
The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e05ddcf5f096c2e9c970c12344a6dcaff47978a

commit 5e05ddcf5f096c2e9c970c12344a6dcaff47978a
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2021-10-13 00:21:23 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2021-10-13 15:14:24 +0000

    audio/alsa-lib: Switch master site to GitHub.
    
    The original distfiles are getting hard to come by for some reason, so
    switch to pulling source tarballs directly from GitHub.
---
 audio/alsa-lib/Makefile | 11 ++++++++---
 audio/alsa-lib/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile
index 07fc6d39cc5b..056a345a594b 100644
--- a/audio/alsa-lib/Makefile
+++ b/audio/alsa-lib/Makefile
@@ -2,16 +2,21 @@
 
 PORTNAME=	alsa-lib
 PORTVERSION=	1.2.2
+PORTREVISION=	1
+DISTVERSIONPREFIX=	v
 CATEGORIES=	audio
-MASTER_SITES=	ftp://ftp.alsa-project.org/pub/lib/ \
-		GENTOO
+MASTER_SITES=	GH
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	alsa-project
+GH_PROJECT=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	ALSA compatibility library
 
 LICENSE=	LGPL21+
 
-USES=		cpe libtool:keepla tar:bzip2
+USES=		autoreconf cpe libtool:keepla tar:bzip2
 CPE_VENDOR=	alsa-project
 CPE_PRODUCT=	alsa
 USE_LDCONFIG=	yes
diff --git a/audio/alsa-lib/distinfo b/audio/alsa-lib/distinfo
index 5edbc1a47022..2e5d1eeeb2e5 100644
--- a/audio/alsa-lib/distinfo
+++ b/audio/alsa-lib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615528054
-SHA256 (alsa-lib-1.2.2.tar.bz2) = d8e853d8805574777bbe40937812ad1419c9ea7210e176f0def3e6ed255ab3ec
-SIZE (alsa-lib-1.2.2.tar.bz2) = 1030747
+TIMESTAMP = 1634081449
+SHA256 (alsa-project-alsa-lib-v1.2.2_GH0.tar.gz) = ad4fa29e3927c5bec0f71b24b6a88523f4e386905341fc9047abef5744805023
+SIZE (alsa-project-alsa-lib-v1.2.2_GH0.tar.gz) = 780688