pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtmultimedia qt5-qtmultimedia: adapt buildlink...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9db38fb1e858
branches:  trunk
changeset: 412405:9db38fb1e858
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Mar 06 10:02:21 2020 +0000

description:
qt5-qtmultimedia: adapt buildlink3.mk for new options

diffstat:

 x11/qt5-qtmultimedia/buildlink3.mk |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 6e702b5f51ff -r 9db38fb1e858 x11/qt5-qtmultimedia/buildlink3.mk
--- a/x11/qt5-qtmultimedia/buildlink3.mk        Fri Mar 06 09:19:43 2020 +0000
+++ b/x11/qt5-qtmultimedia/buildlink3.mk        Fri Mar 06 10:02:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.39 2020/01/21 20:25:38 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.40 2020/03/06 10:02:21 wiz Exp $
 
 BUILDLINK_TREE+=       qt5-qtmultimedia
 
@@ -13,10 +13,17 @@
 BUILDLINK_LIBDIRS.qt5-qtmultimedia+=   qt5/lib
 BUILDLINK_LIBDIRS.qt5-qtmultimedia+=   qt5/plugins
 
-.if ${OPSYS} != "Darwin"
+pkgbase := qt5-qtmultimedia
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.qt5-qtmultimedia:Mgstreamer)
+.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
+.endif
+.if !empty(PKG_BUILD_OPTIONS.qt5-qtmultimedia:Mopenal)
 .include "../../audio/openal-soft/buildlink3.mk"
+.endif
+.if !empty(PKG_BUILD_OPTIONS.qt5-qtmultimedia:Mpulseaudio)
 .include "../../audio/pulseaudio/buildlink3.mk"
-.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
 .endif
 .include "../../x11/qt5-qtdeclarative/buildlink3.mk"
 .endif # QT5_QTMULTIMEDIA_BUILDLINK3_MK



Home | Main Index | Thread Index | Old Index