From owner-svn-ports-all@freebsd.org Tue Jan 31 17:33:08 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41504CCA494; Tue, 31 Jan 2017 17:33:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 161ECD93; Tue, 31 Jan 2017 17:33:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0VHX7AQ087634; Tue, 31 Jan 2017 17:33:07 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0VHX6fB087628; Tue, 31 Jan 2017 17:33:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201701311733.v0VHX6fB087628@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 31 Jan 2017 17:33:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432939 - in head/audio: . zita-resampler zita-resampler/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2017 17:33:08 -0000 Author: amdmi3 Date: Tue Jan 31 17:33:06 2017 New Revision: 432939 URL: https://svnweb.freebsd.org/changeset/ports/432939 Log: Zita-resampler is a C++ library for resampling audio signals. It is designed to be used within a real-time processing context, to be fast, and to provide high-quality sample rate conversion. The library operates on signals represented in single-precision floating point format. For multichannel operation both the input and output signals are assumed to be stored as interleaved samples. The API allows a trade-off between quality and CPU load. For the latter a range of approximately 1:6 is available. Even at the highest quality setting libzita-resampler will be faster than most similar libraries providing the same quality, e.g. libsamplerate. WWW: http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html PR: 215981 Submitted by: meka@tilda.center Added: head/audio/zita-resampler/ head/audio/zita-resampler/Makefile (contents, props changed) head/audio/zita-resampler/distinfo (contents, props changed) head/audio/zita-resampler/files/ head/audio/zita-resampler/files/patch-Makefile (contents, props changed) head/audio/zita-resampler/pkg-descr (contents, props changed) head/audio/zita-resampler/pkg-plist (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Tue Jan 31 16:59:19 2017 (r432938) +++ head/audio/Makefile Tue Jan 31 17:33:06 2017 (r432939) @@ -852,6 +852,7 @@ SUBDIR += xwave SUBDIR += yell SUBDIR += zinf + SUBDIR += zita-resampler SUBDIR += zynaddsubfx .include Added: head/audio/zita-resampler/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/zita-resampler/Makefile Tue Jan 31 17:33:06 2017 (r432939) @@ -0,0 +1,18 @@ +# Created by: Goran Mekić +# $FreeBSD$ + +PORTNAME= zita-resampler +PORTVERSION= 1.6.0 +CATEGORIES= audio +MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/ + +MAINTAINER= meka@tilda.center +COMMENT= C++ library for resampling audio signals + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/../COPYING + +USES= gmake tar:bzip2 +WRKSRC_SUBDIR= libs + +.include Added: head/audio/zita-resampler/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/zita-resampler/distinfo Tue Jan 31 17:33:06 2017 (r432939) @@ -0,0 +1,3 @@ +TIMESTAMP = 1484153136 +SHA256 (zita-resampler-1.6.0.tar.bz2) = 10888d76299d8072990939be45d6fc5865f5a45d766d7690819c5899d2a588f0 +SIZE (zita-resampler-1.6.0.tar.bz2) = 126427 Added: head/audio/zita-resampler/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/zita-resampler/files/patch-Makefile Tue Jan 31 17:33:06 2017 (r432939) @@ -0,0 +1,65 @@ +--- Makefile.orig 2015-10-02 14:59:52 UTC ++++ Makefile +@@ -1,7 +1,7 @@ + # ---------------------------------------------------------------------------- + # + # Copyright (C) 2006-2012 Fons Adriaensen +-# ++# + # 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 @@ + + # 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) + + MAJVERS = 1 +@@ -31,10 +31,7 @@ DISTDIR = zita-resampler-$(VERSION) + + + CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS +-CXXFLAGS += -Wall -fPIC -O2 -ffast-math +-CXXFLAGS += -march=native +-LDFLAGS += +-LDLIBS += ++CXXFLAGS += -Wall -fPIC + + + ZITA-RESAMPLER_SO = libzita-resampler.so +@@ -46,8 +43,10 @@ ZITA-RESAMPLER_H = zita-resampler/resamp + 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) + 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) + + uninstall: + /bin/rm -rf $(DESTDIR)$(PREFIX)/include/zita-resampler +@@ -66,4 +65,3 @@ uninstall: + + clean: + /bin/rm -rf *~ *.o *.a *.d *.so.* zita-resampler/*~ +- Added: head/audio/zita-resampler/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/zita-resampler/pkg-descr Tue Jan 31 17:33:06 2017 (r432939) @@ -0,0 +1,14 @@ +Zita-resampler is a C++ library for resampling audio signals. It is designed to +be used within a real-time processing context, to be fast, and to provide +high-quality sample rate conversion. + +The library operates on signals represented in single-precision floating point +format. For multichannel operation both the input and output signals are assumed +to be stored as interleaved samples. + +The API allows a trade-off between quality and CPU load. For the latter a range +of approximately 1:6 is available. Even at the highest quality setting +libzita-resampler will be faster than most similar libraries providing the same +quality, e.g. libsamplerate. + +WWW: http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html Added: head/audio/zita-resampler/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/zita-resampler/pkg-plist Tue Jan 31 17:33:06 2017 (r432939) @@ -0,0 +1,7 @@ +include/zita-resampler/cresampler.h +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