From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2 2/2] bluez-qt: new package
Date: Fri, 22 Mar 2019 15:04:36 +0100 [thread overview]
Message-ID: <20190322140436.7454-2-l.stach@pengutronix.de> (raw)
In-Reply-To: <20190322140436.7454-1-l.stach@pengutronix.de>
This adds a package for the Qt wrapper for BlueZ 5 DBus API.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
v2:
- select HOST_CMAKE
- use full version number
- fix license file variable name
---
rules/bluez-qt.in | 13 ++++++++++
rules/bluez-qt.make | 58 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 71 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..ddb6ac1011fd
--- /dev/null
+++ b/rules/bluez-qt.in
@@ -0,0 +1,13 @@
+## SECTION=qt
+
+config BLUEZ_QT
+ tristate
+ prompt "bluez-qt"
+ select HOST_CMAKE
+ 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..5352d4359c22
--- /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.0
+BLUEZ_QT_MD5 := 2e2a7b4b5a2efbb2acc9c48f9111291f
+BLUEZ_QT := bluez-qt-$(BLUEZ_QT_VERSION)
+BLUEZ_QT_SUFFIX := tar.xz
+BLUEZ_QT_URL := https://download.kde.org/stable/frameworks/$(basename $(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
prev parent reply other threads:[~2019-03-22 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-22 14:04 [ptxdist] [PATCH v2 1/2] host-cmake-ecm: " Lucas Stach
2019-03-22 14:04 ` Lucas Stach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190322140436.7454-2-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox