pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11 qt5: Add BUILDLINK_FILES workarounds for cmake



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9a45be6ea27
branches:  trunk
changeset: 454809:e9a45be6ea27
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jun 21 12:44:39 2021 +0000

description:
qt5: Add BUILDLINK_FILES workarounds for cmake

Fixes configuring in print/scribus-qt5.

diffstat:

 x11/qt5-qtbase/buildlink3.mk  |  13 ++++++++++++-
 x11/qt5-qttools/buildlink3.mk |  42 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 53 insertions(+), 2 deletions(-)

diffs (84 lines):

diff -r 7d5f0da670ab -r e9a45be6ea27 x11/qt5-qtbase/buildlink3.mk
--- a/x11/qt5-qtbase/buildlink3.mk      Mon Jun 21 11:23:01 2021 +0000
+++ b/x11/qt5-qtbase/buildlink3.mk      Mon Jun 21 12:44:39 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.43 2021/04/21 11:40:50 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.44 2021/06/21 12:44:39 nia Exp $
 
 BUILDLINK_TREE+=       qt5-qtbase
 
@@ -27,7 +27,18 @@
 pkgbase := qt5-qtbase
 .include "../../mk/pkg-build-options.mk"
 
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/moc
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/qlalr
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/qmake
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/qvkgen
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/rcc
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/syncqt.pl
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/tracegen
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/uic
+
 .if ${PKG_BUILD_OPTIONS.qt5-qtbase:Mdbus}
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/qdbuscpp2xml
+BUILDLINK_FILES.qt5-qtbase+=   qt5/bin/qdbusxml2cpp
 .include "../../sysutils/dbus/buildlink3.mk"
 .endif
 
diff -r 7d5f0da670ab -r e9a45be6ea27 x11/qt5-qttools/buildlink3.mk
--- a/x11/qt5-qttools/buildlink3.mk     Mon Jun 21 11:23:01 2021 +0000
+++ b/x11/qt5-qttools/buildlink3.mk     Mon Jun 21 12:44:39 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.52 2021/04/21 11:40:52 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.53 2021/06/21 12:44:39 nia Exp $
 
 BUILDLINK_TREE+=       qt5-qttools
 
@@ -13,6 +13,46 @@
 BUILDLINK_LIBDIRS.qt5-qttools+=        qt5/lib
 BUILDLINK_LIBDIRS.qt5-qttools+=        qt5/plugins
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/assistant
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/designer
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/linguist
+.endif
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+
+.if ${PKG_BUILD_OPTIONS.qt5-qtbase:Mdbus}
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qdbus
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qdbusviewer
+.endif
+
+
+pkgbase:= qt5-qttools
+
+.include "../../mk/pkg-build-options.mk"
+
+.if ${PKG_BUILD_OPTIONS.qt5-qttools:Mllvm}
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qdoc
+.endif
+
+
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/lconvert
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/lprodump
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/lrelease
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/lrelease-pro
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/lupdate
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/lupdate-pro
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/pixeltool
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qcollectiongenerator
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qdistancefieldgenerator
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qhelpgenerator
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qtattributionsscanner
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qtdiag
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qtpaths
+BUILDLINK_FILES.qt5-qttools+=  qt5/bin/qtplugininfo
+
 .include "../../x11/qt5-qtxmlpatterns/buildlink3.mk"
 #.include "../../x11/qt5-qtwebkit/buildlink3.mk"
 #instead:



Home | Main Index | Thread Index | Old Index