1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

Update to upstream release 1.0.29

PR:		248665
Submitted by:	daniel.engberg.lists@pyret.net
Reviewed by:	tcberner
MFH:		2020Q3 (hat: ports-secteam)
This commit is contained in:
Thomas Zander 2020-09-10 10:08:58 +00:00
parent 86fe8fdf38
commit 032412ef7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548196
4 changed files with 13 additions and 36 deletions

View File

@ -2,8 +2,9 @@
# $FreeBSD$
PORTNAME= libsndfile
DISTVERSION= 1.0.29pre.20200620
DISTVERSION= 1.0.29
CATEGORIES= audio
MASTER_SITES= https://github.com/erikd/${PORTNAME}/releases/download/v1.0.29/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
@ -11,23 +12,26 @@ COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake cpe localbase pkgconfig python:build,test shebangfix
USES= cmake cpe localbase pkgconfig python:build,test shebangfix \
tar:bz2
SHEBANG_FILES= programs/test-sndfile-metadata-set.py \
src/binheader_writef_check.py \
src/create_symbols_file.py
CPE_VENDOR= ${CPE_PRODUCT}_project
USE_GITHUB= yes
GH_ACCOUNT= erikd
GH_TAGNAME= 2ccb23f
USE_LDCONFIG= yes
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA:BOOL=True \
-DCMAKE_DISABLE_FIND_PACKAGE_Sndio:BOOL=True \
-DCMAKE_DISABLE_FIND_PACKAGE_Speex:BOOL=True \
-DCMAKE_DISABLE_FIND_PACKAGE_SQLite3:BOOL=True
OPTIONS_DEFINE= DOCS EXTERNAL STATIC TEST
OPTIONS_SUB= yes
OPTIONS_DEFAULT= EXTERNAL
EXTERNAL_DESC= Enable FLAC, Ogg Vorbis, Opus support
TEST_DESC= Build tests (forces static library only)
TEST_IMPLIES= STATIC
EXTERNAL_LIB_DEPENDS= libFLAC.so:audio/flac \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1595853607
SHA256 (erikd-libsndfile-1.0.29pre.20200620-2ccb23f_GH0.tar.gz) = 70fee769ab60c579090edf5a43a4959a71feb14f0e531394f4e1c1a9741258c3
SIZE (erikd-libsndfile-1.0.29pre.20200620-2ccb23f_GH0.tar.gz) = 721895
TIMESTAMP = 1598210411
SHA256 (libsndfile-1.0.29.tar.bz2) = 2ba20d44817c8176f097ab25eff44ef0aeec9e00973def5a7174c5ae0764b22f
SIZE (libsndfile-1.0.29.tar.bz2) = 831090

View File

@ -1,13 +0,0 @@
--- CMakeLists.txt.orig 2020-07-23 12:41:43 UTC
+++ CMakeLists.txt
@@ -74,8 +74,8 @@ cmake_dependent_option (ENABLE_COMPATIBLE_LIBSNDFILE_N
set (HAVE_EXTERNAL_XIPH_LIBS ${ENABLE_EXTERNAL_LIBS})
set (HAVE_SQLITE3 ${BUILD_REGTEST})
-set (HAVE_ALSA_ASOUNDLIB_H ${ALSA_FOUND})
-set (HAVE_SNDIO_H ${SNDIO_FOUND})
+set (HAVE_ALSA_ASOUNDLIB_H 0)
+set (HAVE_SNDIO_H 0)
set (ENABLE_EXPERIMENTAL_CODE ${ENABLE_EXPERIMENTAL})
set (HAVE_SPEEX ${ENABLE_EXPERIMENTAL})

View File

@ -1,14 +0,0 @@
--- cmake/SndFileChecks.cmake.orig 2020-06-20 08:18:11 UTC
+++ cmake/SndFileChecks.cmake
@@ -22,11 +22,6 @@ else ()
endif ()
set (SF_COUNT_MAX 0x7fffffffffffffffll)
-if (NOT WIN32)
- find_package (ALSA)
- find_package (Sndio)
-endif ()
-
if (VCPKG_TOOLCHAIN AND (NOT CMAKE_VERSION VERSION_LESS 3.15))
set (CMAKE_FIND_PACKAGE_PREFER_CONFIG ON)
endif ()