
5 changed files with 55 additions and 0 deletions
@ -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> |
@ -0,0 +1,3 @@ |
|||
TIMESTAMP = 1698164917 |
|||
SHA256 (jnoisemeter-0.4.1.tar.bz2) = e20c39b18c378c51e2ac951c0f2fd9fdf2e0137a852246c8a18e3975eb71effe |
|||
SIZE (jnoisemeter-0.4.1.tar.bz2) = 120965 |
@ -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 |
|||
|
|||
|
@ -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. |
Loading…
Reference in new issue