1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

audio/alsa-plugins: 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.  Replace
patches that apply to generated files with patches that apply to their
sources.
This commit is contained in:
Dag-Erling Smørgrav 2021-10-13 00:21:23 +00:00
parent 5e05ddcf5f
commit a4ab68d2ff
4 changed files with 28 additions and 40 deletions

View File

@ -2,10 +2,14 @@
PORTNAME= alsa-plugins
PORTVERSION= 1.2.2
PORTREVISION= 2
PORTREVISION= 3
DISTVERSIONPREFIX= v
CATEGORIES= audio
MASTER_SITES= ftp://ftp.alsa-project.org/pub/plugins/ \
GENTOO
MASTER_SITES= GH
USE_GITHUB= yes
GH_ACCOUNT= alsa-project
GH_PROJECT= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= ALSA compatibility library plugins
@ -14,7 +18,7 @@ LICENSE= LGPL21+
LIB_DEPENDS= libasound.so:audio/alsa-lib
USES= alias libtool:keepla localbase pkgconfig tar:bzip2
USES= alias autoreconf libtool:keepla localbase pkgconfig tar:bzip2
GNU_CONFIGURE= yes
MAKE_ARGS+= RM="${RM}"
EXTRA_PATCHES+= ${FILESDIR}/alsa-plugins.patch

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1585923260
SHA256 (alsa-plugins-1.2.2.tar.bz2) = 1c0f06450c928d711719686c9dbece2d480184f36fab11b8f0534cb7b41e337d
SIZE (alsa-plugins-1.2.2.tar.bz2) = 406494
TIMESTAMP = 1634083456
SHA256 (alsa-project-alsa-plugins-v1.2.2_GH0.tar.gz) = 1872622227c474db9db57bf5b6ec91bbef391f9750e9d64d00d05af29f579e1a
SIZE (alsa-project-alsa-plugins-v1.2.2_GH0.tar.gz) = 121998

View File

@ -1,33 +0,0 @@
--- configure.orig 2016-03-31 13:14:07 UTC
+++ configure
@@ -12402,21 +12402,22 @@ else
$as_echo "yes" >&6; }
HAVE_SPEEXDSP="yes"
fi
- if test "$HAVE_SPEEXDSP" = "yes"; then
- HAVE_SPEEXDSP_TRUE=
- HAVE_SPEEXDSP_FALSE='#'
-else
- HAVE_SPEEXDSP_TRUE='#'
- HAVE_SPEEXDSP_FALSE=
-fi
-
# Check whether --with-speex was given.
if test "${with_speex+set}" = set; then :
withval=$with_speex; PPH=$withval
else
PPH="lib"
+fi
+
+
+ if test "$HAVE_SPEEXDSP" = "yes" -a "$PPH" != "no"; then
+ HAVE_SPEEXDSP_TRUE=
+ HAVE_SPEEXDSP_FALSE='#'
+else
+ HAVE_SPEEXDSP_TRUE='#'
+ HAVE_SPEEXDSP_FALSE=
fi

View File

@ -0,0 +1,17 @@
--- configure.ac.orig 2020-02-19 09:35:42 UTC
+++ configure.ac
@@ -145,12 +145,13 @@ AC_ARG_ENABLE([speexdsp],
if test "x$enable_speexdsp" != "xno"; then
PKG_CHECK_MODULES(speexdsp, [speexdsp >= 1.2rc2], [HAVE_SPEEXDSP="yes"], [HAVE_SPEEXDSP=""])
fi
-AM_CONDITIONAL(HAVE_SPEEXDSP, test "$HAVE_SPEEXDSP" = "yes")
AC_ARG_WITH([speex],
AS_HELP_STRING([--with-speex={builtin|lib|no}],
[build speex resampler (built-in code, link with external lib, or no build)]),
[PPH=$withval], [PPH="lib"])
+
+AM_CONDITIONAL(HAVE_SPEEXDSP, test "$HAVE_SPEEXDSP" = "yes")
USE_LIBSPEEX=""
if test "$PPH" = "lib"; then