From nobody Mon Feb 20 15:10:57 2023 X-Original-To: dev-commits-ports-all@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 4PL5TZ1HTYz3swcT; Mon, 20 Feb 2023 15:10:58 +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 4PL5TZ0r2Mz411Q; Mon, 20 Feb 2023 15:10:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676905858; 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=s9aa83BaLXhITgt5BeNT//xU92a7BUlCzpPehm2Pc/0=; b=KdMGQbZiOXyzhz5M+BlNIru+oE0TbRWXHhZ6jYk7Sc/8j9s9xs4/5isl1HEWlqHtc5ZZAx I2fD1nAg/RKdfN4Och17Bnm86j+9d0766L8YAnMJ/8BgNNJUDS95xng9nZiSbn18c0Fqnu Hd0ejaBasj//Z+8KI5ZZ0pienGjv+pXxSXz86DhNrl/EVGdjEnhmF8r/poJ8398+f6Ktss cCHIlDz7Wty8zJaMWTS9P9w9zZGt8j+ecSBZUcSyN++UvFujLWNYZLtqLfWcQvj8ihzIkr XycgusBn5VfvsNVuW1I4/2SXiIGRzgROJpB0eGmKdvTbmi2OdcIU0mNTRrfQtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676905858; 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=s9aa83BaLXhITgt5BeNT//xU92a7BUlCzpPehm2Pc/0=; b=CHhE2eVMtCtiyNfzqtbe6U3/9HxxGYFoKwP5zaN55WBm/ckgrtYUzGL3vugqONQqQJ/HgI U+mFdnnvvmltPbT7ZYQJtb0q3K7U7/l8FsLylwR7rMvecrbQpRT63pQvkNAy/PfZ9hvbhG zhT104uMg+yf3Yxle/+L5wtFuJ9M4loB8DGpAUrR6a8/xIsLAPpoCjdu3IrE7r04Kf1Gjb RtG7Hj8mQ/NQIcaypui9XtkwscQ7s1BZCwNfk8gC5LxTy5UvLz0IKfThn8jj6ZSvLTCpn8 TVKbllAWSSefhaloi8rDlSigD0HMQwMG7Yh2TqSQrOdd5Qy3BFSPN4YJx1scXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676905858; a=rsa-sha256; cv=none; b=o/TqONjDctbUW6GZaQcXvTQMv//NBQqc4indoYZD3kTX3vAXChBrtRcEr0+aGda810MGB4 /tcLdYyA8n+fcYdxxOvFkezRa2QX/ObquLou91z5wivHOLt2lD5MZoNvPuuO/6cXz/CNX2 RGMe5sYLmZcRvnaQ8iq028hN198V1u9tBzgmQXGLWkmM6jbr2tl95srxDpqpZL06lc5CK0 U1V9D0MGMvESEiRylCpQOVUZ1VbbZIfCo9A7R1BF+CKDPuMvgpT6XthTPEhyTzWmbXoiVR pTHoEBShck14rC9Sn1WPI5QaAM2xgE5qMBd9gpfvoXzs7SuYJQgzfeMOuSe+4Q== 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 4PL5TY6mW1zllK; Mon, 20 Feb 2023 15:10:57 +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 31KFAvWl058862; Mon, 20 Feb 2023 15:10:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31KFAvta058850; Mon, 20 Feb 2023 15:10:57 GMT (envelope-from git) Date: Mon, 20 Feb 2023 15:10:57 GMT Message-Id: <202302201510.31KFAvta058850@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 26141c14cbd4 - main - audio/zita-resampler: Update to 1.10.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 26141c14cbd45eb3fdb7aa9b1e38405b87570e45 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=26141c14cbd45eb3fdb7aa9b1e38405b87570e45 commit 26141c14cbd45eb3fdb7aa9b1e38405b87570e45 Author: Daniel Engberg AuthorDate: 2023-02-20 14:46:23 +0000 Commit: Daniel Engberg CommitDate: 2023-02-20 15:10:31 +0000 audio/zita-resampler: Update to 1.10.1 Respect CXXFLAGS and make -ffast-math optional Changelog: * Fixed dithering of clipped signals. * Fixed constructor parameter range tests. PR: 269674 Reviewed by: Goran Mekić (maintainer) --- audio/zita-resampler/Makefile | 9 +++++++-- audio/zita-resampler/distinfo | 6 +++--- audio/zita-resampler/files/patch-CMakeLists.txt | 15 ++------------- audio/zita-resampler/pkg-plist | 2 +- 4 files changed, 13 insertions(+), 19 deletions(-) diff --git a/audio/zita-resampler/Makefile b/audio/zita-resampler/Makefile index 0025ee20e67c..e9d8e357d7ee 100644 --- a/audio/zita-resampler/Makefile +++ b/audio/zita-resampler/Makefile @@ -1,5 +1,5 @@ PORTNAME= zita-resampler -DISTVERSION= 1.8.0 +DISTVERSION= 1.10.1 CATEGORIES= audio MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/ @@ -10,9 +10,14 @@ WWW= https://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.htm LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake tar:bzip2 +USES= cmake tar:xz USE_LDCONFIG= yes CXXFLAGS_amd64+= -DENABLE_SSE2 +OPTIONS_DEFINE= OPTIMIZED_CFLAGS +OPTIONS_DEFAULT= OPTIMIZED_CFLAGS + +OPTIMIZED_CFLAGS_CFLAGS= -ffast-math + .include diff --git a/audio/zita-resampler/distinfo b/audio/zita-resampler/distinfo index b25efd7add0f..7b92277b326e 100644 --- a/audio/zita-resampler/distinfo +++ b/audio/zita-resampler/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1610071104 -SHA256 (zita-resampler-1.8.0.tar.bz2) = e5744f23c54dd15b3f783a687bd879eee2a690a4545a15b49c4cf037aa464aa2 -SIZE (zita-resampler-1.8.0.tar.bz2) = 131161 +TIMESTAMP = 1676766785 +SHA256 (zita-resampler-1.10.1.tar.xz) = 71bbb1fa416578ea1ef0df39c4036d6d6a07a7e97bc24062f1d4003b491601ef +SIZE (zita-resampler-1.10.1.tar.xz) = 118800 diff --git a/audio/zita-resampler/files/patch-CMakeLists.txt b/audio/zita-resampler/files/patch-CMakeLists.txt index e0b62fe21278..55c67696aed8 100644 --- a/audio/zita-resampler/files/patch-CMakeLists.txt +++ b/audio/zita-resampler/files/patch-CMakeLists.txt @@ -6,15 +6,7 @@ Subject: [PATCH] cmake cmake Signed-off-by: Daniel Engberg ---- - CMakeLists.txt | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 62 insertions(+) - create mode 100644 CMakeLists.txt - -diff --git a/CMakeLists.txt b/CMakeLists.txt -new file mode 100644 -index 0000000..941f1e8 ---- /dev/null +--- CMakeLists.txt.orig 2023-02-19 00:41:59 UTC +++ CMakeLists.txt @@ -0,0 +1,62 @@ +cmake_minimum_required(VERSION 3.5) @@ -50,7 +42,7 @@ index 0000000..941f1e8 +list(GET VERSION_LIST 1 PROJECT_VERSION_MINOR) +# list(GET VERSION_LIST 2 PROJECT_VERSION_PATCH) + -+set(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -fPIC -ffast-math") ++set(CMAKE_CXX_FLAGS " ${CMAKE_CXX_FLAGS} -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DZITA_RESAMPLER_MAJOR_VERSION=${MAJVERS} -DZITA_RESAMPLER_MINOR_VERSION=${MINVERS} -fPIC") + +if(ZITA_RESAMPLER_ENABLE_SHARED) + add_library(zita-resampler SHARED ${ZITA_RESAMPLER_SOURCES}) @@ -79,6 +71,3 @@ index 0000000..941f1e8 + RUNTIME DESTINATION "bin") +install(DIRECTORY "source/zita-resampler" + DESTINATION "include") --- -2.29.2 - diff --git a/audio/zita-resampler/pkg-plist b/audio/zita-resampler/pkg-plist index 983facdd0276..30476c81c6c6 100644 --- a/audio/zita-resampler/pkg-plist +++ b/audio/zita-resampler/pkg-plist @@ -4,4 +4,4 @@ include/zita-resampler/resampler.h include/zita-resampler/vresampler.h lib/libzita-resampler.so lib/libzita-resampler.so.1 -lib/libzita-resampler.so.1.8.0 +lib/libzita-resampler.so.1.10.1