Skip to contentSkip to conversation

Add KF5 package kcoreaddons

PATCH New Yann E. MORIN 2 participants 2 messages Feb 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add KF5 package kcoreaddons

From: Pierre Ducroquet <[email protected]>

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.

[yann.morin.1998 at free.fr + titouan.christophe at railnova.eu:
- add missing qt5tools select
- fix hash for new version
- fix check-package
]

---
 package/kf5/Config.in                            |  1 +
 package/kf5/kf5-kcoreaddons/Config.in            | 14 ++++++++++++++
 package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash |  2 ++
 package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk   | 16 ++++++++++++++++
 4 files changed, 33 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
package/kf5/Config.in +1 -0
index 075b246269..2e50bce49e 100644
@@ -8,6 +8,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
package/kf5/kf5-kcoreaddons/Config.in new file +14 -0
new file mode 100644
index 0000000000..88fda03ee0
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_KF5_KCOREADDONS
+	bool "kf5-kcoreaddons"
+	select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES
+	select BR2_PACKAGE_QT5TOOLS
+	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
package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash new file +2 -0
new file mode 100644
index 0000000000..6af45c37c5
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 40ff04757e4ac19bc8448940fe18886c894a2069865966cc865fc55ff67b0b46 kcoreaddons-5.47.0.tar.xz
package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk new file +16 -0
new file mode 100644
index 0000000000..acddf493dc
@@ -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))
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 Add KF5 package kcoreaddons

Hello,

Quoted 15 lines · On Mon, 4 Feb 2019 10:51:12 +0100 "Yann E. MORIN" <[email protected]>…

From: Pierre Ducroquet <[email protected]>

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.

[yann.morin.1998 at free.fr + titouan.christophe at railnova.eu:
- add missing qt5tools select
- fix hash for new version
- fix check-package
]

Quoted 9 lines
---
 package/kf5/Config.in                            |  1 +
 package/kf5/kf5-kcoreaddons/Config.in            | 14 ++++++++++++++
 package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash |  2 ++
 package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk   | 16 ++++++++++++++++
 4 files changed, 33 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

Applied with the following changes:

[Thomas:
- fix typo in LICENSE_FILE -> LICENSE_FILES
- add hash for license file
- change license to LGPL-2.1 instead of LGPL-2.1+, since at least one file says "2.1" without the "or later" option, and so saying just LGPL-2.1 is the safe choice
]

Also, note that the commit title was not correct, so I've adjusted that as well.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com