diff options
author | tnn <tnn@pkgsrc.org> | 2020-08-02 00:25:20 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2020-08-02 00:25:20 +0000 |
commit | 3877e51061a5cefd2b24265b24d6e547365d0415 (patch) | |
tree | 0a30e181b81fc9e7acb5a4b3fef64a7114c65c6e /x11 | |
parent | 2c04c63b4dbd2b302378ca578bbfb9e56e7bd810 (diff) | |
download | pkgsrc-3877e51061a5cefd2b24265b24d6e547365d0415.tar.gz |
py-qt5: make dbus option actually do something
Diffstat (limited to 'x11')
-rw-r--r-- | x11/py-qt5/Makefile | 12 | ||||
-rw-r--r-- | x11/py-qt5/PLIST | 4 |
2 files changed, 9 insertions, 7 deletions
diff --git a/x11/py-qt5/Makefile b/x11/py-qt5/Makefile index 3c985497919..a9aea9dfd1c 100644 --- a/x11/py-qt5/Makefile +++ b/x11/py-qt5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.58 2020/06/11 14:50:33 adam Exp $ +# $NetBSD: Makefile,v 1.59 2020/08/02 00:25:20 tnn Exp $ DISTNAME= PyQt5-5.15.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/PyQt5/qt5/} @@ -77,14 +77,16 @@ PKG_SUGGESTED_OPTIONS+= dbus .include "../../mk/bsd.options.mk" -PLIST_VARS+= dbus +PLIST_VARS+= dbus .if !empty(PKG_OPTIONS:Mdbus) -PLIST.dbus= yes +PLIST.dbus= yes +.include "../../sysutils/dbus-python-common/buildlink3.mk" +.include "../../sysutils/py-dbus/buildlink3.mk" +.else +CONFIGURE_ARGS+= --no-python-dbus .endif .include "../../lang/python/extension.mk" -.include "../../sysutils/dbus-python-common/buildlink3.mk" -.include "../../sysutils/py-dbus/buildlink3.mk" BUILDLINK_API_DEPENDS.py-sip+= ${PYPKGPREFIX}-sip>=4.19.23 .include "../../x11/py-sip/buildlink3.mk" .include "../../x11/qt5-qtbase/buildlink3.mk" diff --git a/x11/py-qt5/PLIST b/x11/py-qt5/PLIST index 5e0c53b87a3..79b9dd5d323 100644 --- a/x11/py-qt5/PLIST +++ b/x11/py-qt5/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.17 2020/06/11 14:50:33 adam Exp $ +@comment $NetBSD: PLIST,v 1.18 2020/08/02 00:25:20 tnn Exp $ bin/pylupdate5-${PYVERSSUFFIX} bin/pyrcc5-${PYVERSSUFFIX} bin/pyuic5-${PYVERSSUFFIX} @@ -107,7 +107,7 @@ ${PYSITELIB}/PyQt5/uic/widget-plugins/qtprintsupport.py ${PYSITELIB}/PyQt5/uic/widget-plugins/qtquickwidgets.py ${PYSITELIB}/PyQt5/uic/widget-plugins/qtwebenginewidgets.py ${PYSITELIB}/PyQt5/uic/widget-plugins/qtwebkit.py -${PYSITELIB}/dbus/mainloop/pyqt5.so +${PLIST.dbus}${PYSITELIB}/dbus/mainloop/pyqt5.so qt5/plugins/PyQt5-${PYVERSSUFFIX}/libpyqt5qmlplugin.so qt5/plugins/designer${PYVERSSUFFIX}/libpyqt5.so qt5/qsci${PYVERSSUFFIX}/api/python/PyQt5.api |