git: eb76d95e18db - main - audio/linuxwave: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Sep 2023 12:41:32 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eb76d95e18dbef5a9b51790f83828205681ece94
commit eb76d95e18dbef5a9b51790f83828205681ece94
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-21 12:05:07 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-23 12:40:18 +0000
audio/linuxwave: add new port
Generate music from the entropy of Linux
https://orhun.dev/linuxwave/
---
audio/Makefile | 1 +
audio/linuxwave/Makefile | 39 +++++++++++++++++++++++++++++++++++++++
audio/linuxwave/distinfo | 5 +++++
audio/linuxwave/pkg-descr | 1 +
4 files changed, 46 insertions(+)
diff --git a/audio/Makefile b/audio/Makefile
index 06b9f17bcfd4..f7cc9d97ca8c 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -425,6 +425,7 @@
SUBDIR += linux-c7-sdl_mixer
SUBDIR += linux-laudio
SUBDIR += linuxsampler
+ SUBDIR += linuxwave
SUBDIR += liquidsfz
SUBDIR += listener
SUBDIR += littlefly-lv2
diff --git a/audio/linuxwave/Makefile b/audio/linuxwave/Makefile
new file mode 100644
index 000000000000..cf4879d57fb8
--- /dev/null
+++ b/audio/linuxwave/Makefile
@@ -0,0 +1,39 @@
+PORTNAME= linuxwave
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.5
+CATEGORIES= audio
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= Generate music from the entropy of Linux
+WWW= https://orhun.dev/linuxwave/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= zig>=0.10.0:lang/zig
+
+USE_GITHUB= yes
+GH_ACCOUNT= orhun
+GH_TUPLE= Hejsil:zig-clap:0.6.0:zig_clap/libs/zig-clap
+MAKE_ENV= DESTDIR="${STAGEDIR}"
+CONFIGURE_ARGS= --prefix "${PREFIX}" \
+ ${WITH_DEBUG:D:U-Drelease-fast} \
+ ${WITH_PIE:D-Dpie} \
+ ${WITH_RELRO:D-Drelro} \
+ -Dcpu=${CPUTYPE:Ubaseline} \
+ --verbose
+NO_INSTALL= yes # strip(1) breaks runtime
+PLIST_FILES= bin/${PORTNAME} \
+ share/man/man1/${PORTNAME}.1.gz
+
+do-build:
+ @(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS})
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \
+ ${STAGEDIR}${PREFIX}/share/man/man1
+
+do-test:
+ @(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS})
+
+.include <bsd.port.mk>
diff --git a/audio/linuxwave/distinfo b/audio/linuxwave/distinfo
new file mode 100644
index 000000000000..ed3a167ef65c
--- /dev/null
+++ b/audio/linuxwave/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1689941107
+SHA256 (orhun-linuxwave-v0.1.5_GH0.tar.gz) = c3cbbca353c1cbe837a55b28e35a26d963ad7a4264f677cdd033bdb545447e32
+SIZE (orhun-linuxwave-v0.1.5_GH0.tar.gz) = 372387
+SHA256 (Hejsil-zig-clap-0.6.0_GH0.tar.gz) = 07c426248a729fbd443d3cc42c70c6bcf5bd2a18cf6a08ab9097f31a397a374f
+SIZE (Hejsil-zig-clap-0.6.0_GH0.tar.gz) = 21914
diff --git a/audio/linuxwave/pkg-descr b/audio/linuxwave/pkg-descr
new file mode 100644
index 000000000000..8282ae022173
--- /dev/null
+++ b/audio/linuxwave/pkg-descr
@@ -0,0 +1 @@
+Generate music from the entropy of Linux