pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/SDL2



Module Name:    pkgsrc
Committed By:   vins
Date:           Sun Dec 14 13:49:50 UTC 2025

Modified Files:
        pkgsrc/devel/SDL2: options.mk

Log Message:
devel/SDL2: allow optional sndio support


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/SDL2/options.mk

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

Modified files:

Index: pkgsrc/devel/SDL2/options.mk
diff -u pkgsrc/devel/SDL2/options.mk:1.21 pkgsrc/devel/SDL2/options.mk:1.22
--- pkgsrc/devel/SDL2/options.mk:1.21   Fri Jan 26 03:15:30 2024
+++ pkgsrc/devel/SDL2/options.mk        Sun Dec 14 13:49:50 2025
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.21 2024/01/26 03:15:30 riastradh Exp $
+# $NetBSD: options.mk,v 1.22 2025/12/14 13:49:50 vins Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.SDL2
 PKG_OPTIONS_OPTIONAL_GROUPS=   gl
-PKG_SUPPORTED_OPTIONS=         alsa dbus nas jack pulseaudio wayland x11
+PKG_SUPPORTED_OPTIONS=         alsa dbus nas jack pulseaudio sndio wayland x11
 PKG_SUGGESTED_OPTIONS.Linux=   alsa
 PKG_OPTIONS_GROUP.gl=          opengl
 PKG_SUGGESTED_OPTIONS+=                opengl
@@ -83,6 +83,12 @@ SUBST_SED.vc+=               -e "s;/opt/vc;${PREFIX};
 .include "../../misc/raspberrypi-userland/buildlink3.mk"
 .endif
 
+.if !empty(PKG_OPTIONS:Msndio)
+.include "../../audio/sndio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-sndio
+.endif
+
 .if !empty(PKG_OPTIONS:Mwayland)
 CONFIGURE_ARGS+=       --enable-video-wayland
 MAKE_FLAGS+=           WAYLAND_SCANNER=${TOOLBASE:Q}/bin/wayland-scanner



Home | Main Index | Thread Index | Old Index