mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
audio/libsamplerate: Update to 0.2.2
Changelog: https://github.com/libsndfile/libsamplerate/releases/tag/0.2.2 Approved by: arrowd (mentor) Differential Revision: <https://reviews.freebsd.org/D31849
This commit is contained in:
parent
5a72b2754b
commit
60dc238514
@ -1,7 +1,7 @@
|
||||
# Created by: <dmagda+libsamplerate@ee.ryerson.ca>
|
||||
|
||||
PORTNAME= libsamplerate
|
||||
DISTVERSION= 0.2.1
|
||||
DISTVERSION= 0.2.2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= https://github.com/libsndfile/${PORTNAME}/releases/download/${DISTVERSION}/
|
||||
|
||||
@ -11,7 +11,7 @@ COMMENT= Secret Rabbit Code: a Sample Rate Converter for audio
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= cmake cpe pkgconfig tar:bz2
|
||||
USES= cmake cpe pkgconfig tar:xz
|
||||
|
||||
CPE_VENDOR= ${CPE_PRODUCT}_project
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1611794308
|
||||
SHA256 (libsamplerate-0.2.1.tar.bz2) = f6323b5e234753579d70a0af27796dde4ebeddf58aae4be598e39b3cee00c90a
|
||||
SIZE (libsamplerate-0.2.1.tar.bz2) = 3747188
|
||||
TIMESTAMP = 1630910419
|
||||
SHA256 (libsamplerate-0.2.2.tar.xz) = 3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893
|
||||
SIZE (libsamplerate-0.2.2.tar.xz) = 3319468
|
||||
|
@ -1,34 +0,0 @@
|
||||
--- examples/CMakeLists.txt.orig 2021-01-28 01:57:53 UTC
|
||||
+++ examples/CMakeLists.txt
|
||||
@@ -1,31 +1,5 @@
|
||||
-find_package(ALSA)
|
||||
-set(HAVE_ALSA ${ALSA_FOUND} PARENT_SCOPE)
|
||||
-# ALSA::ALSA target is exported since CMake >= 3.12, create it for
|
||||
-# old CMake versions
|
||||
-if(ALSA_FOUND)
|
||||
- if(NOT TARGET ALSA::ALSA)
|
||||
- add_library(ALSA::ALSA UNKNOWN IMPORTED)
|
||||
- set_target_properties(ALSA::ALSA PROPERTIES
|
||||
- INTERFACE_INCLUDE_DIRECTORIES "${ALSA_INCLUDE_DIRS}"
|
||||
- IMPORTED_LOCATION "${ALSA_LIBRARIES}")
|
||||
- endif()
|
||||
-endif()
|
||||
-
|
||||
add_executable(timewarp-file timewarp-file.c)
|
||||
target_link_libraries(timewarp-file
|
||||
PRIVATE
|
||||
samplerate
|
||||
$<$<BOOL:${SndFile_FOUND}>:SndFile::sndfile>)
|
||||
-
|
||||
-add_executable(varispeed-play varispeed-play.c audio_out.c audio_out.h)
|
||||
-target_link_libraries(varispeed-play
|
||||
- PRIVATE
|
||||
- samplerate
|
||||
- $<$<BOOL:${SndFile_FOUND}>:SndFile::sndfile>)
|
||||
-if(WIN32)
|
||||
- target_link_libraries(varispeed-play PRIVATE winmm)
|
||||
-elseif(APPLE)
|
||||
- target_link_libraries(varispeed-play PRIVATE "-framework CoreAudio")
|
||||
-elseif(ALSA_FOUND)
|
||||
- target_link_libraries(varispeed-play PRIVATE ALSA::ALSA)
|
||||
-endif()
|
@ -6,7 +6,7 @@ lib/cmake/SampleRate/SampleRateTargets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/SampleRate/SampleRateTargets.cmake
|
||||
lib/libsamplerate.so
|
||||
lib/libsamplerate.so.0
|
||||
lib/libsamplerate.so.0.2.1
|
||||
lib/libsamplerate.so.0.2.2
|
||||
libdata/pkgconfig/samplerate.pc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/SRC.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api.md
|
||||
|
Loading…
Reference in New Issue
Block a user