aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2021-10-13 00:21:23 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2021-10-13 15:14:24 +0000
commit5e05ddcf5f096c2e9c970c12344a6dcaff47978a (patch)
treedb6a27f7493d40f3eb50ea138c16c382ade85e3c
parent6147179016a67da893ace8f2df6d8c89e56ad0bb (diff)
downloadports-5e05ddcf5f096c2e9c970c12344a6dcaff47978a.tar.gz
ports-5e05ddcf5f096c2e9c970c12344a6dcaff47978a.zip
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.
-rw-r--r--audio/alsa-lib/Makefile11
-rw-r--r--audio/alsa-lib/distinfo6
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