From nobody Mon Jan 09 13:48:54 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NrFfH21Sqz2r5B2; Mon, 9 Jan 2023 13:48:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NrFfH171Gz3nbX; Mon, 9 Jan 2023 13:48:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673272135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5n4r4B8Ct4ZiSKjIw9kKRjHcjT7M9CF+cTlPfUMJXlU=; b=pspswaZY/GaerSApuXcFuLt8DZTac3wLhw2J3zJwl/5pszJG0oV/8hbd06y7vCSqdXvyLJ qMz6p1YwNV/QCihTEl2raAdEM7hI5awCxQpPl7sTJK4LCnVaKb4UeQ02Ot9ZzItLe4OKfE EaGKmN4KrMOYxWQd3KVj9e+bTpsxLFpFl2BkFO4GT0B9S9Q0Xj1c4RlyV/n74BL7Yy32yJ ay2d4zxX8WheUvYnj17VGiTPKmYXf91Ca7ZiDLsUV+g68bhai6qMPRBsd65PJPLPmbKvpC Z0iCoSs+NnAz7wTsNa2B0rkZz45uAMB3mDps0qi6+U3q/Y9khgQoNMYi0H58dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673272135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5n4r4B8Ct4ZiSKjIw9kKRjHcjT7M9CF+cTlPfUMJXlU=; b=J3+gRlyGDbihXWQ8zLfKk6krRLhGEPWPm+Mxz/3ZF2QnvSwWg2nfZXXPaA2/f8EvNKciIN xFRGk0LUHCqt7S+d9R6Jsz3+iCFM0B3bsg2op5hdsgxroQWUJwk+jlEIJJbNFUR7t35ezi ITbz3Ln8RDRY3aGiDk1CpLoI++btdPMwgqc/NlPAtNHyoD+WdfcuRGb3AjX1BUKclKuDWP g64zUkrFBOiCZnCD0ZtgQz2qCj3nouJIOQJvKb/GFDbEZkl8Y2DFamfIr4TZ+D98z+Yrkj vA5dmPbkbYe2ccbk8rMcefXIEzfSswCPtZM/6vicGDc2pBORz+7is4oJK92B6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673272135; a=rsa-sha256; cv=none; b=vYs3NU0z0cSm4tbkloCQUi+sW+9FKsKzsmGgkfL+JInwasJ3newzr7iLmmKQaOuisJcqZ+ bBCd7zVaB16xyG2bclUHsUyUFmYZZtQYgr4m1fe82HNqnm8YSXHeVJD3VtFW+V2WVaZt3/ IBGnw8iwcOgfa5usTuBbN1S6JlTh7RXd+SnXzQmBeYDLUgiI1lnX9nuVVmvh2seL+FCaOX 7EBm5k/Ns2hcvdXX2GWFKwY8TcEjvPwxSZYv+lSc2GdFQnMhcVO8In37w1XLzbyM4SznM7 y2QrpxFvtFxnwbGerWuEKOd7gEgK0HvGNC9JSBRL7H4IjaJu3y7dRtdzoKJWQg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NrFfH0195zW9d; Mon, 9 Jan 2023 13:48:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 309DmsEl022495; Mon, 9 Jan 2023 13:48:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 309DmseA022494; Mon, 9 Jan 2023 13:48:54 GMT (envelope-from git) Date: Mon, 9 Jan 2023 13:48:54 GMT Message-Id: <202301091348.309DmseA022494@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thomas Zander Subject: git: 4128f4c97631 - main - audio/libsndfile: Update to upstream version 1.2.0, support mp3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: riggs X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4128f4c97631e8ee71369ee11ab11871b7bd204c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by riggs: URL: https://cgit.FreeBSD.org/ports/commit/?id=4128f4c97631e8ee71369ee11ab11871b7bd204c commit 4128f4c97631e8ee71369ee11ab11871b7bd204c Author: Daniel Engberg AuthorDate: 2023-01-09 06:48:21 +0000 Commit: Thomas Zander CommitDate: 2023-01-09 13:48:52 +0000 audio/libsndfile: Update to upstream version 1.2.0, support mp3 PR: 268621 Reported by: diizzy Reviewed by: riggs --- audio/libsndfile/Makefile | 19 ++++++++++--------- audio/libsndfile/distinfo | 8 +++----- audio/libsndfile/pkg-plist | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/audio/libsndfile/Makefile b/audio/libsndfile/Makefile index 20ce566f8010..ed5b9952909e 100644 --- a/audio/libsndfile/Makefile +++ b/audio/libsndfile/Makefile @@ -1,12 +1,8 @@ PORTNAME= libsndfile -DISTVERSION= 1.0.31 -PORTREVISION= 2 +DISTVERSION= 1.2.0 CATEGORIES= audio MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ -PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ -PATCHFILES= cc342f9e45315f9f3de12ae493bc6b3a2bd0a0b1.patch:-p1 - MAINTAINER= multimedia@FreeBSD.org COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF) WWW= http://www.mega-nerd.com/libsndfile/ @@ -14,8 +10,8 @@ WWW= http://www.mega-nerd.com/libsndfile/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake cpe localbase pkgconfig python:build,test shebangfix \ - tar:bz2 +USES= cmake cpe localbase pathfix pkgconfig python:build,test \ + shebangfix tar:xz SHEBANG_FILES= programs/test-sndfile-metadata-set.py \ src/binheader_writef_check.py \ src/create_symbols_file.py @@ -32,21 +28,26 @@ CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA:BOOL=True \ OPTIONS_DEFINE= DOCS EXTERNAL MANPAGES STATIC TEST OPTIONS_SUB= yes OPTIONS_DEFAULT= EXTERNAL -EXTERNAL_DESC= Enable FLAC, Ogg Vorbis, Opus support +EXTERNAL_DESC= Enable FLAC, MP3, Ogg Vorbis, Opus support TEST_DESC= Build tests (forces static library only) TEST_IMPLIES= STATIC EXTERNAL_LIB_DEPENDS= libFLAC.so:audio/flac \ + libmp3lame.so:audio/lame \ + libmpg123.so:audio/mpg123 \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libvorbis.so:audio/libvorbis - +EXTERNAL_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_mp3lame:BOOL=True \ + -DCMAKE_DISABLE_FIND_PACKAGE_Mpg123:BOOL=True \ MANPAGES_CMAKE_BOOL= INSTALL_MANPAGES STATIC_CMAKE_OFF= -DBUILD_SHARED_LIBS:BOOL=ON TEST_CMAKE_BOOL= BUILD_TESTING .include +# Disables external libs except mp3, as this is handled +# differently in the cmake files .if ! ${PORT_OPTIONS:MEXTERNAL} EXTRA_PATCHES= ${FILESDIR}/extrapatch-cmake_SndFileChecks.cmake-disableexternallibs .endif diff --git a/audio/libsndfile/distinfo b/audio/libsndfile/distinfo index 00e9b34e060c..6196ab82a801 100644 --- a/audio/libsndfile/distinfo +++ b/audio/libsndfile/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1632130804 -SHA256 (libsndfile-1.0.31.tar.bz2) = a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163 -SIZE (libsndfile-1.0.31.tar.bz2) = 875335 -SHA256 (cc342f9e45315f9f3de12ae493bc6b3a2bd0a0b1.patch) = 51607b67698d0427ef03488c1486e40a0da61e91f6404fa876c1776b197b9c44 -SIZE (cc342f9e45315f9f3de12ae493bc6b3a2bd0a0b1.patch) = 793 +TIMESTAMP = 1672007310 +SHA256 (libsndfile-1.2.0.tar.xz) = 0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a +SIZE (libsndfile-1.2.0.tar.xz) = 730268 diff --git a/audio/libsndfile/pkg-plist b/audio/libsndfile/pkg-plist index e5e271f60967..cc5a30bc50f4 100644 --- a/audio/libsndfile/pkg-plist +++ b/audio/libsndfile/pkg-plist @@ -17,7 +17,7 @@ lib/cmake/SndFile/SndFileTargets.cmake %%STATIC%%lib/libsndfile.a %%NO_STATIC%%lib/libsndfile.so %%NO_STATIC%%lib/libsndfile.so.1 -%%NO_STATIC%%lib/libsndfile.so.1.0.31 +%%NO_STATIC%%lib/libsndfile.so.1.0.35 libdata/pkgconfig/sndfile.pc %%MANPAGES%%share/man/man1/sndfile-cmp.1.gz %%MANPAGES%%share/man/man1/sndfile-concat.1.gz