pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtwebengine pkg option support for pulseaudio.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f740a56e922
branches:  trunk
changeset: 372536:7f740a56e922
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Wed Jan 26 18:24:08 2022 +0000

description:
pkg option support for pulseaudio.

diffstat:

 x11/qt5-qtwebengine/Makefile   |   5 +++--
 x11/qt5-qtwebengine/options.mk |  11 +++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 6101daea371b -r 7f740a56e922 x11/qt5-qtwebengine/Makefile
--- a/x11/qt5-qtwebengine/Makefile      Wed Jan 26 17:48:50 2022 +0000
+++ b/x11/qt5-qtwebengine/Makefile      Wed Jan 26 18:24:08 2022 +0000
@@ -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 @@
        /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 -r 6101daea371b -r 7f740a56e922 x11/qt5-qtwebengine/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt5-qtwebengine/options.mk    Wed Jan 26 18:24:08 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index