diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile index 1bb47a7bafe..6161a2fcc32 100644 --- a/audio/libsamplerate/Makefile +++ b/audio/libsamplerate/Makefile @@ -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 # 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 diff --git a/audio/libsamplerate/distinfo b/audio/libsamplerate/distinfo index 056f385ec02..724d690bbf3 100644 --- a/audio/libsamplerate/distinfo +++ b/audio/libsamplerate/distinfo @@ -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 diff --git a/audio/libsamplerate/pkg/PLIST b/audio/libsamplerate/pkg/PLIST index a71f66d70d0..20301612a06 100644 --- a/audio/libsamplerate/pkg/PLIST +++ b/audio/libsamplerate/pkg/PLIST @@ -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