summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-06-21 12:44:39 +0000
committernia <nia@pkgsrc.org>2021-06-21 12:44:39 +0000
commit06eae744f62467ccf06918945fec86e2ab52ddd8 (patch)
tree2f94457c004ffb297fa6716b8c7893916cc27fdd /x11
parente96ac5228c6ac5cfb747fd1e2722f3316c262082 (diff)
downloadpkgsrc-06eae744f62467ccf06918945fec86e2ab52ddd8.tar.gz
qt5: Add BUILDLINK_FILES workarounds for cmake
Fixes configuring in print/scribus-qt5.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt5-qtbase/buildlink3.mk13
-rw-r--r--x11/qt5-qttools/buildlink3.mk42
2 files changed, 53 insertions, 2 deletions
diff --git a/x11/qt5-qtbase/buildlink3.mk b/x11/qt5-qtbase/buildlink3.mk
index d2641224f36..646d8acb94a 100644
--- a/x11/qt5-qtbase/buildlink3.mk
+++ b/x11/qt5-qtbase/buildlink3.mk
@@ -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 @@ PTHREAD_OPTS+= require
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 --git a/x11/qt5-qttools/buildlink3.mk b/x11/qt5-qttools/buildlink3.mk
index 9ed545c39eb..08cc4c57dbe 100644
--- a/x11/qt5-qttools/buildlink3.mk
+++ b/x11/qt5-qttools/buildlink3.mk
@@ -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_INCDIRS.qt5-qttools+= qt5/include
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: