diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-03-22 15:04:36 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-03-25 08:16:51 +0100 |
commit | ab20d15eb1c58bdf9fb953f7b63af10dba7aa381 (patch) | |
tree | 9b6cb9ea9b123524e780bb01fe7de896b234c63d /rules/bluez-qt.make | |
parent | e2b406d2458c930e79ffcf33aee163ad08addf4b (diff) | |
download | ptxdist-ab20d15eb1c58bdf9fb953f7b63af10dba7aa381.tar.gz ptxdist-ab20d15eb1c58bdf9fb953f7b63af10dba7aa381.tar.xz |
bluez-qt: new package
This adds a package for the Qt wrapper for BlueZ 5 DBus API.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/bluez-qt.make')
-rw-r--r-- | rules/bluez-qt.make | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/rules/bluez-qt.make b/rules/bluez-qt.make new file mode 100644 index 000000000..5352d4359 --- /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 |