# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # zita-resampler # zita-resampler/files # zita-resampler/files/patch-Makefile # zita-resampler/pkg-descr # zita-resampler/distinfo # zita-resampler/pkg-plist # zita-resampler/Makefile # echo c - zita-resampler mkdir -p zita-resampler > /dev/null 2>&1 echo c - zita-resampler/files mkdir -p zita-resampler/files > /dev/null 2>&1 echo x - zita-resampler/files/patch-Makefile sed 's/^X//' >zita-resampler/files/patch-Makefile << '5d2443a016097028d166fdf17e9eb101' X--- Makefile.orig 2017-01-11 17:09:23 UTC X+++ Makefile X@@ -1,7 +1,7 @@ X # ---------------------------------------------------------------------------- X # X # Copyright (C) 2006-2012 Fons Adriaensen X-# X+# X # This program is free software; you can redistribute it and/or modify X # it under the terms of the GNU General Public License as published by X # the Free Software Foundation; either version 3 of the License, or X@@ -33,7 +33,7 @@ DISTDIR = zita-resampler-$(VERSION) X CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS X CXXFLAGS += -Wall -fPIC -O2 -ffast-math X CXXFLAGS += -march=native X-LDFLAGS += X+LDFLAGS += X LDLIBS += X X X@@ -45,12 +45,12 @@ ZITA-RESAMPLER_O = resampler.o vresample X ZITA-RESAMPLER_H = zita-resampler/resampler.h zita-resampler/resampler-table.h \ X zita-resampler/vresampler.h zita-resampler/cresampler.h X X- X $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O) X- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP) X+ c++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP) X X $(ZITA-RESAMPLER_O): $(ZITA-RESAMPLER_H) X X+all: $(ZITA-RESAMPLER_MIN) X X install: $(ZITA-RESAMPLER_MIN) X install -d $(DESTDIR)$(PREFIX)/include/zita-resampler X@@ -66,4 +66,3 @@ uninstall: X X clean: X /bin/rm -rf *~ *.o *.a *.d *.so.* zita-resampler/*~ X- 5d2443a016097028d166fdf17e9eb101 echo x - zita-resampler/pkg-descr sed 's/^X//' >zita-resampler/pkg-descr << '99c668b309c420355747e7fcca40d75c' XZita-resampler is a C++ library for resampling audio signals. It is designed to Xbe used within a real-time processing context, to be fast, and to provide Xhigh-quality sample rate conversion. X XThe library operates on signals represented in single-precision floating point Xformat. For multichannel operation both the input and output signals are assumed Xto be stored as interleaved samples. X XThe API allows a trade-off between quality and CPU load. For the latter a range Xof approximately 1:6 is available. Even at the highest quality setting Xlibzita-resampler will be faster than most similar libraries providing the same Xquality, e.g. libsamplerate. X XWWW: http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html99c668b309c420355747e7fcca40d75c echo x - zita-resampler/distinfo sed 's/^X//' >zita-resampler/distinfo << '9aae57fa6d461d3990c3c0becd5cc957' XTIMESTAMP = 1484153136 XSHA256 (zita-resampler-1.6.0.tar.bz2) = 10888d76299d8072990939be45d6fc5865f5a45d766d7690819c5899d2a588f0 XSIZE (zita-resampler-1.6.0.tar.bz2) = 126427 9aae57fa6d461d3990c3c0becd5cc957 echo x - zita-resampler/pkg-plist sed 's/^X//' >zita-resampler/pkg-plist << 'a84723304dea164368d2f89bcad18a00' Xinclude/zita-resampler/cresampler.h Xinclude/zita-resampler/resampler-table.h Xinclude/zita-resampler/resampler.h Xinclude/zita-resampler/vresampler.h Xlib/libzita-resampler.so Xlib/libzita-resampler.so.1 Xlib/libzita-resampler.so.1.6.0 a84723304dea164368d2f89bcad18a00 echo x - zita-resampler/Makefile sed 's/^X//' >zita-resampler/Makefile << '7379806560a8d9d223ab60a1cbf6c48e' X# Created by: Goran Mekić X# $FreeBSD$ X XPORTNAME= zita-resampler XPORTVERSION= 1.6.0 XCATEGORIES= audio XMASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/ XWRKSRC_SUBDIR= libs X XMAINTAINER= meka@tilda.center XCOMMENT= C++ library for resampling audio signals. X XLICENSE= GPLv3 XLICENSE_FILE= ${WRKSRC}/COPYING X XUSES= tar:bzip2 gmake X XMY_WORKDIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION} XMY_LIB= ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so X Xpost-extract: X ln -s ${MY_WORKDIR}/COPYING ${MY_WORKDIR}/${WRKSRC_SUBDIR}/COPYING X Xpost-install: X ${MV} ${STAGEDIR}${PREFIX}/libamd64/* ${STAGEDIR}${PREFIX}/lib/ X ln -s lib${PORTNAME}.so ${MY_LIB}.1 X ${RMDIR} ${STAGEDIR}${PREFIX}/libamd64 X X.include 7379806560a8d9d223ab60a1cbf6c48e exit