git: 5b7e3cf5dde4 - main - audio/rsgain: Add UNICODE option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Nov 2022 04:24:38 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5b7e3cf5dde465ed565391bb6e06402b05f770a2
commit 5b7e3cf5dde465ed565391bb6e06402b05f770a2
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2022-11-05 03:56:28 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2022-11-05 04:24:19 +0000
audio/rsgain: Add UNICODE option
Add UNICODE option to enable output of unicode characters (on by
default, retaining previous behavior).
Limit progress bar to 80 columns for improved readability.
PR: 267567
Reported by: diizzy
---
audio/rsgain/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/audio/rsgain/Makefile b/audio/rsgain/Makefile
index efd9d0ffcd66..7c08fb48f58f 100644
--- a/audio/rsgain/Makefile
+++ b/audio/rsgain/Makefile
@@ -1,6 +1,7 @@
PORTNAME= rsgain
DISTVERSION= 3.1
DISTVERSIONSUFFIX= -source
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://github.com/complexlogic/rsgain/releases/download/v${DISTVERSION}/
@@ -19,9 +20,13 @@ LIB_DEPENDS= libebur128.so:audio/libebur128 \
USES= cmake compiler:c++2b-lang pkgconfig tar:xz
+CMAKE_ARGS= -DMAXPROGBARWIDTH=80
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS UNICODE
+OPTIONS_DEFAULT= UNICODE
+
+UNICODE_CMAKE_BOOL= UCHECKMARKS
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}