pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/suil



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jul  6 00:48:50 UTC 2026

Added Files:
        pkgsrc/audio/suil: options.mk

Log Message:
suil: add options.mk


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/suil/options.mk

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

Added files:

Index: pkgsrc/audio/suil/options.mk
diff -u /dev/null pkgsrc/audio/suil/options.mk:1.1
--- /dev/null   Mon Jul  6 00:48:50 2026
+++ pkgsrc/audio/suil/options.mk        Mon Jul  6 00:48:50 2026
@@ -0,0 +1,46 @@
+# $NetBSD: options.mk,v 1.1 2026/07/06 00:48:50 adam Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.suil
+PKG_SUPPORTED_OPTIONS= doc tests
+.if !exists(/System/Library/Frameworks/Cocoa.framework)
+PKG_SUPPORTED_OPTIONS+=        gtk3 qt5
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   doc gtk3 qt5
+
+.if !empty(PKG_OPTIONS:Mdoc)
+MESON_ARGS+=   -Ddocs=enabled
+TOOL_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+TOOL_DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx>0:../../textproc/py-sphinx
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-lv2-theme>0:../../textproc/py-sphinx-lv2-theme
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxygen>0:../../textproc/py-sphinxygen
+PLIST.doc=     yes
+.else
+MESON_ARGS+=   -Ddocs=disabled
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtk3)
+.include "../../x11/gtk3/buildlink3.mk"
+MESON_ARGS+=   -Dgtk3=enabled
+PLIST.gtk3=    yes
+.else
+MESON_ARGS+=   -Dgtk3=disabled
+.endif
+
+.if !empty(PKG_OPTIONS:Mqt5)
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+MESON_ARGS+=   -Dqt5=enabled
+PLIST.qt5=     yes
+.else
+MESON_ARGS+=   -Dqt5=disabled
+.endif
+
+.if !empty(PKG_OPTIONS:Mtests)
+MESON_ARGS+=   -Dtests=enabled
+.else
+MESON_ARGS+=   -Dtests=disabled
+.endif



Home | Main Index | Thread Index | Old Index