pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

opentmux: Add sixel option



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <iamleot%gmail.com@localhost>
Pushed By:	leot
Date:		Fri Nov 6 15:54:35 2026 +0100
Changeset:	0cd3a272f06a9ac108a3ddb67e5b70ee20bea100

Modified Files:
	opentmux/Makefile
Added Files:
	opentmux/options.mk

Log Message:
opentmux: Add sixel option

Permit to disable sixel support.

By default it is still enabled to be consistent with misc/tmux and
previous defaults.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0cd3a272f06a9ac108a3ddb67e5b70ee20bea100

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 opentmux/Makefile   |  4 ++--
 opentmux/options.mk | 16 ++++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

diffs:
diff --git a/opentmux/Makefile b/opentmux/Makefile
index 5beb1322c0..7ed75d97e9 100644
--- a/opentmux/Makefile
+++ b/opentmux/Makefile
@@ -14,8 +14,6 @@ CONFLICTS=	tmux-[0-9]*
 
 GNU_CONFIGURE=	yes
 
-CONFIGURE_ARGS+=	--enable-sixel
-
 USE_TOOLS+=	pkg-config
 USE_FEATURES+=	strnlen
 
@@ -47,6 +45,8 @@ CONFIGURE_ARGS+=	--enable-utf8proc
 .include "../../converters/utf8proc/buildlink3.mk"
 .endif
 
+.include "options.mk"
+
 .include "../../devel/libevent/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/opentmux/options.mk b/opentmux/options.mk
new file mode 100644
index 0000000000..d9a8049a0c
--- /dev/null
+++ b/opentmux/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.3 2015/11/11 16:12:10 leot Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.opentmux
+PKG_SUPPORTED_OPTIONS=	sixel
+PKG_SUGGESTED_OPTIONS=	sixel
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Sixel support
+###
+.if !empty(PKG_OPTIONS:Msixel)
+CONFIGURE_ARGS+=	--enable-sixel
+.else
+CONFIGURE_ARGS+=	--disable-sixel
+.endif


Home | Main Index | Thread Index | Old Index