From 1409bfaf3f6dcacaf9ffeaffe7384a2a6c7fd826 Mon Sep 17 00:00:00 2001 From: Andreas Cord-Landwehr Date: Wed, 22 Jan 2025 20:04:28 +0100 Subject: [PATCH] qml-box2d: package QML plugin --- recipes-support/qml-box2d.inc | 26 ++++++++++++++++++++++++++ recipes-support/qml-box2d_git.bb | 5 +++++ 2 files changed, 31 insertions(+) create mode 100644 recipes-support/qml-box2d.inc create mode 100644 recipes-support/qml-box2d_git.bb diff --git a/recipes-support/qml-box2d.inc b/recipes-support/qml-box2d.inc new file mode 100644 index 0000000..ebc6dbd --- /dev/null +++ b/recipes-support/qml-box2d.inc @@ -0,0 +1,26 @@ +# SPDX-FileCopyrightText: 2025 Andreas Cord-Landwehr +# +# SPDX-License-Identifier: MIT + +DESCRIPTION = "QML Box2D plugin" +HOMEPAGE = "https://github.com/qml-box2d/qml-box2d" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=7c1ecaedec0d10ec77d289e71b42165f" +PR = "r0" + +DEPENDS = " \ + qtbase \ + qtdeclarative \ + qtdeclarative-native \ +" + +SRC_URI = " \ + git://github.com/qml-box2d/qml-box2d.git;nobranch=1;protocol=https \ +" +S = "${WORKDIR}/git" + +inherit qt6-cmake + +FILES:${PN} += " \ + ${libdir}/Box2D/* \ +" diff --git a/recipes-support/qml-box2d_git.bb b/recipes-support/qml-box2d_git.bb new file mode 100644 index 0000000..b6d31a3 --- /dev/null +++ b/recipes-support/qml-box2d_git.bb @@ -0,0 +1,5 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: CC0-1.0 + +require ${BPN}.inc +SRCREV = "3a85439726d1ac4d082308feba45f23859ba71e0"