mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 1/2] host-cmake-ecm: new package
@ 2019-03-22 14:04 Lucas Stach
  2019-03-22 14:04 ` [ptxdist] [PATCH v2 2/2] bluez-qt: " Lucas Stach
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2019-03-22 14:04 UTC (permalink / raw)
  To: ptxdist

This adds the Extra CMake Modules package, which provides CMake
modules commonly used by software produced by the KDE community.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
v2:
- select HOST_CMAKE
- use full version number
- add license information
---
 rules/host-cmake-ecm.in   |  9 +++++++++
 rules/host-cmake-ecm.make | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 rules/host-cmake-ecm.in
 create mode 100644 rules/host-cmake-ecm.make

diff --git a/rules/host-cmake-ecm.in b/rules/host-cmake-ecm.in
new file mode 100644
index 000000000000..5717945ab751
--- /dev/null
+++ b/rules/host-cmake-ecm.in
@@ -0,0 +1,9 @@
+## SECTION=hosttools_noprompt
+
+config HOST_CMAKE_ECM
+	tristate
+	select HOST_CMAKE
+	default y if ALLYES
+	help
+	  Extra CMake Modules adds CMake modules commonly used
+	  by software produced by the KDE community.
diff --git a/rules/host-cmake-ecm.make b/rules/host-cmake-ecm.make
new file mode 100644
index 000000000000..d7a3aace354a
--- /dev/null
+++ b/rules/host-cmake-ecm.make
@@ -0,0 +1,34 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Lucas Stach <l.stach@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_CMAKE_ECM) += host-cmake-ecm
+
+#
+# Paths and names
+#
+HOST_CMAKE_ECM_VERSION		:= 5.56.0
+HOST_CMAKE_ECM_MD5		:= 89be75b53098e1e6cd9b2e30b0bb9e44
+HOST_CMAKE_ECM			:= extra-cmake-modules-$(HOST_CMAKE_ECM_VERSION)
+HOST_CMAKE_ECM_SUFFIX		:= tar.xz
+HOST_CMAKE_ECM_URL		:= https://download.kde.org/stable/frameworks/$(basename $(HOST_CMAKE_ECM_VERSION))/$(HOST_CMAKE_ECM).$(HOST_CMAKE_ECM_SUFFIX)
+HOST_CMAKE_ECM_SOURCE		:= $(SRCDIR)/$(HOST_CMAKE_ECM).$(HOST_CMAKE_ECM_SUFFIX)
+HOST_CMAKE_ECM_DIR		:= $(HOST_BUILDDIR)/$(HOST_CMAKE_ECM)
+HOST_CMAKE_ECM_LICENSE		:= BSD-3-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_CMAKE_ECM_CONF_TOOL	:= cmake
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-22 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 14:04 [ptxdist] [PATCH v2 1/2] host-cmake-ecm: new package Lucas Stach
2019-03-22 14:04 ` [ptxdist] [PATCH v2 2/2] bluez-qt: " Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox