View | Details | Raw Unified | Return to bug 252497 | Differences between
and this patch

Collapse All | Expand All

(-)b/audio/zita-resampler/Makefile (-2 / +1 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	zita-resampler
4
PORTNAME=	zita-resampler
5
PORTVERSION=	1.6.2
5
PORTVERSION=	1.8.0
6
PORTREVISION=	2
7
CATEGORIES=	audio
6
CATEGORIES=	audio
8
MASTER_SITES=	http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
7
MASTER_SITES=	http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
9
8
(-)b/audio/zita-resampler/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1535358067
1
TIMESTAMP = 1609871294
2
SHA256 (zita-resampler-1.6.2.tar.bz2) = 233baefee297094514bfc9063e47f848e8138dc7c959d9cd957b36019b98c5d7
2
SHA256 (zita-resampler-1.8.0.tar.bz2) = e5744f23c54dd15b3f783a687bd879eee2a690a4545a15b49c4cf037aa464aa2
3
SIZE (zita-resampler-1.6.2.tar.bz2) = 125539
3
SIZE (zita-resampler-1.8.0.tar.bz2) = 131161
(-)b/audio/zita-resampler/files/patch-Makefile (-18 / +6 lines)
Lines 1-14 Link Here
1
--- Makefile.orig	2018-08-24 18:41:47 UTC
1
--- Makefile.orig	2020-12-28 20:09:24 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -1,7 +1,7 @@
4
 # ----------------------------------------------------------------------------
5
 #
6
 #  Copyright (C) 2006-2018 Fons Adriaensen <fons@linuxaudio.org>
7
-#    
8
+#
9
 #  This program is free software; you can redistribute it and/or modify
10
 #  it under the terms of the GNU General Public License as published by
11
 #  the Free Software Foundation; either version 3 of the License, or
12
@@ -20,10 +20,9 @@
3
@@ -20,10 +20,9 @@
13
 
4
 
14
 # Modify as required.
5
 # Modify as required.
Lines 20-36 Link Here
20
+LIBDIR ?= $(PREFIX)/lib
11
+LIBDIR ?= $(PREFIX)/lib
21
 
12
 
22
 MAJVERS = 1
13
 MAJVERS = 1
23
 MINVERS = 6.2
14
 MINVERS = 8.0
24
@@ -33,8 +32,7 @@ DISTDIR = zita-resampler-$(VERSION)
15
@@ -33,7 +32,6 @@ DISTDIR = zita-resampler-$(VERSION)
25
 
26
 CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
16
 CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
17
 CPPFLAGS += -DENABLE_SSE2
27
 CXXFLAGS += -Wall -fPIC -O2 -ffast-math
18
 CXXFLAGS += -Wall -fPIC -O2 -ffast-math
28
-CXXFLAGS += -march=native
19
-CXXFLAGS += -march=native
29
-LDFLAGS += 
20
 LDFLAGS += 
30
+LDFLAGS +=
31
 LDLIBS +=
21
 LDLIBS +=
32
 
22
 
33
 
34
@@ -46,6 +44,7 @@ ZITA-RESAMPLER_O = resampler.o vresampler.o resampler-
23
@@ -46,6 +44,7 @@ ZITA-RESAMPLER_O = resampler.o vresampler.o resampler-
35
 ZITA-RESAMPLER_H = zita-resampler/resampler.h zita-resampler/resampler-table.h \
24
 ZITA-RESAMPLER_H = zita-resampler/resampler.h zita-resampler/resampler-table.h \
36
 	zita-resampler/vresampler.h zita-resampler/cresampler.h
25
 	zita-resampler/vresampler.h zita-resampler/cresampler.h
Lines 39-45 Link Here
39
 
28
 
40
 $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O)
29
 $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O)
41
 	$(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
30
 	$(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
42
@@ -56,9 +55,10 @@ $(ZITA-RESAMPLER_O):	$(ZITA-RESAMPLER_H)
31
@@ -56,9 +55,9 @@ $(ZITA-RESAMPLER_O):	$(ZITA-RESAMPLER_H)
43
 install:	$(ZITA-RESAMPLER_MIN)
32
 install:	$(ZITA-RESAMPLER_MIN)
44
 	install -d $(DESTDIR)$(INCDIR)/zita-resampler
33
 	install -d $(DESTDIR)$(INCDIR)/zita-resampler
45
 	install -d $(DESTDIR)$(LIBDIR)
34
 	install -d $(DESTDIR)$(LIBDIR)
Lines 48-54 Link Here
48
-	ldconfig
37
-	ldconfig
49
+	${BSD_INSTALL_DATA} -m 644 $(ZITA-RESAMPLER_H)   $(DESTDIR)$(INCDIR)/zita-resampler
38
+	${BSD_INSTALL_DATA} -m 644 $(ZITA-RESAMPLER_H)   $(DESTDIR)$(INCDIR)/zita-resampler
50
+	${BSD_INSTALL_LIB} -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)
39
+	${BSD_INSTALL_LIB} -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)
51
+	# ldconfig
52
+	ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_MAJ)
40
+	ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_MAJ)
53
 	ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_SO)
41
 	ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_SO)
54
 
42
 
(-)a/audio/zita-resampler/files/patch-apps_Makefile (-10 lines)
Removed Link Here
1
--- ../apps/Makefile.orig	2018-10-31 16:04:18.214221199 +0000
2
+++ ../apps/Makefile	2018-10-31 16:04:25.590905029 +0000
3
@@ -25,7 +25,6 @@
4
 VERSION = 1.6.0
5
 CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\"
6
 CXXFLAGS += -O2  -ffast-math -Wall
7
-CXXFLAGS += -march=native
8
 
9
 
10
 all:	zresample zretune zresample.1.gz zretune.1.gz
(-)b/audio/zita-resampler/pkg-plist (-1 / +1 lines)
Lines 4-7 include/zita-resampler/resampler.h Link Here
4
include/zita-resampler/vresampler.h
4
include/zita-resampler/vresampler.h
5
lib/libzita-resampler.so
5
lib/libzita-resampler.so
6
lib/libzita-resampler.so.1
6
lib/libzita-resampler.so.1
7
lib/libzita-resampler.so.1.6.2
7
lib/libzita-resampler.so.1.8.0

Return to bug 252497