Summary: | audio/libsamplerate: Update to 0.2.1 and convert to CMake | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Daniel Engberg <diizzy> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-multimedia (Nobody) <multimedia> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | tcberner | ||||
Priority: | --- | Flags: | tcberner:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://github.com/libsndfile/libsamplerate/releases/tag/0.2.1 | ||||||
Attachments: |
|
Moin moin I think you could use CMAKE_DISABLE_FIND_PACKAGE_${foo} instead of some of the patches there. E.g. CMAKE_ON+=CMAKE_DISABLE_FIND_PACKAGE_FLAC Otherwise, it looks fine to me. mfg Tobias Wouldn't that make INTERFACE_LINK_LIBRARIES unhappy? Indeed, I overlooked that part :) I've asked upstream about this issue but I'm a bit confused regarding the reply https://github.com/libsndfile/libsamplerate/issues/146 Thanks for following up upstream with that issue -- I will commit it as is for now, and keep track of the issue upstream. mfg Tobias A commit references this bug: Author: tcberner Date: Wed Feb 10 17:07:45 UTC 2021 New revision: 564879 URL: https://svnweb.freebsd.org/changeset/ports/564879 Log: audio/libsamplerate: Update to 0.2.1 - The build system has been switched to cmake Release Notes: https://github.com/libsndfile/libsamplerate/releases/tag/0.2.1 PR: 253057 Submitted by: daniel.engberg.lists@pyret.net Changes: head/audio/libsamplerate/Makefile head/audio/libsamplerate/distinfo head/audio/libsamplerate/files/patch-cmake_FindSndFile.cmake head/audio/libsamplerate/files/patch-examples_CMakeLists.txt head/audio/libsamplerate/files/patch-examples_audio__out.c head/audio/libsamplerate/files/patch-src_samplerate.h head/audio/libsamplerate/pkg-plist |
Created attachment 221978 [details] Patch for libsamplerate Update libsamplerate to 0.2.1 Convert to CMake Compile and tested on FreeBSD 13.0-CURRENT main-c1-g63f93c7e1 (amd64) (make, make check-plist, make test) Poudriere testport OK 12.2-RELEASE (amd64) Poudriere testport OK 11.4-RELEASE (amd64)