diff options
author | yuri <yuri@FreeBSD.org> | 2018-08-26 17:49:56 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-08-26 17:49:56 +0800 |
commit | 0b6f20774cfbe241b4906e86a34a045d223c4562 (patch) | |
tree | 91a2c17463cfb1ae65030deade663022e3eee6fc /audio | |
parent | a684d0894dd870772c85de6cd050725da11d1754 (diff) | |
download | freebsd-ports-gnome-0b6f20774cfbe241b4906e86a34a045d223c4562.tar.gz freebsd-ports-gnome-0b6f20774cfbe241b4906e86a34a045d223c4562.tar.zst freebsd-ports-gnome-0b6f20774cfbe241b4906e86a34a045d223c4562.zip |
audio/zita-convolver: Update 4.0.0 -> 4.0.2
Reported by: portscout
Diffstat (limited to 'audio')
-rw-r--r-- | audio/zita-convolver/Makefile | 5 | ||||
-rw-r--r-- | audio/zita-convolver/distinfo | 6 | ||||
-rw-r--r-- | audio/zita-convolver/files/patch-Makefile | 38 |
3 files changed, 25 insertions, 24 deletions
diff --git a/audio/zita-convolver/Makefile b/audio/zita-convolver/Makefile index f3ef9143697c..dcdfd51332f4 100644 --- a/audio/zita-convolver/Makefile +++ b/audio/zita-convolver/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= zita-convolver -DISTVERSION= 4.0.0 -PORTREVISION= 1 +DISTVERSION= 4.0.2 CATEGORIES= audio MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/ @@ -19,7 +18,7 @@ LIB_DEPENDS= libfftw3f.so:math/fftw3-float USES= compiler:c++11-lib gmake localbase:ldflags tar:bz2 USE_LDCONFIG= yes -WRKSRC_SUBDIR= libs +WRKSRC_SUBDIR= source PLIST_FILES= include/zita-convolver.h \ lib/libzita-convolver.so \ diff --git a/audio/zita-convolver/distinfo b/audio/zita-convolver/distinfo index c7d56538917f..9e1a174bde36 100644 --- a/audio/zita-convolver/distinfo +++ b/audio/zita-convolver/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1528521609 -SHA256 (zita-convolver-4.0.0.tar.bz2) = e3186f807dd76befbbb1c009f6bb4f83567b5d3c93b49a71b334034d1171a73b -SIZE (zita-convolver-4.0.0.tar.bz2) = 20268 +TIMESTAMP = 1535269404 +SHA256 (zita-convolver-4.0.2.tar.bz2) = 1245451c52a33ef3476ffc4007a9e100ee282df0648c961be235b6a8ef748e77 +SIZE (zita-convolver-4.0.2.tar.bz2) = 19596 diff --git a/audio/zita-convolver/files/patch-Makefile b/audio/zita-convolver/files/patch-Makefile index b446b5fcf6f8..c631f2ef0ce8 100644 --- a/audio/zita-convolver/files/patch-Makefile +++ b/audio/zita-convolver/files/patch-Makefile @@ -1,43 +1,45 @@ ---- Makefile.orig 2018-05-27 13:46:18 UTC +--- Makefile.orig 2018-08-24 18:41:39 UTC +++ Makefile -@@ -21,8 +21,8 @@ +@@ -20,10 +20,10 @@ + # Modify as required. # - PREFIX = /usr/local -SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') --LIBDIR = lib$(SUFFIX) +#SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') -+LIBDIR = lib + PREFIX ?= /usr/local + INCDIR ?= $(PREFIX)/include +-LIBDIR ?= $(PREFIX)/lib$(SUFFIX) ++LIBDIR ?= $(PREFIX)/lib MAJVERS = 4 -@@ -34,7 +34,7 @@ CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PT +@@ -34,7 +34,7 @@ VERSION = $(MAJVERS).$(MINVERS) + CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS CPPFLAGS += -DENABLE_VECTOR_MODE - CXXFLAGS += -fPIC -Wall - CXXFLAGS += -ffast-math -funroll-loops -O3 + CXXFLAGS += -fPIC -Wall -ffast-math -funroll-loops -O2 -CXXFLAGS += -march=native +#CXXFLAGS += -march=native LDLFAGS += LDLIBS += -@@ -46,9 +46,10 @@ ZITA-CONVOLVER_DEP = -lfftw3f -lpthread +@@ -46,17 +46,18 @@ ZITA-CONVOLVER_DEP = -lfftw3f -lpthread ZITA-CONVOLVER_O = zita-convolver.o ZITA-CONVOLVER_H = zita-convolver.h +all: $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_MIN): $(ZITA-CONVOLVER_O) -- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) -+ ${CXX} -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) + $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) install: $(ZITA-CONVOLVER_MIN) -@@ -57,7 +58,7 @@ install: $(ZITA-CONVOLVER_MIN) - install -m 644 $(ZITA-CONVOLVER_H) $(DESTDIR)$(PREFIX)/include - install -m 755 $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR) - ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_SO) +- install -d $(DESTDIR)$(INCDIR)/include ++ #install -d $(DESTDIR)$(INCDIR)/include + install -d $(DESTDIR)$(LIBDIR) + install -m 644 $(ZITA-CONVOLVER_H) $(DESTDIR)$(INCDIR) + install -m 755 $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR) - ldconfig -+ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_MAJ) ++ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-CONVOLVER_MAJ) + ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-CONVOLVER_SO) - clean: - /bin/rm -f *~ *.o *.a *.d *.so.* + uninstall: |