mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
audio/zita-resampler: Update to 1.6.2
PR: 231026 Submitted by: Goran Mekić <meka@tilda.center> (maintainer)
This commit is contained in:
parent
4f76c2f04a
commit
1ecd4a2c57
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478648
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= zita-resampler
|
||||
PORTVERSION= 1.6.0
|
||||
PORTVERSION= 1.6.2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
|
||||
|
||||
@ -13,6 +13,6 @@ LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/../COPYING
|
||||
|
||||
USES= gmake tar:bzip2
|
||||
WRKSRC_SUBDIR= libs
|
||||
WRKSRC_SUBDIR= source
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1484153136
|
||||
SHA256 (zita-resampler-1.6.0.tar.bz2) = 10888d76299d8072990939be45d6fc5865f5a45d766d7690819c5899d2a588f0
|
||||
SIZE (zita-resampler-1.6.0.tar.bz2) = 126427
|
||||
TIMESTAMP = 1535358067
|
||||
SHA256 (zita-resampler-1.6.2.tar.bz2) = 233baefee297094514bfc9063e47f848e8138dc7c959d9cd957b36019b98c5d7
|
||||
SIZE (zita-resampler-1.6.2.tar.bz2) = 125539
|
||||
|
@ -1,65 +1,51 @@
|
||||
--- Makefile.orig 2015-10-02 14:59:52 UTC
|
||||
--- Makefile.orig 2018-08-24 18:41:47 UTC
|
||||
+++ Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (C) 2006-2012 Fons Adriaensen <fons@linuxaudio.org>
|
||||
# Copyright (C) 2006-2018 Fons Adriaensen <fons@linuxaudio.org>
|
||||
-#
|
||||
+#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
@@ -20,8 +20,8 @@
|
||||
@@ -20,10 +20,9 @@
|
||||
|
||||
# Modify as required.
|
||||
#
|
||||
-PREFIX = /usr/local
|
||||
-SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
|
||||
+PREFIX ?= /usr/local
|
||||
+SUFFIX =
|
||||
LIBDIR = lib$(SUFFIX)
|
||||
PREFIX ?= /usr/local
|
||||
INCDIR ?= $(PREFIX)/include
|
||||
-LIBDIR ?= $(PREFIX)/lib$(SUFFIX)
|
||||
+LIBDIR ?= $(PREFIX)/lib
|
||||
|
||||
MAJVERS = 1
|
||||
@@ -31,10 +31,7 @@ DISTDIR = zita-resampler-$(VERSION)
|
||||
|
||||
|
||||
MINVERS = 6.2
|
||||
@@ -34,7 +33,7 @@ DISTDIR = zita-resampler-$(VERSION)
|
||||
CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
|
||||
-CXXFLAGS += -Wall -fPIC -O2 -ffast-math
|
||||
-CXXFLAGS += -march=native
|
||||
CXXFLAGS += -Wall -fPIC -O2 -ffast-math
|
||||
CXXFLAGS += -march=native
|
||||
-LDFLAGS +=
|
||||
-LDLIBS +=
|
||||
+CXXFLAGS += -Wall -fPIC
|
||||
+LDFLAGS +=
|
||||
LDLIBS +=
|
||||
|
||||
|
||||
ZITA-RESAMPLER_SO = libzita-resampler.so
|
||||
@@ -46,8 +43,10 @@ ZITA-RESAMPLER_H = zita-resampler/resamp
|
||||
@@ -46,6 +45,7 @@ ZITA-RESAMPLER_O = resampler.o vresample
|
||||
ZITA-RESAMPLER_H = zita-resampler/resampler.h zita-resampler/resampler-table.h \
|
||||
zita-resampler/vresampler.h zita-resampler/cresampler.h
|
||||
|
||||
|
||||
+all: $(ZITA-RESAMPLER_MIN)
|
||||
+
|
||||
|
||||
$(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O)
|
||||
- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
|
||||
+ ${CXX} -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
|
||||
|
||||
$(ZITA-RESAMPLER_O): $(ZITA-RESAMPLER_H)
|
||||
|
||||
@@ -55,10 +54,10 @@ $(ZITA-RESAMPLER_O): $(ZITA-RESAMPLER_H)
|
||||
$(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
|
||||
@@ -56,8 +56,8 @@ $(ZITA-RESAMPLER_O): $(ZITA-RESAMPLER_H)
|
||||
install: $(ZITA-RESAMPLER_MIN)
|
||||
install -d $(DESTDIR)$(PREFIX)/include/zita-resampler
|
||||
install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)
|
||||
- install -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(PREFIX)/include/zita-resampler
|
||||
- install -m 644 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)
|
||||
+ ${BSD_INSTALL_DATA} $(ZITA-RESAMPLER_H) $(DESTDIR)$(PREFIX)/include/zita-resampler
|
||||
+ ${BSD_INSTALL_LIB} $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)
|
||||
ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-RESAMPLER_SO)
|
||||
- ldconfig
|
||||
+ ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-RESAMPLER_MAJ)
|
||||
install -d $(DESTDIR)$(INCDIR)/zita-resampler
|
||||
install -d $(DESTDIR)$(LIBDIR)
|
||||
- install -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(INCDIR)/zita-resampler
|
||||
- install -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)
|
||||
+ ${BSD_INSTALL_DATA} -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(INCDIR)/zita-resampler
|
||||
+ ${BSD_INSTALL_LIB} -m 755 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)
|
||||
ldconfig
|
||||
ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-RESAMPLER_SO)
|
||||
|
||||
uninstall:
|
||||
/bin/rm -rf $(DESTDIR)$(PREFIX)/include/zita-resampler
|
||||
@@ -66,4 +65,3 @@ uninstall:
|
||||
|
||||
clean:
|
||||
/bin/rm -rf *~ *.o *.a *.d *.so.* zita-resampler/*~
|
||||
-
|
||||
|
@ -3,5 +3,4 @@ include/zita-resampler/resampler-table.h
|
||||
include/zita-resampler/resampler.h
|
||||
include/zita-resampler/vresampler.h
|
||||
lib/libzita-resampler.so
|
||||
lib/libzita-resampler.so.1
|
||||
lib/libzita-resampler.so.1.6.0
|
||||
lib/libzita-resampler.so.1.6.2
|
||||
|
Loading…
Reference in New Issue
Block a user