[5/5] Add KF5 package kcoreaddons

Message ID 20180215204815.14707-5-pinaraf@pinaraf.info
State New
Headers show
Series
  • [1/5] Introduce KDE Frameworks 5 packages
Related show

Commit Message

Pierre Feb. 15, 2018, 8:48 p.m.
KCoreAddons provides classes built on top of QtCore to perform various tasks such as
manipulating mime types, autosaving files, creating backup files, generating random
sequences, performing text manipulations such as macro replacement, accessing
user information and many more.

Signed-off-by: Pierre Ducroquet <pinaraf@pinaraf.info>
---
 package/kf5/Config.in                            |  1 +
 package/kf5/kf5-kcoreaddons/Config.in            | 13 +++++++++++++
 package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash |  2 ++
 package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk   | 16 ++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/kf5/kf5-kcoreaddons/Config.in
 create mode 100644 package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash
 create mode 100644 package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk

Patch

diff --git a/package/kf5/Config.in b/package/kf5/Config.in
index 4a002fa28a..d7258d301e 100644
--- a/package/kf5/Config.in
+++ b/package/kf5/Config.in
@@ -7,6 +7,7 @@  menuconfig BR2_PACKAGE_KF5
 
 if BR2_PACKAGE_KF5
 source "package/kf5/kf5-extra-cmake-modules/Config.in"
+source "package/kf5/kf5-kcoreaddons/Config.in"
 source "package/kf5/kf5-modemmanager-qt/Config.in"
 source "package/kf5/kf5-networkmanager-qt/Config.in"
 endif
diff --git a/package/kf5/kf5-kcoreaddons/Config.in b/package/kf5/kf5-kcoreaddons/Config.in
new file mode 100644
index 0000000000..ee99f74d05
--- /dev/null
+++ b/package/kf5/kf5-kcoreaddons/Config.in
@@ -0,0 +1,13 @@ 
+config BR2_PACKAGE_KF5_KCOREADDONS
+	bool "kf5-kcoreaddons"
+	select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES
+	select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
+	help
+	  KF5 is a set of Qt framework addons, extending Qt in
+	  various ways, not only restricted in helping integration
+	  in KDE.
+	  
+	  This package contains KCoreAddons, a set of classes built
+	  on top of QtCore to perform various tasks.
+
+	  https://api.kde.org/frameworks/kcoreaddons/html/index.html
diff --git a/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash b/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash
new file mode 100644
index 0000000000..8e4ed0e2f9
--- /dev/null
+++ b/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256 c67f008b79365913cbb8c62d2b1b48353c1302f6a351a9bc34b874b18392ef82 kcoreaddons-5.43.0.tar.xz
diff --git a/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk b/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk
new file mode 100644
index 0000000000..acddf493dc
--- /dev/null
+++ b/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk
@@ -0,0 +1,16 @@ 
+################################################################################
+#
+# kf5-kcoreaddons
+#
+################################################################################
+
+KF5_KCOREADDONS_VERSION = $(KF5_VERSION)
+KF5_KCOREADDONS_SITE = $(KF5_SITE)
+KF5_KCOREADDONS_SOURCE = kcoreaddons-$(KF5_KCOREADDONS_VERSION).tar.xz
+KF5_KCOREADDONS_LICENSE = LGPL-2.1+
+KF5_KCOREADDONS_LICENSE_FILE = COPYING.LIB
+
+KF5_KCOREADDONS_DEPENDENCIES = kf5-extra-cmake-modules qt5tools
+KF5_KCOREADDONS_INSTALL_STAGING = YES
+
+$(eval $(cmake-package))