pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt5-qtsensors



Module Name:    pkgsrc
Committed By:   mcf
Date:           Mon Oct 12 19:46:00 UTC 2020

Modified Files:
        pkgsrc/x11/qt5-qtsensors: Makefile PLIST.Linux

Log Message:
qt5-qtsensors: iio-sensor-proxy depends on qt5-qtbase[dbus]

This plugin is only built when Qt has the dbus module [0].

[0] https://github.com/qt/qtsensors/blob/v5.15.1/src/plugins/sensors/sensors.pro#L40


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/x11/qt5-qtsensors/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/qt5-qtsensors/PLIST.Linux

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-qtsensors/Makefile
diff -u pkgsrc/x11/qt5-qtsensors/Makefile:1.47 pkgsrc/x11/qt5-qtsensors/Makefile:1.48
--- pkgsrc/x11/qt5-qtsensors/Makefile:1.47      Mon Sep 14 20:08:28 2020
+++ pkgsrc/x11/qt5-qtsensors/Makefile   Mon Oct 12 19:46:00 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2020/09/14 20:08:28 adam Exp $
+# $NetBSD: Makefile,v 1.48 2020/10/12 19:46:00 mcf Exp $
 
 DISTNAME=      qtsensors-everywhere-src-${QTVERSION}
 PKGNAME=       qt5-qtsensors-${QTVERSION}
@@ -18,6 +18,12 @@ post-install:
        ${LN} -f -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
 .endfor
 
+PLIST_VARS+=           dbus
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.if ${PKG_BUILD_OPTIONS.qt5-qtbase:Mdbus}
+PLIST.dbus=            yes
+.endif
+
 .include "../../x11/qt5-qtdeclarative/buildlink3.mk"
 .include "../../x11/qt5-qtsvg/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/x11/qt5-qtsensors/PLIST.Linux
diff -u pkgsrc/x11/qt5-qtsensors/PLIST.Linux:1.1 pkgsrc/x11/qt5-qtsensors/PLIST.Linux:1.2
--- pkgsrc/x11/qt5-qtsensors/PLIST.Linux:1.1    Fri Mar 29 19:05:48 2019
+++ pkgsrc/x11/qt5-qtsensors/PLIST.Linux        Mon Oct 12 19:46:00 2020
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST.Linux,v 1.1 2019/03/29 19:05:48 markd Exp $
-qt5/lib/cmake/Qt5Sensors/Qt5Sensors_IIOSensorProxySensorPlugin.cmake
+@comment $NetBSD: PLIST.Linux,v 1.2 2020/10/12 19:46:00 mcf Exp $
+${PLIST.dbus}qt5/lib/cmake/Qt5Sensors/Qt5Sensors_IIOSensorProxySensorPlugin.cmake
 qt5/lib/cmake/Qt5Sensors/Qt5Sensors_LinuxSensorPlugin.cmake
-qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
+${PLIST.dbus}qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
 qt5/plugins/sensors/libqtsensors_linuxsys.so



Home | Main Index | Thread Index | Old Index