git: 35215c174c45 - main - audio/virtual_oss_equalizer: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Sep 2025 15:40:02 UTC
The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/ports/commit/?id=35215c174c450b6e7dfd2490334f7887b7c24710 commit 35215c174c450b6e7dfd2490334f7887b7c24710 Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2025-09-30 15:39:22 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2025-09-30 15:39:22 +0000 audio/virtual_oss_equalizer: New port Although src commit 9cab9fde5eda ("virtual_oss: Port to base") includes the equalizer utility, we do not hook it to the src build, because it depends on the third party library fftw3, so we build it as a port instead. The port simply builds the files from src, which is not ideal, as this means that the src repo needs to be present in the system in order for the port to build, but this way we can avoid version mismatches and ifdef hell as the project progresses. Note that this is an extension for the base system virtual_oss, and not audio/virtual_oss. Sponsored by: The FreeBSD Foundation Reviewed by: arrowd Differential Revision: https://reviews.freebsd.org/D52366 --- audio/Makefile | 1 + audio/virtual_oss_equalizer/Makefile | 31 +++++++++++++++++++++++++++++++ audio/virtual_oss_equalizer/pkg-descr | 4 ++++ 3 files changed, 36 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 9604b781dda8..9150bb4ceffd 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -833,6 +833,7 @@ SUBDIR += vimpc SUBDIR += virtual_oss SUBDIR += virtual_oss_ctl + SUBDIR += virtual_oss_equalizer SUBDIR += virtual_oss_sndio SUBDIR += visp-go SUBDIR += vitunes diff --git a/audio/virtual_oss_equalizer/Makefile b/audio/virtual_oss_equalizer/Makefile new file mode 100644 index 000000000000..66726ff17adc --- /dev/null +++ b/audio/virtual_oss_equalizer/Makefile @@ -0,0 +1,31 @@ +PORTNAME= virtual_oss_equalizer +PORTVERSION= ${OSVERSION} +CATEGORIES= audio +DISTFILES= + +MAINTAINER= christos@FreeBSD.org +COMMENT= virtual_oss equalizer utility +WWW= https://freebsd.org + +LICENSE= BSD2CLAUSE + +LIB_DEPENDS= libfftw3.so:math/fftw3 + +USES= pathfix uidfix + +MAKE_ENV= BINDIR=${PREFIX}/sbin \ + MANDIR=${PREFIX}/share/man/man \ + MAKEOBJDIRPREFIX=${WRKDIR} + +WRKSRC= ${SRC_BASE}/usr.sbin/virtual_oss/virtual_equalizer + +PLIST_FILES= sbin/virtual_equalizer \ + share/man/man8/virtual_equalizer.8.gz + +.include <bsd.port.pre.mk> + +.if !exists(${WRKSRC}) +IGNORE= requires FreeBSD source files in ${SRC_BASE} +.endif + +.include <bsd.port.post.mk> diff --git a/audio/virtual_oss_equalizer/pkg-descr b/audio/virtual_oss_equalizer/pkg-descr new file mode 100644 index 000000000000..a593b3474b26 --- /dev/null +++ b/audio/virtual_oss_equalizer/pkg-descr @@ -0,0 +1,4 @@ +Equalizer utility for virtual_oss. + +The port installs virtual_equalizer(8), which provides equalizer functionality +for virtual_oss(8) devices. See virtual_equalizer.8 for more information.