diff --git a/classes/kde.bbclass b/classes/kde.bbclass index 49f937c4..87c78c18 100644 --- a/classes/kde.bbclass +++ b/classes/kde.bbclass @@ -9,9 +9,13 @@ DEPENDS += "qtbase extra-cmake-modules-native" # extra-cmake-modules cause dependent to check for python inherit cmake_qt5 pythonnative -FILES_${PN} += "${libdir}/plugins/kf5" +FILES_${PN} += "${libdir}/plugins/kf5 ${datadir}/kf5" FILES_${PN}-dev += "${libdir}/cmake" FILES_${PN}-dbg += "${libdir}/plugins/kf5/.debug" -EXTRA_OECMAKE += "-DECM_MKSPECS_INSTALL_DIR=${libdir}/${QT_DIR_NAME}/mkspecs/modules" +EXTRA_OECMAKE += " \ + -DECM_MKSPECS_INSTALL_DIR=${libdir}/${QT_DIR_NAME}/mkspecs/modules \ + -DCMAKE_INSTALL_DATADIR=share \ + -DCMAKE_INSTALL_DBUSINTERFACEDIR=share/dbus-1/interfaces \ +" FILES_${PN}-dev += "${libdir}/${QT_DIR_NAME}/mkspecs" diff --git a/recipes-kde-base/attica/attica_5.5.0.bb b/recipes-kde-base/attica/attica_5.5.0.bb new file mode 100644 index 00000000..36dd3e9d --- /dev/null +++ b/recipes-kde-base/attica/attica_5.5.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Open Collaboration Services API" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=be254b9345b1c2ff33e1a6a96768f2fb \ +" + +inherit kde cmake-lib + +SRCREV = "59a419adc1ba6ee9aaff64a176b3f3829930a73c" + +CMAKE_HIDE_ERROR[1] = "KF5Attica, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5Attica, -S${includedir}, -S${STAGING_INCDIR}" + diff --git a/recipes-kde-base/kauth/kauth-native.bb b/recipes-kde-base/kauth/kauth-native.bb index a9026730..7b248cfb 100644 --- a/recipes-kde-base/kauth/kauth-native.bb +++ b/recipes-kde-base/kauth/kauth-native.bb @@ -2,4 +2,6 @@ require ${BPN}.inc inherit native +# REVISIT: polkit-qt-1 backend + DEPENDS += "kcoreaddons-native" diff --git a/recipes-kde-base/kauth/kauth.bb b/recipes-kde-base/kauth/kauth.bb index 453fd3e8..050d1746 100644 --- a/recipes-kde-base/kauth/kauth.bb +++ b/recipes-kde-base/kauth/kauth.bb @@ -2,10 +2,10 @@ require ${BPN}.inc inherit cmake-lib -DEPENDS += "${BPN}-native kcoreaddons" +DEPENDS += "${BPN}-native kcoreaddons polkit-qt-1" # cross libs / headers CMAKE_HIDE_ERROR[1] = "KF5Auth, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" CMAKE_HIDE_ERROR[2] = "KF5Auth, -S${includedir}, -S${STAGING_INCDIR}" -# native executables -CMAKE_HIDE_ERROR[3] = "KF5Auth, -S${libexecdir}, -S${STAGING_LIBDIR_NATIVE}/${BPN}" +# executables: REVISIT there is no native backend +CMAKE_HIDE_ERROR[3] = "KF5Auth, -S${libexecdir}, -S${STAGING_LIBDIR}/${BPN}" diff --git a/recipes-kde-base/kauth/kauth.inc b/recipes-kde-base/kauth/kauth.inc index 8332282c..46d64566 100644 --- a/recipes-kde-base/kauth/kauth.inc +++ b/recipes-kde-base/kauth/kauth.inc @@ -14,5 +14,5 @@ PV = "5.5.0" EXTRA_OECMAKE += "-DAUTOTESTS=OFF" -FILES_${PN} += "${datadir} ${libdir}/plugins" +FILES_${PN} += "${libdir}/plugins" FILES_${PN}-dbg += "${libdir}/plugins/*/*/.debug" diff --git a/recipes-kde-base/kbookmarks/kbookmarks_5.5.0.bb b/recipes-kde-base/kbookmarks/kbookmarks_5.5.0.bb index db4ee4b6..1a87d41a 100644 --- a/recipes-kde-base/kbookmarks/kbookmarks_5.5.0.bb +++ b/recipes-kde-base/kbookmarks/kbookmarks_5.5.0.bb @@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = " \ inherit kde cmake-lib -DEPENDS += "kconfigwidgets" +DEPENDS += "kconfigwidgets kconfig kiconthemes kxmlgui" + +SRCREV = "ccbd27549aad8a5efefe2c0b0e1473238451b471" # cross libs / headers CMAKE_HIDE_ERROR[1] = "KF5I18n, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" CMAKE_HIDE_ERROR[2] = "KF5I18n, -S${includedir}, -S${STAGING_INCDIR}" - -SRCREV = "ccbd27549aad8a5efefe2c0b0e1473238451b471" diff --git a/recipes-kde-base/kcompletion/kcompletion_5.5.0.bb b/recipes-kde-base/kcompletion/kcompletion_5.5.0.bb new file mode 100644 index 00000000..6092373e --- /dev/null +++ b/recipes-kde-base/kcompletion/kcompletion_5.5.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Text completion helpers and widgets" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +DEPENDS += "kconfig kwidgetsaddons" + +SRCREV = "278e8f0c396a1e30723775d437db34a46a5843c5" + +# cross libs / headers +CMAKE_HIDE_ERROR[1] = "KF5Completion, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5Completion, -S${includedir}, -S${STAGING_INCDIR}" diff --git a/recipes-kde-base/kconfigwidgets/kconfigwidgets_5.5.0.bb b/recipes-kde-base/kconfigwidgets/kconfigwidgets_5.5.0.bb index 3f6caaef..1f9e711e 100644 --- a/recipes-kde-base/kconfigwidgets/kconfigwidgets_5.5.0.bb +++ b/recipes-kde-base/kconfigwidgets/kconfigwidgets_5.5.0.bb @@ -6,10 +6,12 @@ LIC_FILES_CHKSUM = " \ inherit kde cmake-lib -DEPENDS += "kauth kcodecs kdoctools" - -# cross libs / headers -CMAKE_HIDE_ERROR[1] = "KF5I18n, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" -CMAKE_HIDE_ERROR[2] = "KF5I18n, -S${includedir}, -S${STAGING_INCDIR}" +DEPENDS += "kauth kcodecs kdoctools kguiaddons kwidgetsaddons" SRCREV = "c2e6bc012e801d4911deead21730ea5c7f0df651" + +# cross libs / headers +CMAKE_HIDE_ERROR[1] = "KF5ConfigWidgets, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5ConfigWidgets, -S${includedir}, -S${STAGING_INCDIR}" + +RDEPENDS_${PN} += "perl" diff --git a/recipes-kde-base/kcoreaddons/kcoreaddons.inc b/recipes-kde-base/kcoreaddons/kcoreaddons.inc index 7a021926..aa0b55fb 100644 --- a/recipes-kde-base/kcoreaddons/kcoreaddons.inc +++ b/recipes-kde-base/kcoreaddons/kcoreaddons.inc @@ -11,6 +11,6 @@ PV = "5.5.0" PACKAGES =+ "${PN}-bin" -FILES_${PN} += "${datadir}" +FILES_${PN} += "${datadir}/mime" FILES_${PN}-bin = "${bindir}/desktoptojson" diff --git a/recipes-kde-base/kcrash/kcrash_5.5.0.bb b/recipes-kde-base/kcrash/kcrash_5.5.0.bb new file mode 100644 index 00000000..701fffd6 --- /dev/null +++ b/recipes-kde-base/kcrash/kcrash_5.5.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Support for application crash analysis and bug report from apps" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +DEPENDS += "kcoreaddons kwindowsystem" + +SRCREV = "3101528fc7908096333b62af8abce29b303b436c" + +# cross libs / headers +CMAKE_HIDE_ERROR[1] = "KF5Crash, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5Crash, -S${includedir}, -S${STAGING_INCDIR}" diff --git a/recipes-kde-base/kdbusaddons/kdbusaddons_5.5.0.bb b/recipes-kde-base/kdbusaddons/kdbusaddons_5.5.0.bb new file mode 100644 index 00000000..4ed72752 --- /dev/null +++ b/recipes-kde-base/kdbusaddons/kdbusaddons_5.5.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Addons to QtDBus" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +SRCREV = "d8ff80cd58ba070ce266462860dd7ddba9569d7d" + +CMAKE_HIDE_ERROR[1] = "KF5DBusAddons, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5DBusAddons, -S${includedir}, -S${STAGING_INCDIR}" + diff --git a/recipes-kde-base/kdoctools/kdoctools-native.bb b/recipes-kde-base/kdoctools/kdoctools-native.bb index b02a0dd7..dc650c76 100644 --- a/recipes-kde-base/kdoctools/kdoctools-native.bb +++ b/recipes-kde-base/kdoctools/kdoctools-native.bb @@ -1,6 +1,6 @@ require ${BPN}.inc -inherit native +inherit native cmake-lib DEPENDS += "libxslt-native libxml2-native karchive-native ki18n-native" @@ -8,3 +8,7 @@ SRC_URI += " \ file://0003-install-docbookl10nhelper-we-need-the-native-one-for.patch \ file://0004-don-t-build-documentation.patch \ " + +# make meinproc5 find kdoctools data +CMAKE_HIDE_ERROR[1] = "KF5DocToolsMacros.cmake, -s--stylesheet, -S--srcdir ${STAGING_DATADIR_NATIVE}/kf5/kdoctools --stylesheet" + diff --git a/recipes-kde-base/kdoctools/kdoctools.bb b/recipes-kde-base/kdoctools/kdoctools.bb index 3d653436..068322d4 100644 --- a/recipes-kde-base/kdoctools/kdoctools.bb +++ b/recipes-kde-base/kdoctools/kdoctools.bb @@ -19,4 +19,7 @@ CMAKE_HIDE_ERROR[2] = "KF5DocTools, -S${includedir}, -S${STAGING_INCDIR}" # native binaries CMAKE_HIDE_ERROR[3] = "KF5DocTools, -S${bindir}, -S${STAGING_BINDIR_NATIVE}" +# make meinproc5 find kdoctools data +CMAKE_HIDE_ERROR[4] = "KF5DocToolsMacros.cmake, -s--stylesheet, -S--srcdir ${STAGING_DATADIR}/kf5/kdoctools --stylesheet" + FILES_${PN}-dev += "${datadir}/kf5/kdoctools/customization" diff --git a/recipes-kde-base/kglobalaccel/kglobalaccel_5.5.0.bb b/recipes-kde-base/kglobalaccel/kglobalaccel_5.5.0.bb new file mode 100644 index 00000000..0947aac3 --- /dev/null +++ b/recipes-kde-base/kglobalaccel/kglobalaccel_5.5.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Add support for global workspace shortcuts" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +SRCREV = "7a614f29db3a0fbdcf6fe7ce2897c83ed505c11c" + +# cross libs / headers +CMAKE_HIDE_ERROR[1] = "KF5GlobalAccel, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5GlobalAccel, -S${includedir}, -S${STAGING_INCDIR}" + +FILES_${PN} += "${datadir}/dbus-1" diff --git a/recipes-kde-base/kguiaddons/kguiaddons_5.5.0.bb b/recipes-kde-base/kguiaddons/kguiaddons_5.5.0.bb new file mode 100644 index 00000000..ff84c15e --- /dev/null +++ b/recipes-kde-base/kguiaddons/kguiaddons_5.5.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "Addons to QtGui" +LICENSE = "GPLv2 | LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24 \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +SRCREV = "61cd81a1b0beb7ce2a0c6ae40f574e06e3b2e032" + +CMAKE_HIDE_ERROR[1] = "KF5GuiAddons, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5GuiAddons, -S${includedir}, -S${STAGING_INCDIR}" + diff --git a/recipes-kde-base/ki18n/files/0002-align-KI18N_MODULE_DIR-to-proper-path.patch b/recipes-kde-base/ki18n/files/0002-align-KI18N_MODULE_DIR-to-proper-path.patch new file mode 100644 index 00000000..2ab7f326 --- /dev/null +++ b/recipes-kde-base/ki18n/files/0002-align-KI18N_MODULE_DIR-to-proper-path.patch @@ -0,0 +1,30 @@ +From e977098c48c7cbea7bfc13b059759d02e78e5f55 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 1 Dec 2014 19:14:24 +0100 +Subject: [PATCH] align KI18N_MODULE_DIR to proper path +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + KF5I18nConfig.cmake.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/KF5I18nConfig.cmake.in b/KF5I18nConfig.cmake.in +index 64dc500..7c0c1f6 100644 +--- a/KF5I18nConfig.cmake.in ++++ b/KF5I18nConfig.cmake.in +@@ -1,6 +1,6 @@ + @PACKAGE_INIT@ + +-set(KI18N_MODULE_DIR "${PACKAGE_PREFIX_DIR}/@CMAKECONFIG_INSTALL_DIR@") ++set(KI18N_MODULE_DIR "${CMAKE_CURRENT_LIST_DIR}") + + include("${CMAKE_CURRENT_LIST_DIR}/KF5I18nTargets.cmake") + include("${CMAKE_CURRENT_LIST_DIR}/KF5I18NMacros.cmake") +-- +1.8.3.1 + diff --git a/recipes-kde-base/ki18n/ki18n.bb b/recipes-kde-base/ki18n/ki18n.bb index 0378f836..b0a4546e 100644 --- a/recipes-kde-base/ki18n/ki18n.bb +++ b/recipes-kde-base/ki18n/ki18n.bb @@ -2,6 +2,8 @@ require ${BPN}.inc inherit cmake-lib +SRC_URI += "file://0002-align-KI18N_MODULE_DIR-to-proper-path.patch" + # cross libs / headers CMAKE_HIDE_ERROR[1] = "KF5I18n, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" CMAKE_HIDE_ERROR[2] = "KF5I18n, -S${includedir}, -S${STAGING_INCDIR}" diff --git a/recipes-kde-base/kiconthemes/kiconthemes_5.5.0.bb b/recipes-kde-base/kiconthemes/kiconthemes_5.5.0.bb new file mode 100644 index 00000000..946ce68e --- /dev/null +++ b/recipes-kde-base/kiconthemes/kiconthemes_5.5.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Support for icon themes" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +DEPENDS += "qtsvg ki18n kconfig kconfigwidgets kwidgetsaddons kitemviews" + +SRCREV = "99cd7bdbd99e809d9de26977c4788d2d90db24cf" + +# cross libs / headers +CMAKE_HIDE_ERROR[1] = "KF5IconThemes, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5IconThemes, -S${includedir}, -S${STAGING_INCDIR}" diff --git a/recipes-kde-base/kitemviews/kitemviews_5.5.0.bb b/recipes-kde-base/kitemviews/kitemviews_5.5.0.bb new file mode 100644 index 00000000..2effb3d8 --- /dev/null +++ b/recipes-kde-base/kitemviews/kitemviews_5.5.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "Widget addons for Qt Model/View" +LICENSE = "GPLv2 | LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24 \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +SRCREV = "19b903c7d99238e3bf0257bb9cd9602fa9a71386" + +# cross libs / headers +CMAKE_HIDE_ERROR[1] = "KF5ItemViews, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5ItemViews, -S${includedir}, -S${STAGING_INCDIR}" diff --git a/recipes-kde-base/kservice/kservice_5.5.0.bb b/recipes-kde-base/kservice/kservice_5.5.0.bb index 2ff595a8..97f8fe43 100644 --- a/recipes-kde-base/kservice/kservice_5.5.0.bb +++ b/recipes-kde-base/kservice/kservice_5.5.0.bb @@ -1,15 +1,20 @@ SUMMARY = "Advanced plugin and service introspection" -LICENSE = "BSD & LGPLv2.1" +LICENSE = "GPLv2 | GPLv3 | LGPLv2.1" LIC_FILES_CHKSUM = " \ - file://COPYING-CMAKE-SCRIPTS;md5=3775480a712fc46a69647678acb234cb \ + file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24 \ + file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ " -inherit kde -#cmake-lib - -#CMAKE_HIDE_ERROR[dir1] = "KF5I18n/KF5I18nTargets.cmake, -cccoutforoe filecheckloop" - -#DEPENDS += "qtscript" +inherit kde cmake-lib SRCREV = "91311e0b348f73713b5b2d5721c46b75207a5a7b" + +DEPENDS += "kconfig kcoreaddons kcrash kdbusaddons ki18n kdoctools" + +CMAKE_HIDE_ERROR[1] = "KF5Service, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5Service, -S${includedir}, -S${STAGING_INCDIR}" + +FILES_${PN} += "${datadir}/kservicetypes5" + + diff --git a/recipes-kde-base/ktextwidgets/ktextwidgets_5.5.0.bb b/recipes-kde-base/ktextwidgets/ktextwidgets_5.5.0.bb new file mode 100644 index 00000000..1d4261e7 --- /dev/null +++ b/recipes-kde-base/ktextwidgets/ktextwidgets_5.5.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "Advanced text editing widgets" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +DEPENDS += "kcompletion kconfig kconfigwidgets ki18n kiconthemes kservice kwidgetsaddons kwindowsystem sonnet" + +SRCREV = "fb7d6d09c5e2c4156138d9dd5b897881225cfe41" + +# cross libs / headers +CMAKE_HIDE_ERROR[1] = "KF5TextWidgets, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5TextWidgets, -S${includedir}, -S${STAGING_INCDIR}" + +FILES_${PN} += "${datadir}/kservicetypes5" diff --git a/recipes-kde-base/kwidgetsaddons/kwidgetsaddons_5.5.0.bb b/recipes-kde-base/kwidgetsaddons/kwidgetsaddons_5.5.0.bb new file mode 100644 index 00000000..7eb8a5b4 --- /dev/null +++ b/recipes-kde-base/kwidgetsaddons/kwidgetsaddons_5.5.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "Addons to QtWidgets" +LICENSE = "GPLv2 | LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +DEPENDS += "qttools" + +inherit kde cmake-lib + +SRCREV = "ea0e37b25b239edd8d7ed9236477f94ac01b4cc8" + +CMAKE_HIDE_ERROR[1] = "KF5WidgetsAddons, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5WidgetsAddons, -S${includedir}, -S${STAGING_INCDIR}" + diff --git a/recipes-kde-base/kwindowsystem/kwindowsystem_5.5.0.bb b/recipes-kde-base/kwindowsystem/kwindowsystem_5.5.0.bb new file mode 100644 index 00000000..c021807a --- /dev/null +++ b/recipes-kde-base/kwindowsystem/kwindowsystem_5.5.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Access to the windowing system" +LICENSE = "GPLv2 | LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +SRCREV = "ef9ecca7a4619a11d3bcd31c70571ed6f6c2b2b3" + +CMAKE_HIDE_ERROR[1] = "KF5WindowSystem, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5WindowSystem, -S${includedir}, -S${STAGING_INCDIR}" + diff --git a/recipes-kde-base/kxmlgui/kxmlgui_5.5.0.bb b/recipes-kde-base/kxmlgui/kxmlgui_5.5.0.bb new file mode 100644 index 00000000..3ceda7a1 --- /dev/null +++ b/recipes-kde-base/kxmlgui/kxmlgui_5.5.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "User configurable main windows" +LICENSE = "GPLv2 | LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24 \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde cmake-lib + +DEPENDS += "kitemviews kconfig kglobalaccel kconfigwidgets ki18n kiconthemes ktextwidgets kwidgetsaddons kwindowsystem attica" + +SRCREV = "2c13cbff3775a615fb9f95c68510b04dffc596e8" + +# cross libs / headers +CMAKE_HIDE_ERROR[1] = "KF5XmlGui, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5XmlGui, -S${includedir}, -S${STAGING_INCDIR}" diff --git a/recipes-kde-base/sonnet/files/0001-install-parsetrigrams-we-need-the-native-one-for-cro.patch b/recipes-kde-base/sonnet/files/0001-install-parsetrigrams-we-need-the-native-one-for-cro.patch new file mode 100644 index 00000000..b81b24c7 --- /dev/null +++ b/recipes-kde-base/sonnet/files/0001-install-parsetrigrams-we-need-the-native-one-for-cro.patch @@ -0,0 +1,32 @@ +From 8c6887cd57e862b919f7aa359a6721435c55ceae Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 1 Dec 2014 17:15:46 +0100 +Subject: [PATCH] install parsetrigrams - we need the native one for cross + compilation +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + data/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt +index edf4b9a..4d41737 100644 +--- a/data/CMakeLists.txt ++++ b/data/CMakeLists.txt +@@ -3,7 +3,7 @@ project(sonnetdata) + add_executable(parsetrigrams parsetrigrams.cpp) + + TARGET_LINK_LIBRARIES(parsetrigrams PUBLIC Qt5::Core) +-#INSTALL(TARGETS parsetrigrams DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) ++install(TARGETS parsetrigrams EXPORT KF5SonnetTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) + + macro(create_trigrams_map _target_name _in_DIR _out_FILE) + get_target_property(PARSETRIGRAMS_EXECUTABLE parsetrigrams LOCATION) +-- +1.8.3.1 + diff --git a/recipes-kde-base/sonnet/sonnet-native.bb b/recipes-kde-base/sonnet/sonnet-native.bb new file mode 100644 index 00000000..04c80276 --- /dev/null +++ b/recipes-kde-base/sonnet/sonnet-native.bb @@ -0,0 +1,7 @@ +require ${BPN}.inc + +inherit native + +SRC_URI += " \ + file://0001-install-parsetrigrams-we-need-the-native-one-for-cro.patch \ +" diff --git a/recipes-kde-base/sonnet/sonnet.bb b/recipes-kde-base/sonnet/sonnet.bb new file mode 100644 index 00000000..089c1a5c --- /dev/null +++ b/recipes-kde-base/sonnet/sonnet.bb @@ -0,0 +1,14 @@ +require ${BPN}.inc + +inherit cmake-lib + +DEPENDS += "${BPN}-native" + +do_configure_append() { + # use native parsetrigrams + sed -i 's:\./parsetrigrams:${STAGING_BINDIR_NATIVE}/parsetrigrams:' ${B}/data/CMakeFiles/trigrams_sonnet.dir/build.make +} + +CMAKE_HIDE_ERROR[1] = "KF5Sonnet, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" +CMAKE_HIDE_ERROR[2] = "KF5Sonnet, -S${includedir}, -S${STAGING_INCDIR}" + diff --git a/recipes-kde-base/sonnet/sonnet.inc b/recipes-kde-base/sonnet/sonnet.inc new file mode 100644 index 00000000..edcd8d95 --- /dev/null +++ b/recipes-kde-base/sonnet/sonnet.inc @@ -0,0 +1,10 @@ +SUMMARY = "Support for spellchecking" +LICENSE = "GPLv2 | LGPLv2.1" +LIC_FILES_CHKSUM = " \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ +" + +inherit kde + +SRCREV = "b2ad14a3480a7561387726cab3c0616987340b4b" +PV = "5.5.0"