* [ptxdist] [PATCH 1/2] host-cmake-ecm: new package
@ 2019-03-22 10:35 Lucas Stach
2019-03-22 10:35 ` [ptxdist] [PATCH 2/2] bluez-qt: " Lucas Stach
2019-03-22 11:10 ` [ptxdist] [PATCH 1/2] host-cmake-ecm: " Michael Olbrich
0 siblings, 2 replies; 5+ messages in thread
From: Lucas Stach @ 2019-03-22 10:35 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>
---
rules/host-cmake-ecm.in | 8 ++++++++
rules/host-cmake-ecm.make | 33 +++++++++++++++++++++++++++++++++
2 files changed, 41 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..a5029f94b3d8
--- /dev/null
+++ b/rules/host-cmake-ecm.in
@@ -0,0 +1,8 @@
+## SECTION=hosttools_noprompt
+
+config HOST_CMAKE_ECM
+ tristate
+ 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..b439e0f9c4cb
--- /dev/null
+++ b/rules/host-cmake-ecm.make
@@ -0,0 +1,33 @@
+# -*-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
+HOST_CMAKE_ECM_VERSION_PATCH := 0
+HOST_CMAKE_ECM_MD5 := 89be75b53098e1e6cd9b2e30b0bb9e44
+HOST_CMAKE_ECM := extra-cmake-modules-$(HOST_CMAKE_ECM_VERSION).$(HOST_CMAKE_ECM_VERSION_PATCH)
+HOST_CMAKE_ECM_SUFFIX := tar.xz
+HOST_CMAKE_ECM_URL := https://download.kde.org/stable/frameworks/$(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)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+HOST_CMAKE_ECM_CONF_TOOL := cmake
+
+# vim: syntax=make
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH 2/2] bluez-qt: new package
2019-03-22 10:35 [ptxdist] [PATCH 1/2] host-cmake-ecm: new package Lucas Stach
@ 2019-03-22 10:35 ` Lucas Stach
2019-03-22 10:55 ` Lucas Stach
2019-03-22 11:06 ` Michael Olbrich
2019-03-22 11:10 ` [ptxdist] [PATCH 1/2] host-cmake-ecm: " Michael Olbrich
1 sibling, 2 replies; 5+ messages in thread
From: Lucas Stach @ 2019-03-22 10:35 UTC (permalink / raw)
To: ptxdist
This adds a package for the Qt wrapper for BlueZ 5 DBus API.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
rules/bluez-qt.in | 12 ++++++++++
rules/bluez-qt.make | 58 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
create mode 100644 rules/bluez-qt.in
create mode 100644 rules/bluez-qt.make
diff --git a/rules/bluez-qt.in b/rules/bluez-qt.in
new file mode 100644
index 000000000000..8cf4808e659d
--- /dev/null
+++ b/rules/bluez-qt.in
@@ -0,0 +1,12 @@
+## SECTION=qt
+
+config BLUEZ_QT
+ tristate
+ prompt "bluez-qt"
+ select HOST_CMAKE_ECM
+ select QT5
+ select QT5_DBUS
+ select QT5_MODULE_QTBASE
+ select QT5_MODULE_QTDECLARATIVE
+ help
+ Qt wrapper for BlueZ 5 DBus API
diff --git a/rules/bluez-qt.make b/rules/bluez-qt.make
new file mode 100644
index 000000000000..10916d80f6a6
--- /dev/null
+++ b/rules/bluez-qt.make
@@ -0,0 +1,58 @@
+# -*-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
+#
+PACKAGES-$(PTXCONF_BLUEZ_QT) += bluez-qt
+
+#
+# Paths and names
+#
+BLUEZ_QT_VERSION := 5.56
+BLUEZ_QT_VERSION_PATCH := 0
+BLUEZ_QT_MD5 := 2e2a7b4b5a2efbb2acc9c48f9111291f
+BLUEZ_QT := bluez-qt-$(BLUEZ_QT_VERSION).$(BLUEZ_QT_VERSION_PATCH)
+BLUEZ_QT_SUFFIX := tar.xz
+BLUEZ_QT_URL := https://download.kde.org/stable/frameworks/$(BLUEZ_QT_VERSION)/$(BLUEZ_QT).$(BLUEZ_QT_SUFFIX)
+BLUEZ_QT_SOURCE := $(SRCDIR)/$(BLUEZ_QT).$(BLUEZ_QT_SUFFIX)
+BLUEZ_QT_DIR := $(BUILDDIR)/$(BLUEZ_QT)
+BLUEZ_QT_LICENSE := LGPL-2.1-or-later
+BLUEZ_QT__LICENSE_FILES := file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+BLUEZ_QT_CONF_TOOL := cmake
+BLUEZ_QT_CONF_OPT := \
+ $(CROSS_CMAKE_USR) \
+ -DECM_DIR=$(PTXCONF_SYSROOT_HOST)/share/ECM/cmake/
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/bluez-qt.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, bluez-qt)
+ @$(call install_fixup, bluez-qt,PRIORITY,optional)
+ @$(call install_fixup, bluez-qt,SECTION,base)
+ @$(call install_fixup, bluez-qt,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+ @$(call install_fixup, bluez-qt,DESCRIPTION,missing)
+
+ @$(call install_lib, bluez-qt, 0, 0, 0644, libKF5BluezQt)
+ @$(call install_tree, bluez-qt, 0, 0, -, /usr/lib/qt5/qml)
+
+ @$(call install_finish, bluez-qt)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH 2/2] bluez-qt: new package
2019-03-22 10:35 ` [ptxdist] [PATCH 2/2] bluez-qt: " Lucas Stach
@ 2019-03-22 10:55 ` Lucas Stach
2019-03-22 11:06 ` Michael Olbrich
1 sibling, 0 replies; 5+ messages in thread
From: Lucas Stach @ 2019-03-22 10:55 UTC (permalink / raw)
To: ptxdist
Am Freitag, den 22.03.2019, 11:35 +0100 schrieb Lucas Stach:
> This adds a package for the Qt wrapper for BlueZ 5 DBus API.
>
> > Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
[...]
> +BLUEZ_QT_VERSION := 5.56
> +BLUEZ_QT_VERSION_PATCH := 0
> +BLUEZ_QT_MD5 := 2e2a7b4b5a2efbb2acc9c48f9111291f
> +BLUEZ_QT := bluez-qt-$(BLUEZ_QT_VERSION).$(BLUEZ_QT_VERSION_PATCH)
> +BLUEZ_QT_SUFFIX := tar.xz
> +BLUEZ_QT_URL := https://download.kde.org/stable/frameworks/$(BLUEZ_QT_VERSION)/$(BLUEZ_QT).$(BLUEZ_QT_SUFFIX)
> +BLUEZ_QT_SOURCE := $(SRCDIR)/$(BLUEZ_QT).$(BLUEZ_QT_SUFFIX)
> +BLUEZ_QT_DIR := $(BUILDDIR)/$(BLUEZ_QT)
> +BLUEZ_QT_LICENSE := LGPL-2.1-or-later
> +BLUEZ_QT__LICENSE_FILES := file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c
^
I messed up here. Maybe Michael can fix this while applying, or I'll
fix it if a v2 is needed.
Regards,
Lucas
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH 2/2] bluez-qt: new package
2019-03-22 10:35 ` [ptxdist] [PATCH 2/2] bluez-qt: " Lucas Stach
2019-03-22 10:55 ` Lucas Stach
@ 2019-03-22 11:06 ` Michael Olbrich
1 sibling, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2019-03-22 11:06 UTC (permalink / raw)
To: ptxdist
On Fri, Mar 22, 2019 at 11:35:11AM +0100, Lucas Stach wrote:
> This adds a package for the Qt wrapper for BlueZ 5 DBus API.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> rules/bluez-qt.in | 12 ++++++++++
> rules/bluez-qt.make | 58 +++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 70 insertions(+)
> create mode 100644 rules/bluez-qt.in
> create mode 100644 rules/bluez-qt.make
>
> diff --git a/rules/bluez-qt.in b/rules/bluez-qt.in
> new file mode 100644
> index 000000000000..8cf4808e659d
> --- /dev/null
> +++ b/rules/bluez-qt.in
> @@ -0,0 +1,12 @@
> +## SECTION=qt
> +
> +config BLUEZ_QT
> + tristate
> + prompt "bluez-qt"
select HOST_CMAKE
Michael
> + select HOST_CMAKE_ECM
> + select QT5
> + select QT5_DBUS
> + select QT5_MODULE_QTBASE
> + select QT5_MODULE_QTDECLARATIVE
> + help
> + Qt wrapper for BlueZ 5 DBus API
> diff --git a/rules/bluez-qt.make b/rules/bluez-qt.make
> new file mode 100644
> index 000000000000..10916d80f6a6
> --- /dev/null
> +++ b/rules/bluez-qt.make
> @@ -0,0 +1,58 @@
> +# -*-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
> +#
> +PACKAGES-$(PTXCONF_BLUEZ_QT) += bluez-qt
> +
> +#
> +# Paths and names
> +#
> +BLUEZ_QT_VERSION := 5.56
> +BLUEZ_QT_VERSION_PATCH := 0
> +BLUEZ_QT_MD5 := 2e2a7b4b5a2efbb2acc9c48f9111291f
> +BLUEZ_QT := bluez-qt-$(BLUEZ_QT_VERSION).$(BLUEZ_QT_VERSION_PATCH)
> +BLUEZ_QT_SUFFIX := tar.xz
> +BLUEZ_QT_URL := https://download.kde.org/stable/frameworks/$(BLUEZ_QT_VERSION)/$(BLUEZ_QT).$(BLUEZ_QT_SUFFIX)
> +BLUEZ_QT_SOURCE := $(SRCDIR)/$(BLUEZ_QT).$(BLUEZ_QT_SUFFIX)
> +BLUEZ_QT_DIR := $(BUILDDIR)/$(BLUEZ_QT)
> +BLUEZ_QT_LICENSE := LGPL-2.1-or-later
> +BLUEZ_QT__LICENSE_FILES := file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +BLUEZ_QT_CONF_TOOL := cmake
> +BLUEZ_QT_CONF_OPT := \
> + $(CROSS_CMAKE_USR) \
> + -DECM_DIR=$(PTXCONF_SYSROOT_HOST)/share/ECM/cmake/
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/bluez-qt.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, bluez-qt)
> + @$(call install_fixup, bluez-qt,PRIORITY,optional)
> + @$(call install_fixup, bluez-qt,SECTION,base)
> + @$(call install_fixup, bluez-qt,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
> + @$(call install_fixup, bluez-qt,DESCRIPTION,missing)
> +
> + @$(call install_lib, bluez-qt, 0, 0, 0644, libKF5BluezQt)
> + @$(call install_tree, bluez-qt, 0, 0, -, /usr/lib/qt5/qml)
> +
> + @$(call install_finish, bluez-qt)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 2.20.1
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH 1/2] host-cmake-ecm: new package
2019-03-22 10:35 [ptxdist] [PATCH 1/2] host-cmake-ecm: new package Lucas Stach
2019-03-22 10:35 ` [ptxdist] [PATCH 2/2] bluez-qt: " Lucas Stach
@ 2019-03-22 11:10 ` Michael Olbrich
1 sibling, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2019-03-22 11:10 UTC (permalink / raw)
To: ptxdist
On Fri, Mar 22, 2019 at 11:35:10AM +0100, Lucas Stach wrote:
> 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>
> ---
> rules/host-cmake-ecm.in | 8 ++++++++
> rules/host-cmake-ecm.make | 33 +++++++++++++++++++++++++++++++++
> 2 files changed, 41 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..a5029f94b3d8
> --- /dev/null
> +++ b/rules/host-cmake-ecm.in
> @@ -0,0 +1,8 @@
> +## 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..b439e0f9c4cb
> --- /dev/null
> +++ b/rules/host-cmake-ecm.make
> @@ -0,0 +1,33 @@
> +# -*-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
Use the full version here.
> +HOST_CMAKE_ECM_VERSION_PATCH := 0
> +HOST_CMAKE_ECM_MD5 := 89be75b53098e1e6cd9b2e30b0bb9e44
> +HOST_CMAKE_ECM := extra-cmake-modules-$(HOST_CMAKE_ECM_VERSION).$(HOST_CMAKE_ECM_VERSION_PATCH)
> +HOST_CMAKE_ECM_SUFFIX := tar.xz
> +HOST_CMAKE_ECM_URL := https://download.kde.org/stable/frameworks/$(HOST_CMAKE_ECM_VERSION)/$(HOST_CMAKE_ECM).$(HOST_CMAKE_ECM_SUFFIX)
.../$(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)
No license?
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
Add an empty line here.
Michael
> +HOST_CMAKE_ECM_CONF_TOOL := cmake
> +
> +# vim: syntax=make
> --
> 2.20.1
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-22 11:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 10:35 [ptxdist] [PATCH 1/2] host-cmake-ecm: new package Lucas Stach
2019-03-22 10:35 ` [ptxdist] [PATCH 2/2] bluez-qt: " Lucas Stach
2019-03-22 10:55 ` Lucas Stach
2019-03-22 11:06 ` Michael Olbrich
2019-03-22 11:10 ` [ptxdist] [PATCH 1/2] host-cmake-ecm: " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox