Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2020 18:04:53 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558235 - head/audio/swhplugins
Message-ID:  <202012161804.0BGI4rcC009877@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Dec 16 18:04:53 2020
New Revision: 558235
URL: https://svnweb.freebsd.org/changeset/ports/558235

Log:
  audio/swhplugins: update to 0.4.17
  
  - enable on all architectures, tested to build now on aarch64 and powerpc64
  - upstream moved to GitHub, the port needs to as well,
  - add dependency for textproc/p5-XML-Parser, it's now necessary,
  - add USES=autoreconf, upstream does not provide configure and Makefile,
  - add USES=shebangfix for /usr/bin/perl in makestub.pl's shebang,
  - add USES=localbase:ldflags instead of specifying flags manually,
  - remove post-patch step, it's not necessary now.

Modified:
  head/audio/swhplugins/Makefile
  head/audio/swhplugins/distinfo
  head/audio/swhplugins/pkg-plist

Modified: head/audio/swhplugins/Makefile
==============================================================================
--- head/audio/swhplugins/Makefile	Wed Dec 16 17:55:27 2020	(r558234)
+++ head/audio/swhplugins/Makefile	Wed Dec 16 18:04:53 2020	(r558235)
@@ -2,11 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	swhplugins
-PORTVERSION=	0.4.15
-PORTREVISION=	7
+PORTVERSION=	0.4.17
+DISTVERSIONPREFIX=	v
 CATEGORIES=	audio
-MASTER_SITES=	http://plugin.org.uk/releases/${PORTVERSION}/
-DISTNAME=	swh-plugins-${PORTVERSION}
 
 MAINTAINER=	arved@FreeBSD.org
 COMMENT=	Steve Harris' huge Collection of LADSPA Plugins
@@ -15,16 +13,17 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa \
-		${LOCALBASE}/include/fftw3.h:math/fftw3
+		${LOCALBASE}/include/fftw3.h:math/fftw3 \
+		p5-XML-Parser>=0:textproc/p5-XML-Parser
 LIB_DEPENDS=	libfftw3f.so:math/fftw3-float
 
-# includes assembler code
-ONLY_FOR_ARCHS=	amd64 i386
-USES=		gmake libtool pkgconfig
+USES=		autoreconf gmake libtool localbase:ldflags pkgconfig shebangfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	swh
+GH_PROJECT=	ladspa
+SHEBANG_FILES=	makestub.pl
 
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
 
 CFLAGS+=	-fPIC -DPIC -fgnu89-inline
@@ -41,11 +40,5 @@ NLS_CONFIGURE_ENABLE=	nls
 3DNOW_CONFIGURE_ENABLE=	3dnow
 
 SSE_CONFIGURE_ENABLE=	sse
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|="$$CFLAGS -Wall .*"|="$$CFLAGS"|g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e \
-		's|<stdint\.h>|<inttypes.h>|g' ${WRKSRC}/ladspa-util.h
 
 .include <bsd.port.mk>

Modified: head/audio/swhplugins/distinfo
==============================================================================
--- head/audio/swhplugins/distinfo	Wed Dec 16 17:55:27 2020	(r558234)
+++ head/audio/swhplugins/distinfo	Wed Dec 16 18:04:53 2020	(r558235)
@@ -1,2 +1,3 @@
-SHA256 (swh-plugins-0.4.15.tar.gz) = d05ee8a4f4d92e828412bce3449a034f6ef16bb630eaf60f8fe4e15a89168640
-SIZE (swh-plugins-0.4.15.tar.gz) = 1051623
+TIMESTAMP = 1608128502
+SHA256 (swh-ladspa-v0.4.17_GH0.tar.gz) = d1b090feec4c5e8f9605334b47faaad72db7cc18fe91d792b9161a9e3b821ce7
+SIZE (swh-ladspa-v0.4.17_GH0.tar.gz) = 456472

Modified: head/audio/swhplugins/pkg-plist
==============================================================================
--- head/audio/swhplugins/pkg-plist	Wed Dec 16 17:55:27 2020	(r558234)
+++ head/audio/swhplugins/pkg-plist	Wed Dec 16 18:04:53 2020	(r558235)
@@ -89,6 +89,7 @@ lib/ladspa/transient_1206.so
 lib/ladspa/triple_para_1204.so
 lib/ladspa/valve_1209.so
 lib/ladspa/valve_rect_1405.so
+lib/ladspa/vocoder_1337.so
 lib/ladspa/vynil_1905.so
 lib/ladspa/wave_terrain_1412.so
 lib/ladspa/xfade_1915.so



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