mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add libsamplerate 0.0.14, secret Rabbit Code is a Sample Rate
Converter for audio. PR: 47821 Submitted by: David Magda <dmagda+fbugs@ee.ryerson.ca>
This commit is contained in:
parent
2098e4c2fc
commit
324cdfefce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74570
@ -121,6 +121,7 @@
|
||||
SUBDIR += libcdaudio
|
||||
SUBDIR += libmikmod
|
||||
SUBDIR += libogg
|
||||
SUBDIR += libsamplerate
|
||||
SUBDIR += libshout
|
||||
SUBDIR += libshout2
|
||||
SUBDIR += libsidplay
|
||||
|
46
audio/libsamplerate/Makefile
Normal file
46
audio/libsamplerate/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: libsamplerate
|
||||
# Date created: 2 February 2003
|
||||
# Whom: <dmagda+libsamplerate@ee.ryerson.ca>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libsamplerate
|
||||
PORTVERSION= 0.0.14
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://www.mega-nerd.com/SRC/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile
|
||||
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ARGS= --disable-gcc-pipe
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
CONFIGURE_ARGS+= --enable-debug
|
||||
.endif
|
||||
|
||||
PORTDOCS= SRC.png SRC.css index.html license.html history.html \
|
||||
download.html lists.html quality.html win32.html \
|
||||
api.html api_simple.html api_full.html api_misc.html
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
audio/libsamplerate/distinfo
Normal file
1
audio/libsamplerate/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libsamplerate-0.0.14.tar.gz) = 485a6e19d6ee0c5edf65e7be9ae02422
|
13
audio/libsamplerate/files/patch-configure
Normal file
13
audio/libsamplerate/files/patch-configure
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- configure 2003/02/03 12:25:06 1.1
|
||||
+++ configure 2003/02/03 12:25:19
|
||||
@@ -7849,6 +7849,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
1
audio/libsamplerate/pkg-comment
Normal file
1
audio/libsamplerate/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Secret Rabbit Code is a Sample Rate Converter for audio
|
10
audio/libsamplerate/pkg-descr
Normal file
10
audio/libsamplerate/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
|
||||
audio.
|
||||
|
||||
SRC is capable of arbitrary and time varying conversions ; from
|
||||
downsampling by a factor of 12 to upsampling by the same factor.
|
||||
Arbitrary in this case means that the ratio of input and output sample
|
||||
rates can be an irrational number. The conversion ratio can also vary
|
||||
with time for speeding up and slowing down effects.
|
||||
|
||||
WWW: http://www.mega-nerd.com/SRC/
|
20
audio/libsamplerate/pkg-plist
Normal file
20
audio/libsamplerate/pkg-plist
Normal file
@ -0,0 +1,20 @@
|
||||
bin/sndfile-resample
|
||||
include/samplerate.h
|
||||
lib/libsamplerate.a
|
||||
lib/libsamplerate.so
|
||||
lib/libsamplerate.so.0
|
||||
libdata/pkgconfig/samplerate.pc
|
||||
%%PORTDOCS%%share/doc/libsamplerate/SRC.png
|
||||
%%PORTDOCS%%share/doc/libsamplerate/SRC.css
|
||||
%%PORTDOCS%%share/doc/libsamplerate/index.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/license.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/history.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/download.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/lists.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/quality.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/win32.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/api.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/api_simple.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/api_full.html
|
||||
%%PORTDOCS%%share/doc/libsamplerate/api_misc.html
|
||||
@dirrm %%PORTDOCS%%share/doc/libsamplerate
|
Loading…
Reference in New Issue
Block a user