Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/py-qt5 x11/py-qt5: add dbus option
details: https://anonhg.NetBSD.org/pkgsrc/rev/c65b7e0e9cf3
branches: trunk
changeset: 430150:c65b7e0e9cf3
user: riastradh <riastradh%pkgsrc.org@localhost>
date: Tue Apr 28 05:47:25 2020 +0000
description:
x11/py-qt5: add dbus option
diffstat:
x11/py-qt5/Makefile | 13 ++++++++++++-
x11/py-qt5/PLIST | 6 +++---
2 files changed, 15 insertions(+), 4 deletions(-)
diffs (47 lines):
diff -r cb2f4da55393 -r c65b7e0e9cf3 x11/py-qt5/Makefile
--- a/x11/py-qt5/Makefile Tue Apr 28 05:47:10 2020 +0000
+++ b/x11/py-qt5/Makefile Tue Apr 28 05:47:25 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2020/04/12 06:24:30 adam Exp $
+# $NetBSD: Makefile,v 1.57 2020/04/28 05:47:25 riastradh Exp $
DISTNAME= PyQt5-5.14.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/PyQt5/qt5/}
@@ -71,6 +71,17 @@
${MV} pyrcc5 pyrcc5-${PYVERSSUFFIX} && \
${MV} pyuic5 pyuic5-${PYVERSSUFFIX} || ${TRUE}
+PKG_OPTIONS_VAR= PKG_OPTIONS.py-qt5
+PKG_SUPPORTED_OPTIONS+= dbus
+PKG_SUGGESTED_OPTIONS+= dbus
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= dbus
+.if !empty(PKG_OPTIONS:Mdbus)
+PLIST.dbus= yes
+.endif
+
.include "../../lang/python/extension.mk"
.include "../../sysutils/dbus-python-common/buildlink3.mk"
.include "../../sysutils/py-dbus/buildlink3.mk"
diff -r cb2f4da55393 -r c65b7e0e9cf3 x11/py-qt5/PLIST
--- a/x11/py-qt5/PLIST Tue Apr 28 05:47:10 2020 +0000
+++ b/x11/py-qt5/PLIST Tue Apr 28 05:47:25 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2020/04/12 06:24:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2020/04/28 05:47:25 riastradh Exp $
bin/pylupdate5-${PYVERSSUFFIX}
bin/pyrcc5-${PYVERSSUFFIX}
bin/pyuic5-${PYVERSSUFFIX}
@@ -8,8 +8,8 @@
${PYSITELIB}/PyQt5/Qt.so
${PLIST.py3x}${PYSITELIB}/PyQt5/QtCore.pyi
${PYSITELIB}/PyQt5/QtCore.so
-${PLIST.py3x}${PYSITELIB}/PyQt5/QtDBus.pyi
-${PYSITELIB}/PyQt5/QtDBus.so
+${PLIST.dbus}${PLIST.py3x}${PYSITELIB}/PyQt5/QtDBus.pyi
+${PLIST.dbus}${PYSITELIB}/PyQt5/QtDBus.so
${PLIST.py3x}${PYSITELIB}/PyQt5/QtDesigner.pyi
${PYSITELIB}/PyQt5/QtDesigner.so
${PLIST.py3x}${PYSITELIB}/PyQt5/QtGui.pyi
Home |
Main Index |
Thread Index |
Old Index