pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt5-qtlocation qt5-qtlocation: geoclue plugins dep...
details: https://anonhg.NetBSD.org/pkgsrc/rev/248caca6a3e5
branches: trunk
changeset: 440571:248caca6a3e5
user: mcf <mcf%pkgsrc.org@localhost>
date: Mon Oct 12 19:32:54 2020 +0000
description:
qt5-qtlocation: geoclue plugins depend on qt5-qtbase[dbus]
These plugins are only built when Qt has the dbus module [0].
[0] https://github.com/qt/qtlocation/blob/v5.15.1/src/plugins/position/position.pro#L5-L6
diffstat:
x11/qt5-qtlocation/Makefile | 8 +++++++-
x11/qt5-qtlocation/PLIST.Linux | 10 +++++-----
2 files changed, 12 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 9bd403783f43 -r 248caca6a3e5 x11/qt5-qtlocation/Makefile
--- a/x11/qt5-qtlocation/Makefile Mon Oct 12 17:31:45 2020 +0000
+++ b/x11/qt5-qtlocation/Makefile Mon Oct 12 19:32:54 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2020/09/14 20:08:27 adam Exp $
+# $NetBSD: Makefile,v 1.49 2020/10/12 19:32:54 mcf Exp $
DISTNAME= qtlocation-everywhere-src-${QTVERSION}
PKGNAME= qt5-qtlocation-${QTVERSION}
@@ -17,6 +17,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-qtserialport/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 9bd403783f43 -r 248caca6a3e5 x11/qt5-qtlocation/PLIST.Linux
--- a/x11/qt5-qtlocation/PLIST.Linux Mon Oct 12 17:31:45 2020 +0000
+++ b/x11/qt5-qtlocation/PLIST.Linux Mon Oct 12 19:32:54 2020 +0000
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST.Linux,v 1.3 2020/06/20 07:52:20 rillig Exp $
+@comment $NetBSD: PLIST.Linux,v 1.4 2020/10/12 19:32:54 mcf Exp $
qt5/lib/cmake/Qt5Location/Qt5Location_QGeoServiceProviderFactoryMapboxGL.cmake
-qt5/lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryGeoclue.cmake
-qt5/lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryGeoclue2.cmake
+${PLIST.dbus}qt5/lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryGeoclue.cmake
+${PLIST.dbus}qt5/lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryGeoclue2.cmake
qt5/plugins/geoservices/libqtgeoservices_mapboxgl.so
-qt5/plugins/position/libqtposition_geoclue.so
-qt5/plugins/position/libqtposition_geoclue2.so
+${PLIST.dbus}qt5/plugins/position/libqtposition_geoclue.so
+${PLIST.dbus}qt5/plugins/position/libqtposition_geoclue2.so
Home |
Main Index |
Thread Index |
Old Index