pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt5-qtsensors qt5-qtsensors: iio-sensor-proxy depe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/87e045a55e0a
branches: trunk
changeset: 440572:87e045a55e0a
user: mcf <mcf%pkgsrc.org@localhost>
date: Mon Oct 12 19:46:00 2020 +0000
description:
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
diffstat:
x11/qt5-qtsensors/Makefile | 8 +++++++-
x11/qt5-qtsensors/PLIST.Linux | 6 +++---
2 files changed, 10 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 248caca6a3e5 -r 87e045a55e0a x11/qt5-qtsensors/Makefile
--- a/x11/qt5-qtsensors/Makefile Mon Oct 12 19:32:54 2020 +0000
+++ b/x11/qt5-qtsensors/Makefile Mon Oct 12 19:46:00 2020 +0000
@@ -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 @@
${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"
diff -r 248caca6a3e5 -r 87e045a55e0a x11/qt5-qtsensors/PLIST.Linux
--- a/x11/qt5-qtsensors/PLIST.Linux Mon Oct 12 19:32:54 2020 +0000
+++ b/x11/qt5-qtsensors/PLIST.Linux Mon Oct 12 19:46:00 2020 +0000
@@ -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