From nobody Fri Aug 05 07:48:09 2022 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 4Lzd4V0GlLz4Y9bF; Fri, 5 Aug 2022 07:48:10 +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 4Lzd4T5RVyz3m66; Fri, 5 Aug 2022 07:48:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659685689; 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=0JqKi7y+Fskmj/oOhB0WFSkpjnjH9GAjxrNVclkJxbQ=; b=Nw6ylxw+uQTMSqoxKs0c9WJT/yMavL4Q/qmYvMPgk4lJJ0USioS1lMxzctepOUNJ1MG6Ff Pny6yWvhA9F+jfAWTPD1g9kK9IhEIAy14mHgui2YWD1InLu45swzUWt/woxX2PBAItBlRc GM/j0Zf3jgwgR7trBIYwkw4KFrxWuC0700gECEu5vX0usw9UHYwwCXvKbC9tcN7BZsB3e+ cU1SSufwJoiEKqLMNie5uDfvwX5KfIrnD25utdEl8MecLjZOQfkpBtSf3cAJaJRrTHxKZT Ob6aed1CUtGrd+KEaPMQ1qen4E3+nHTCUctbQorCQ+BsLDyySvcaN6ZBuFCiaA== 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 4Lzd4T4XrVzm9h; Fri, 5 Aug 2022 07:48:09 +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 2757m9LR010318; Fri, 5 Aug 2022 07:48:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2757m9Ok010317; Fri, 5 Aug 2022 07:48:09 GMT (envelope-from git) Date: Fri, 5 Aug 2022 07:48:09 GMT Message-Id: <202208050748.2757m9Ok010317@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: 9ddb0f9d1998 - main - audio/timbre-mill: New port: Timbre Mill tool for timbre correction 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9ddb0f9d199823950e04d2d2c8b30abee2c51c70 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659685689; 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=0JqKi7y+Fskmj/oOhB0WFSkpjnjH9GAjxrNVclkJxbQ=; b=Vj6j0Yc8KNJjoAgYrHbRKbIeR3uUPfygHRG1dObKjGuHjuZxhpr2udyaeul85NhVexMZ1T hLLDizBjopRuGCvJiW+HRn14xQwA4GWK3AelkosQKvI8JMzYGmZvLVjIRt22G3/pcIQaED 1EdB4z4FSLtafq+Cnu2EewPi7AVr/G2e9+n6Aj4Zgfn1ikHS4/581SKqSHblMnfRqvtYxU JRdImu9QZhadn3Hju0Ox7C/JdCQ/u2UGkPMCccyxt2TcLNkV77XRDs91OWM8QON/KZul/m k9MZHTNjXBDP8SoN3FJcsBHxdMTsZdvIIonvH7IA0nJHN17xmpDgoJh4gB8QlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659685689; a=rsa-sha256; cv=none; b=l8mBDnFOyU52bRLWHGuOyqctyRwbtw6+9RAZDIQhdi6dGMAR3fL7NQywyKJxduWO9dJ9UT a5kBMQ9V1eq6ZU1jNHxT39Te7JMTGgTNgRY0oOEBE6dEyVz13CJg+mTaS7ni7OBfHfUDTk DifOK/c3ZfZWWkNgIF1hY1YLr4FUhri4aUYNgG4PJcmlswBkwYSJOQZfeu62RAgBQpqYQb qi8CFMU7NGIfYqfswGultBno0cxdFn5E2opKjh58gEY8MkQboStLzw6EQhbbh/35B9UXmW xCvGME7WvOgy8c/DweffJ1YUqo6E4Yi5sDeNTL6oiV5Zeea5C5J0lux71vUNuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ddb0f9d199823950e04d2d2c8b30abee2c51c70 commit 9ddb0f9d199823950e04d2d2c8b30abee2c51c70 Author: Yuri Victorovich AuthorDate: 2022-08-05 07:47:22 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-05 07:48:04 +0000 audio/timbre-mill: New port: Timbre Mill tool for timbre correction --- audio/Makefile | 1 + audio/timbre-mill/Makefile | 36 ++++++++++++++++++++++++++++++ audio/timbre-mill/distinfo | 3 +++ audio/timbre-mill/files/patch-src_Makefile | 11 +++++++++ audio/timbre-mill/pkg-descr | 13 +++++++++++ 5 files changed, 64 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 6304bb8d72f8..fa22ed06def7 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -795,6 +795,7 @@ SUBDIR += tetraproc SUBDIR += thunar-media-tags-plugin SUBDIR += tiatracker + SUBDIR += timbre-mill SUBDIR += timely-lv2 SUBDIR += timemachine SUBDIR += timidity diff --git a/audio/timbre-mill/Makefile b/audio/timbre-mill/Makefile new file mode 100644 index 000000000000..efe0b5fe8fdc --- /dev/null +++ b/audio/timbre-mill/Makefile @@ -0,0 +1,36 @@ +PORTNAME= timbre-mill +DISTVERSION= 0.5.6 +CATEGORIES= audio +MASTER_SITES= https://github.com/sadko4u/timbre-mill/releases/download/${DISTVERSION}/ +DISTNAME= ${PORTNAME}-src-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Timbre Mill tool for timbre correction + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libiconv.so:converters/libiconv \ + libsndfile.so:audio/libsndfile # for some reason binaries aren't linked with shared libs + +USES= gmake iconv localbase:ldflags pkgconfig + +WRKSRC= ${WRKDIR}/${PORTNAME} + +BINARY_ALIAS= make=${GMAKE} \ + g++=${CXX} + +PLIST_FILES= bin/${PORTNAME} + +pre-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} config + +post-install: + # remove redundant symlink + @cd ${STAGEDIR}${PREFIX}/bin && \ + ${RM} ${PORTNAME} && \ + ${MV} ${PORTNAME}-${DISTVERSION} ${PORTNAME} + # strip binary + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/audio/timbre-mill/distinfo b/audio/timbre-mill/distinfo new file mode 100644 index 000000000000..14946ec46c9a --- /dev/null +++ b/audio/timbre-mill/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659684391 +SHA256 (timbre-mill-src-0.5.6.tar.gz) = fe4ccafede8a4ddb875de17d3b4bb9681f578eed507ca01760fa7cec92c2e700 +SIZE (timbre-mill-src-0.5.6.tar.gz) = 2099087 diff --git a/audio/timbre-mill/files/patch-src_Makefile b/audio/timbre-mill/files/patch-src_Makefile new file mode 100644 index 000000000000..c2e9e0164f59 --- /dev/null +++ b/audio/timbre-mill/files/patch-src_Makefile @@ -0,0 +1,11 @@ +--- src/Makefile.orig 2022-08-05 06:57:09 UTC ++++ src/Makefile +@@ -156,7 +156,7 @@ $(ARTIFACT_TEST_BIN): $(ARTIFACT_DEPS) $(ARTIFACT_OBJ) + install: all + echo "Installing $($(ARTIFACT_ID)_NAME)" + mkdir -p "$(DESTDIR)$(BINDIR)" +- cp $(ARTIFACT_EXE) -t "$(DESTDIR)$(BINDIR)" ++ cp $(ARTIFACT_EXE) "$(DESTDIR)$(BINDIR)" + ln -sf $(notdir $(ARTIFACT_EXE)) "$(DESTDIR)$(BINDIR)/$(ARTIFACT_EXELINK)" + echo "Install OK" + diff --git a/audio/timbre-mill/pkg-descr b/audio/timbre-mill/pkg-descr new file mode 100644 index 000000000000..a5de66d6d99f --- /dev/null +++ b/audio/timbre-mill/pkg-descr @@ -0,0 +1,13 @@ +Timbre Mill is a tool for timbral correction of audio files. + +The tool allows to specify multiple file groups containing two type of files: +* master file; +* child files. + +For each file group, the tool performs spectral analysis of master file and each +child file. After that, it computes the raw inverse impulse responses which +allow to tune tonal characteristics of the master file to match the tonal +characteristics of each corresponding child file. These raw IR files allow to +process audio data as linear-phase finite impulse response filters (FIRs). + +WWW: https://github.com/sadko4u/timbre-mill