From nobody Sun Jun 09 17:04:38 2024 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 4Vy1WV6Gdjz5N0X6; Sun, 09 Jun 2024 17:04:38 +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 4Vy1WV5kXWz4bwl; Sun, 9 Jun 2024 17:04:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717952678; 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=zTdtFl4DsbYr3vwteYsk2C4jkF4d0sHy7YzQxyZGhCI=; b=Firr149FW8mDG42CmhM6aQH34MvmjKTV9yNiHXwIyecavi3bHtmMGy5vbtcmh0JgDh6NRh Aky7e866KOYH1HLQh1ZKSIBPKYMJ1V8vwrzdpAsSo9Jdzm1vgliMh9SFG33n3p8/UHZbcS EQSkHXtaIB2Dj1mqmAL+mg2nvkzOEobS7Jeel/DdZRZXRtoIIdBzZ1PSoU7LVgqy/zAOfm RTeGWPCcs4lsXgcsIXE9jzYr2Ztj/dJJ+WlpkiTegE8PvchLxcM+kfCbhHXPvjzks67yiq 7KPdX55y9bI4XgUFdYj9NCMtXNskgXtj9O1Pk+hypfhRsgrY2HTN2FAcm61rig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717952678; a=rsa-sha256; cv=none; b=gtvQAP2+inZaNTlh0Oq4CwaEFytlaQWns+mKDUyvFyLeSGWcHpnIG8htnG0qZxKSEkfNzg oKdPgh9PjuQKVKzEmD5PrqbEjRkFF7LDMU7cO69cceJc/gBy4ZTyLvuRuEv3azMaksVcG+ oFm3SDUIJFlW8efk8pv4SSVGMpKOjEuTVDMo1AQXuyaA7lHBFGdb3IPUU2Gp1u81PdUdiN c0LbxUlNrBVtUPFn47xUaj+oCTKCDX/q9tMLT6joS6Su36jjV26Dt0CwdKeb8X9wUHur1P 4olI9Ht8ZiNCCvlx3o8jAlYVLNrCRP675I3MV1NXjHI6cjn0cWG3sidq2h9SQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717952678; 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=zTdtFl4DsbYr3vwteYsk2C4jkF4d0sHy7YzQxyZGhCI=; b=JAUX5TimIvPE1+ItrEEkEX5nDvcAUWhz/lpJlV+dVatPmk9sHszGm40HGGQvgGJZGuI4A+ RvmDd4WPDvCcVEhtT7KJcovvoItmNJ0m90JxWdbCh1oiHyQ/dDkUXuPsQ29UIR5cPiQqq4 xW5NKrFTINVGgDftbBSHmmWNlibHKHU9dwwe6VN0aLrtfvcCegSnGDE6MtisklI4dxzqKt oAJXyaTDpcS2SmdYCFKoRGDerz8KTuru27JEl9yr0tFxcMO0pG0fsuHnNytevyBWBErhLJ XvR0WbC7bu78x/53h5hUnoZ4nJNwvLMtP122GCCj115nefiJ40TjYvg70Lg0Zw== 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 4Vy1WV5KhHzrF1; Sun, 9 Jun 2024 17:04:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 459H4cmp076000; Sun, 9 Jun 2024 17:04:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 459H4ciU075997; Sun, 9 Jun 2024 17:04:38 GMT (envelope-from git) Date: Sun, 9 Jun 2024 17:04:38 GMT Message-Id: <202406091704.459H4ciU075997@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: fb61bef5989f - main - audio/pandaresampler: New port: Fast factor 2 resampler for audio signals 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fb61bef5989ff43948bce698f04102588a95e893 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb61bef5989ff43948bce698f04102588a95e893 commit fb61bef5989ff43948bce698f04102588a95e893 Author: Yuri Victorovich AuthorDate: 2024-06-09 17:04:07 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-09 17:04:36 +0000 audio/pandaresampler: New port: Fast factor 2 resampler for audio signals --- audio/Makefile | 1 + audio/pandaresampler/Makefile | 31 +++++++++++++++++++++++++++++++ audio/pandaresampler/distinfo | 3 +++ audio/pandaresampler/pkg-descr | 2 ++ 4 files changed, 37 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index b342a6841fe9..788943272698 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -591,6 +591,7 @@ SUBDIR += padthv1-lv2 SUBDIR += paman SUBDIR += pamixer + SUBDIR += pandaresampler SUBDIR += paprefs SUBDIR += pasystray SUBDIR += patchage diff --git a/audio/pandaresampler/Makefile b/audio/pandaresampler/Makefile new file mode 100644 index 000000000000..58993bbc3b2b --- /dev/null +++ b/audio/pandaresampler/Makefile @@ -0,0 +1,31 @@ +PORTNAME= pandaresampler +DISTVERSION= 0.2.0 +CATEGORIES= audio +MASTER_SITES= https://github.com/swesterfeld/pandaresampler/releases/download/${DISTVERSION}/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast factor 2 resampler for audio signals +WWW= https://github.com/swesterfeld/pandaresampler + +LICENSE= MPL20 + +BUILD_DEPENDS= fftw3>0:math/fftw3 \ + fftw3-float>0:math/fftw3-float \ + zita-resampler>0:audio/zita-resampler # only for tests, see https://github.com/swesterfeld/pandaresampler/issues/2 + +USES= gmake localbase:ldflags pkgconfig + +GNU_CONFIGURE= yes + +PLIST_FILES= include/pandaresampler.hh \ + lib/libpandaresampler.a + +do-install: # workaround for https://github.com/swesterfeld/pandaresampler/issues/1 + ${INSTALL_DATA} ${WRKSRC}/lib/pandaresampler.hh ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lib/.libs/libpandaresampler.a ${STAGEDIR}${PREFIX}/lib + +# relevant issues: +# * https://github.com/swesterfeld/pandaresampler/issues/3: Please allow to build a shared library with --enable-shared +# * https://github.com/swesterfeld/pandaresampler/issues/2: Please don't build tests by default + +.include diff --git a/audio/pandaresampler/distinfo b/audio/pandaresampler/distinfo new file mode 100644 index 000000000000..a334401d1879 --- /dev/null +++ b/audio/pandaresampler/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1717950020 +SHA256 (pandaresampler-0.2.0.tar.gz) = 5319f403467365768d3ff1634fda0d4ace72196c6f30e51a656b67803a07aad7 +SIZE (pandaresampler-0.2.0.tar.gz) = 422783 diff --git a/audio/pandaresampler/pkg-descr b/audio/pandaresampler/pkg-descr new file mode 100644 index 000000000000..9e115be5549d --- /dev/null +++ b/audio/pandaresampler/pkg-descr @@ -0,0 +1,2 @@ +PandaResampler is a fast C++ (SSEified) factor 2 resampler for audio signals. +It is easy to integrate into projects since it supports header only mode.