pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt5-qtmultimedia



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Mar  6 10:02:21 UTC 2020

Modified Files:
        pkgsrc/x11/qt5-qtmultimedia: buildlink3.mk

Log Message:
qt5-qtmultimedia: adapt buildlink3.mk for new options


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/x11/qt5-qtmultimedia/buildlink3.mk

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

Modified files:

Index: pkgsrc/x11/qt5-qtmultimedia/buildlink3.mk
diff -u pkgsrc/x11/qt5-qtmultimedia/buildlink3.mk:1.39 pkgsrc/x11/qt5-qtmultimedia/buildlink3.mk:1.40
--- pkgsrc/x11/qt5-qtmultimedia/buildlink3.mk:1.39      Tue Jan 21 20:25:38 2020
+++ pkgsrc/x11/qt5-qtmultimedia/buildlink3.mk   Fri Mar  6 10:02:21 2020
@@ -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_INCDIRS.qt5-qtmultimedia+=        qt5
 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