diff options
author | mrg <mrg@pkgsrc.org> | 2022-01-26 18:24:08 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2022-01-26 18:24:08 +0000 |
commit | c99fa268fed7636df50122e784d8125d7e8408a5 (patch) | |
tree | 190cdbf41ea363a861c22914c8f5010f0f39e00c /x11 | |
parent | 2279e8c0b428d0380b2390883dc63159e6081f5d (diff) | |
download | pkgsrc-c99fa268fed7636df50122e784d8125d7e8408a5.tar.gz |
pkg option support for pulseaudio.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt5-qtwebengine/Makefile | 5 | ||||
-rw-r--r-- | x11/qt5-qtwebengine/options.mk | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/x11/qt5-qtwebengine/Makefile b/x11/qt5-qtwebengine/Makefile index 49305e4e190..ce0edbc69f5 100644 --- a/x11/qt5-qtwebengine/Makefile +++ b/x11/qt5-qtwebengine/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2021/12/19 09:48:00 maya Exp $ +# $NetBSD: Makefile,v 1.13 2022/01/26 18:24:08 mrg Exp $ DISTNAME= qtwebengine-everywhere-src-${QTVERSION} PKGNAME= qt5-qtwebengine-${QTVERSION} @@ -65,10 +65,11 @@ post-install: /usr/sbin/paxctl +m ${DESTDIR}${PREFIX}/qt5/libexec/QtWebEngineProcess .endif +.include "options.mk" + .include "../../mk/bsd.prefs.mk" .include "../../audio/alsa-lib/buildlink3.mk" -.include "../../audio/pulseaudio/buildlink3.mk" .include "../../audio/libopus/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .if ${OPSYS} == "Darwin" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" diff --git a/x11/qt5-qtwebengine/options.mk b/x11/qt5-qtwebengine/options.mk new file mode 100644 index 00000000000..4f9445b3c18 --- /dev/null +++ b/x11/qt5-qtwebengine/options.mk @@ -0,0 +1,11 @@ +# $NetBSD: options.mk,v 1.1 2022/01/26 18:24:08 mrg Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.qt5-qtwebengine +PKG_SUPPORTED_OPTIONS= pulseaudio +PKG_SUGGESTED_OPTIONS= pulseaudio + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mpulseaudio) +.include "../../audio/pulseaudio/buildlink3.mk" +.endif |