Date: Sun, 2 Feb 2003 16:32:25 -0500 (EST) From: David Magda <dmagda+fbugs@magda.ca> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47821: audio/libsamplerate: new port Message-ID: <200302022132.h12LWPQY006962@number6.magda.ca>
next in thread | raw e-mail | index | archive | help
>Number: 47821 >Category: ports >Synopsis: audio/libsamplerate: new port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Feb 02 13:40:10 PST 2003 >Closed-Date: >Last-Modified: >Originator: David Magda >Release: FreeBSD 4.7-STABLE i386 >Organization: We're organized >Environment: System: FreeBSD number6.magda.ca 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Dec 27 10:36:12 EST 2002 dave@number6.magda.ca:/usr/obj/usr/src/sys/MYKERNELE i386 >Description: The audio/sweep port is really old (2+ years), and is at version 0.1.1. The current version is 0.8.0. The newest version however needs some new libaries that aren't in the Ports tree. This is one of those libraries: I will hopefully be able to update the audio/sweep in the near future (as time allows) but need to add this port as a dependency first. >How-To-Repeat: N/A: this adds a new port >Fix: Create the directory audio/libsamplerate, and execute the attached shar(1) script to setup the port. This works on both a 4-STABLE and 5-CURRENT systems. # 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: # # Makefile # distinfo # pkg-comment # pkg-descr # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# X# New ports collection makefile for: libsamplerate X# Date created: 2 February 2003 X# Whom: <dmagda+libsamplerate@ee.ryerson.ca> X# X# $FreeBSD$ X# X XPORTNAME= libsamplerate XPORTVERSION= 0.0.14 XCATEGORIES= audio X XMASTER_SITES= http://www.mega-nerd.com/SRC/ X XMAINTAINER= ports@FreeBSD.org X XBUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig XRUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig XLIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile X XUSE_REINPLACE= yes XUSE_LIBTOOL= yes XHAS_CONFIGURE= yes XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ARGS+= --disable-gcc-pipe XINSTALLS_SHLIB= yes X XPORTDOCS= SRC.png SRC.css index.html license.html history.html \ X download.html lists.html quality.html win32.html \ X api.html api_simple.html api_full.html api_misc.html X Xpost-patch: X @${REINPLACE_CMD} -e \ X 's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \ X ${WRKSRC}/Makefile.in X X.if defined(WITH_DEBUG) XCONFIGURE_ARGS+= --enable-debug X.endif X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> X END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (libsamplerate-0.0.14.tar.gz) = 485a6e19d6ee0c5edf65e7be9ae02422 END-of-distinfo echo x - pkg-comment sed 's/^X//' >pkg-comment << 'END-of-pkg-comment' XSecret Rabbit Code is a Sample Rate Converter for audio END-of-pkg-comment echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XSecret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for Xaudio. X XSRC is capable of arbitrary and time varying conversions ; from Xdownsampling by a factor of 12 to upsampling by the same factor. XArbitrary in this case means that the ratio of input and output sample Xrates can be an irrational number. The conversion ratio can also vary Xwith time for speeding up and slowing down effects. X XWWW: http://www.mega-nerd.com/SRC/ X END-of-pkg-descr echo x - pkg-plist sed 's/^X//' >pkg-plist << 'END-of-pkg-plist' Xbin/sndfile-resample Xinclude/samplerate.h Xlib/libsamplerate.a Xlib/libsamplerate.la Xlib/libsamplerate.so Xlib/libsamplerate.so.0 Xlibdata/pkgconfig/samplerate.pc X%%PORTDOCS%%share/doc/libsamplerate/SRC.png X%%PORTDOCS%%share/doc/libsamplerate/SRC.css X%%PORTDOCS%%share/doc/libsamplerate/index.html X%%PORTDOCS%%share/doc/libsamplerate/license.html X%%PORTDOCS%%share/doc/libsamplerate/history.html X%%PORTDOCS%%share/doc/libsamplerate/download.html X%%PORTDOCS%%share/doc/libsamplerate/lists.html X%%PORTDOCS%%share/doc/libsamplerate/quality.html X%%PORTDOCS%%share/doc/libsamplerate/win32.html X%%PORTDOCS%%share/doc/libsamplerate/api.html X%%PORTDOCS%%share/doc/libsamplerate/api_simple.html X%%PORTDOCS%%share/doc/libsamplerate/api_full.html X%%PORTDOCS%%share/doc/libsamplerate/api_misc.html X@dirrm %%PORTDOCS%%share/doc/libsamplerate END-of-pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302022132.h12LWPQY006962>