1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-05-02 11:36:40 -04:00

audio/jnoisemeter: New port: Jack app for measurement of audio signals, in particular noise signals

This commit is contained in:
Yuri Victorovich 2023-10-24 07:41:29 -07:00
parent f1f174c69d
commit 2fd227ffa2
5 changed files with 55 additions and 0 deletions

View file

@ -319,6 +319,7 @@
SUBDIR += jconvolver
SUBDIR += jid3lib
SUBDIR += jmatconvol
SUBDIR += jnoisemeter
SUBDIR += juk
SUBDIR += juke
SUBDIR += julius

View file

@ -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 <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1698164917
SHA256 (jnoisemeter-0.4.1.tar.bz2) = e20c39b18c378c51e2ac951c0f2fd9fdf2e0137a852246c8a18e3975eb71effe
SIZE (jnoisemeter-0.4.1.tar.bz2) = 120965

View file

@ -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

View file

@ -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.