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
This commit is contained in:
parent
3ab10bac93
commit
584a4a2121
2 changed files with 10 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue