From eeb64e60b4f78958cfe915a3e77ec715b8f44b26 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 21 Mar 2024 19:54:11 +0200 Subject: [PATCH] freeciv: Add freeciv-qt6.inc Currently unused replacement for freeciv-qt5.inc. Just change which one freeciv-3.1 main recipe includes to switch between Qt5 and Qt6 support. Signed-off-by: Marko Lindqvist --- recipes-games/freeciv/freeciv-qt6.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-games/freeciv/freeciv-qt6.inc diff --git a/recipes-games/freeciv/freeciv-qt6.inc b/recipes-games/freeciv/freeciv-qt6.inc new file mode 100644 index 0000000..5a39991 --- /dev/null +++ b/recipes-games/freeciv/freeciv-qt6.inc @@ -0,0 +1,11 @@ + +require freeciv.inc + +inherit qt6-paths + +EXTRA_OECONF += "\ +--with-qtver=qt6 \ +--with-qt6-includes=${STAGING_DIR_HOST}${QT6_INSTALL_INCLUDEDIR} \ +--with-qt6-libs=${STAGING_DIR_HOST}${QT6_INSTALL_LIBDIR} \ +MOCCMD=${STAGING_DIR_NATIVE}${QT6_INSTALL_LIBEXECDIR}/moc \ +"