git: 76e6ca5f6167 - main - audio/sox-noise: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Thu, 20 Feb 2025 16:38:03 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=76e6ca5f6167bece257a0e74d0d4da74271eb4c4

commit 76e6ca5f6167bece257a0e74d0d4da74271eb4c4
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-02-20 16:35:40 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-02-20 16:35:40 +0000

    audio/sox-noise: new port had been added (+)
    
    Noise generator GUI program powered by Sound eXchange, written with
    Python and GTK.  Can emit Brown, Pink, White, TPDF noise and offers
    flexible sound settings and effects.
    
    WWW: https://github.com/Thann/sox-noise
---
 audio/Makefile            |  1 +
 audio/sox-noise/Makefile  | 29 +++++++++++++++++++++++++++++
 audio/sox-noise/distinfo  |  3 +++
 audio/sox-noise/pkg-descr |  3 +++
 4 files changed, 36 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index b3ab52f478fd..5a823b739136 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -749,6 +749,7 @@
     SUBDIR += soundtouch
     SUBDIR += soundtracker
     SUBDIR += sox
+    SUBDIR += sox-noise
     SUBDIR += spc2it
     SUBDIR += spectacle-lv2
     SUBDIR += spectmorph
diff --git a/audio/sox-noise/Makefile b/audio/sox-noise/Makefile
new file mode 100644
index 000000000000..ab08c3375d04
--- /dev/null
+++ b/audio/sox-noise/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	sox-noise
+PORTVERSION=	g20241022
+CATEGORIES=	audio
+
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Noise generator GUI powered by Sound eXchange
+WWW=		https://github.com/Thann/sox-noise
+
+LICENSE=	UNLICENSE
+
+RUN_DEPENDS=	sox:audio/sox
+
+USES=		gnome python
+USE_GNOME=	gtk30 pygobject3
+USE_PYTHON=	autoplist distutils
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Thann
+GH_TAGNAME=	b090771
+
+DESKTOP_ENTRIES=	"SoX Noise" "" "audio-volume-high" "${PORTNAME}" \
+			"AudioVideo;Audio;Player;" false
+
+post-patch:
+	@${REINPLACE_CMD} -e '/^version =/ \
+		s,get_version(),"0.0.3.post6+g${GH_TAGNAME}",' \
+		-e '/setup_requires=/,+3d' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/audio/sox-noise/distinfo b/audio/sox-noise/distinfo
new file mode 100644
index 000000000000..5bbb26b5d698
--- /dev/null
+++ b/audio/sox-noise/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729569158
+SHA256 (Thann-sox-noise-g20241022-b090771_GH0.tar.gz) = 09676c4f7952bd35f236b036fdca4b551e79a1540e04ab9155c9958eafbef08a
+SIZE (Thann-sox-noise-g20241022-b090771_GH0.tar.gz) = 376159
diff --git a/audio/sox-noise/pkg-descr b/audio/sox-noise/pkg-descr
new file mode 100644
index 000000000000..0ca7926bf4e4
--- /dev/null
+++ b/audio/sox-noise/pkg-descr
@@ -0,0 +1,3 @@
+Noise generator GUI program powered by Sound eXchange, written with
+Python and GTK.  Can emit Brown, Pink, White, TPDF noise and offers
+flexible sound settings and effects.