From nobody Tue Oct 24 17:00:45 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 4SFJGj6Vhsz4yG7K; Tue, 24 Oct 2023 17:00:45 +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 4SFJGj64tfz3J1F; Tue, 24 Oct 2023 17:00:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698166845; 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=PpPTK9j0HGrZO0QpZMatpaJGh+RqlN0oxYO6/z7IbAY=; b=WXjThQ2g4DvqRJQtTTZlGNH4budofYWXqxafPdanrFHi0e31/5q04/g56zXQ1Hz3LX27M3 tTvS/zAC26sODPRiUAygCMgR/qSapiz7dThMxmh9z4/ex8er5auRFmZ6wpRmcP6t1N3jjd 4ST5SdZQZYSFj2Fs19hT/yXyRw5CIwpoJshtPPPUEj7SqpbANmgX/MsAS0clH40E7Fv8c6 nhZu92McrM+GQY3YdOzm6PmOyervGMKpvaA80Y040Jx7AiOSL06PaK/fectDN29+qU2MQp p4E4X9I2/p37nQaMy/SkjrKdemuEgjesCxQ389HPL9kaP7RBqtg/MQXrdyvDRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698166845; a=rsa-sha256; cv=none; b=OytXnuO5wg+yIPAUnIMVUCxPnbFYJPS8j1OOapkU//lrkf3fAG+nfwUGppanJfQxKmmW95 /46YkEpxGfn4Ipy/AnfpjAVAnE6+3Au57e2fFxvON/TGhmfQZ6wY9y/MldOMQa7U9Stwfe mCUl3u+drNuX1pbhEAlYelEUDALTOerd5aq46IRg9xaluuaXO4nV6WgfXj4DkHY7GCUTJ0 F+7MKUOUlfZCdLL2USr7Xj1ygry99G/sWhIiECvBDI5nWuoxJgLs8n5K9w7RLR3hakewtr bRcPJTRB9F2I1tJZgFo0UOcxiXEMu/Vd2oH25jqviDbOhKKQqEVSUrvaUajjSw== 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=1698166845; 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=PpPTK9j0HGrZO0QpZMatpaJGh+RqlN0oxYO6/z7IbAY=; b=Fns0WPnxmaERV3O+nsHN9S+Y4augyfqfCRStpjwJEpjcH9jWFaJM41ZzSOHtsLspvKrpaG 5iR8HACKXry5U3WT2COv8juz2gBKgf5fv9jKuBHuyLBnr+l9Smg+WyaOkDB8VN3Fe7CNmn ttUZx3AHnitprjBblcKsh5I1zbKag9VYTKLe/Uv/1YFyBwUCEJ0txSstWgYQu86197CQC8 aN/LXBCMVbi19gzMSts/F9dG1uuRI2G2hmXJDI86Jp8obaEwwSGAD9Og0KlPr1Whk7abxx IxvoO5Kacya5+MAcvQOCBf3+DUaOxnZh3SEIewvA6xma1fLXDRD92Z8Yqmd/YQ== 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 4SFJGj59xXzWl6; Tue, 24 Oct 2023 17:00:45 +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 39OH0jZe036140; Tue, 24 Oct 2023 17:00:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39OH0jGw036138; Tue, 24 Oct 2023 17:00:45 GMT (envelope-from git) Date: Tue, 24 Oct 2023 17:00:45 GMT Message-Id: <202310241700.39OH0jGw036138@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: 2fd227ffa26a - main - audio/jnoisemeter: New port: Jack app for measurement of audio signals, in particular noise 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: 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: 2fd227ffa26a8a26e2d90e60c9fb0c1d3461cfa0 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2fd227ffa26a8a26e2d90e60c9fb0c1d3461cfa0 commit 2fd227ffa26a8a26e2d90e60c9fb0c1d3461cfa0 Author: Yuri Victorovich AuthorDate: 2023-10-24 14:41:29 +0000 Commit: Yuri Victorovich CommitDate: 2023-10-24 17:00:43 +0000 audio/jnoisemeter: New port: Jack app for measurement of audio signals, in particular noise signals --- audio/Makefile | 1 + audio/jnoisemeter/Makefile | 30 ++++++++++++++++++++++++++++++ audio/jnoisemeter/distinfo | 3 +++ audio/jnoisemeter/files/patch-Makefile | 13 +++++++++++++ audio/jnoisemeter/pkg-descr | 8 ++++++++ 5 files changed, 55 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index f3e01cbe9d83..06694c2c6500 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -319,6 +319,7 @@ SUBDIR += jconvolver SUBDIR += jid3lib SUBDIR += jmatconvol + SUBDIR += jnoisemeter SUBDIR += juk SUBDIR += juke SUBDIR += julius diff --git a/audio/jnoisemeter/Makefile b/audio/jnoisemeter/Makefile new file mode 100644 index 000000000000..e8d8f7c76165 --- /dev/null +++ b/audio/jnoisemeter/Makefile @@ -0,0 +1,30 @@ +PORTNAME= jnoisemeter +DISTVERSION= 0.4.1 +CATEGORIES= audio +MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Jack app for measurement of audio signals, in particular noise signals +WWW= https://kokkinizita.linuxaudio.org/linuxaudio/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/../COPYING + +LIB_DEPENDS= libclthreads.so:devel/clthreads \ + libclxclient.so:devel/clxclient \ + libjack.so:audio/jack + +USES= gmake localbase:ldflags pkgconfig tar:bz2 xorg +USE_XORG= x11 xft +USE_LDCONFIG= yes + +WRKSRC_SUBDIR= source + +ALL_TARGET= ${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/audio/jnoisemeter/distinfo b/audio/jnoisemeter/distinfo new file mode 100644 index 000000000000..8878aa2595b5 --- /dev/null +++ b/audio/jnoisemeter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1698164917 +SHA256 (jnoisemeter-0.4.1.tar.bz2) = e20c39b18c378c51e2ac951c0f2fd9fdf2e0137a852246c8a18e3975eb71effe +SIZE (jnoisemeter-0.4.1.tar.bz2) = 120965 diff --git a/audio/jnoisemeter/files/patch-Makefile b/audio/jnoisemeter/files/patch-Makefile new file mode 100644 index 000000000000..4e5d0ae720ba --- /dev/null +++ b/audio/jnoisemeter/files/patch-Makefile @@ -0,0 +1,13 @@ +- remove -march=native: it is managed by CPUTYPE in /etc/make.conf + +--- Makefile.orig 2023-10-24 16:35:38 UTC ++++ Makefile +@@ -25,7 +25,7 @@ VERSION = 0.4.1 + CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" + CPPFLAGS += $(shell pkgconf --cflags freetype2) + CXXFLAGS += -O2 -Wall +-CXXFLAGS += -march=native ++#CXXFLAGS += -march=native + LDLIBS += -lclthreads -lclxclient -lpthread -ljack -lXft -lX11 -lrt + + diff --git a/audio/jnoisemeter/pkg-descr b/audio/jnoisemeter/pkg-descr new file mode 100644 index 000000000000..8e07543aa1e6 --- /dev/null +++ b/audio/jnoisemeter/pkg-descr @@ -0,0 +1,8 @@ +Jnoisemeter is a small Jack app for accurate measurement of +audio signals, in particular noise signals. + +The simplest use is to measure the S/N ratio of your +sound card. If you can calibrate the input levels of +your soundcard it can also be used (with some external +hardware) to measure noise levels of any type of audio +equipment, including preamps and microphones.