update to libsamplerate-0.2.1, from brad

maintainer timeout
This commit is contained in:
sthen 2021-10-22 19:51:02 +00:00
parent edb2b037a0
commit dcf322d4ff
3 changed files with 29 additions and 55 deletions

View File

@ -1,36 +1,27 @@
# $OpenBSD: Makefile,v 1.23 2019/07/12 20:43:35 sthen Exp $
# $OpenBSD: Makefile,v 1.24 2021/10/22 19:51:02 sthen Exp $
COMMENT= audio sample rate conversion library
DISTNAME= libsamplerate-0.1.9
SHARED_LIBS= samplerate 2.1
VER= 0.2.2
DISTNAME= libsamplerate-${VER}
CATEGORIES= audio
EXTRACT_SUFX= .tar.xz
HOMEPAGE= http://mega-nerd.com/SRC/
SHARED_LIBS= samplerate 3.0
HOMEPAGE= http://libsndfile.github.io/libsamplerate/
MAINTAINER= Jan Stary <hans@stare.cz>
# 2-BSD license
PERMIT_PACKAGE= Yes
MASTER_SITES= ${HOMEPAGE}
MASTER_SITES= https://github.com/libsndfile/libsamplerate/releases/download/${VER}/
WANTLIB= FLAC c m ogg sndfile>=1 vorbis vorbisenc
LIB_DEPENDS= audio/libsndfile
WANTLIB= m
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-cpu-clip \
--disable-fftw
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsamplerate
${INSTALL_DATA} ${WRKSRC}/doc/*.css \
${PREFIX}/share/doc/libsamplerate
${INSTALL_DATA} ${WRKSRC}/doc/*.png \
${PREFIX}/share/doc/libsamplerate
${INSTALL_DATA} ${WRKSRC}/doc/*.html \
${PREFIX}/share/doc/libsamplerate
--disable-fftw \
--disable-sndfile
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (libsamplerate-0.1.9.tar.gz) = Cn6xaOLyE1P7bYTaFS5FEhJvfcSMywvoBXjFZUE0RME=
SIZE (libsamplerate-0.1.9.tar.gz) = 4336641
SHA256 (libsamplerate-0.2.2.tar.xz) = MljaKAUR0ktJ1rCGFbvoJNDKzJhCsOTK8RxSzysEOJM=
SIZE (libsamplerate-0.2.2.tar.xz) = 3319468

View File

@ -1,40 +1,23 @@
@comment $OpenBSD: PLIST,v 1.5 2015/05/22 11:31:10 ajacoutot Exp $
@bin bin/sndfile-resample
@comment $OpenBSD: PLIST,v 1.6 2021/10/22 19:51:02 sthen Exp $
include/samplerate.h
lib/libsamplerate.a
@static-lib lib/libsamplerate.a
lib/libsamplerate.la
@lib lib/libsamplerate.so.${LIBsamplerate_VERSION}
lib/pkgconfig/samplerate.pc
share/doc/libsamplerate/
share/doc/libsamplerate/SRC.css
share/doc/libsamplerate/SRC.png
share/doc/libsamplerate/api.html
share/doc/libsamplerate/api_callback.html
share/doc/libsamplerate/api_full.html
share/doc/libsamplerate/api_misc.html
share/doc/libsamplerate/api_simple.html
share/doc/libsamplerate/download.html
share/doc/libsamplerate/faq.html
share/doc/libsamplerate/history.html
share/doc/libsamplerate/index.html
share/doc/libsamplerate/license.html
share/doc/libsamplerate/lists.html
share/doc/libsamplerate/quality.html
share/doc/libsamplerate/win32.html
share/doc/libsamplerate0-dev/
share/doc/libsamplerate0-dev/html/
share/doc/libsamplerate0-dev/html/SRC.css
share/doc/libsamplerate0-dev/html/SRC.png
share/doc/libsamplerate0-dev/html/api.html
share/doc/libsamplerate0-dev/html/api_callback.html
share/doc/libsamplerate0-dev/html/api_full.html
share/doc/libsamplerate0-dev/html/api_misc.html
share/doc/libsamplerate0-dev/html/api_simple.html
share/doc/libsamplerate0-dev/html/download.html
share/doc/libsamplerate0-dev/html/faq.html
share/doc/libsamplerate0-dev/html/history.html
share/doc/libsamplerate0-dev/html/index.html
share/doc/libsamplerate0-dev/html/license.html
share/doc/libsamplerate0-dev/html/lists.html
share/doc/libsamplerate0-dev/html/quality.html
share/doc/libsamplerate0-dev/html/win32.html
share/doc/libsamplerate/api.md
share/doc/libsamplerate/api_callback.md
share/doc/libsamplerate/api_full.md
share/doc/libsamplerate/api_misc.md
share/doc/libsamplerate/api_simple.md
share/doc/libsamplerate/bugs.md
share/doc/libsamplerate/download.md
share/doc/libsamplerate/faq.md
share/doc/libsamplerate/history.md
share/doc/libsamplerate/index.md
share/doc/libsamplerate/license.md
share/doc/libsamplerate/lists.md
share/doc/libsamplerate/quality.md
share/doc/libsamplerate/win32.md