taisei: add a recipe for version 1.4.2

Taisei Project is an open source danmaku.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Thomas Perrot 2024-11-06 21:37:01 +01:00 committed by Khem Raj
parent d76997b74c
commit 45cd8411d1
No known key found for this signature in database
GPG Key ID: BB053355919D3314
4 changed files with 84 additions and 0 deletions

View File

@ -28,6 +28,8 @@ BBFILE_PRIORITY_openembedded-layer = "5"
BBFILES_DYNAMIC += " \
meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \
multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bb \
multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bbappend \
networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \
networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \
gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \

View File

@ -0,0 +1 @@
RDEPENDS:packagegroup-meta-oe-graphics:append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'multimedia-layer', ' taisei', '', d)}"

View File

@ -0,0 +1,29 @@
From 6c86f8aea2a29c33af3f212afa9f0ea180822d1e Mon Sep 17 00:00:00 2001
From: Thomas Perrot <thomas.perrot@bootlin.com>
Date: Wed, 6 Nov 2024 21:02:54 +0100
Subject: [PATCH] Remove strip option from executable build
To improve debugging experience, OE tasks will strip binaries.
Upstream-Status: Inappropriate [oe-specific]
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
---
meson.build | 1 -
1 file changed, 1 deletion(-)
diff --git a/meson.build b/meson.build
index 88d4d53263ae..8a1f540836e0 100644
--- a/meson.build
+++ b/meson.build
@@ -73,7 +73,6 @@ project('taisei', 'c',
# You may want to change these for a debug build dir
'buildtype=release',
- 'strip=true',
'b_lto=true',
'b_ndebug=if-release',
]
--
2.47.0

View File

@ -0,0 +1,52 @@
SUMMARY = "Taisei Project is an open source danmaku"
DESCRIPTION = "Taisei Project is an open source fan-game set in the world of \
Tōhō Project. It is a top-down vertical-scrolling curtain fire \
shooting game (STG), also known as a 'bullet hell' or 'danmaku'. \
STGs are fast-paced games focused around pattern recognition and \
mastery through practice."
HOMEPAGE = "https://taisei-project.org"
BUGTRACKER = "https://github.com/taisei-project/taisei/issues"
LICENSE = "CC-BY-4.0 & CC0-1.0 & MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=1a11ffd7e1bdd1d3156cecec60a2846f"
DEPENDS = "\
cglm \
freetype \
libsdl2 \
libwebp \
opusfile \
zstd \
"
RDEPENDS_${PN} = "\
cglm (>= 0.7.8) \
freetype \
libsdl2 (>= 2.0.16) \
libpng (>= 1.5.0) \
libwebp (>= 0.5) \
libzstd (>= 1.4.0) \
opengl (>= 3.3) \
opusfile \
zlib \
"
SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https \
file://0001-Remove-strip-option-from-executable-build.patch"
SRCREV = "c098579d4fa0f004ccc204c5bc46eac3717cba28"
S = "${WORKDIR}/git"
inherit features_check meson mime mime-xdg pkgconfig python3native
REQUIRED_DISTRO_FEATURES = "opengl"
PACKAGECONFIG ??= ""
PACKAGECONFIG[a_null] = "-Da_null=true,-Da_null=false"
PACKAGECONFIG[developer] = "-Ddeveloper=true,-Ddeveloper=false"
PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,python3-docutils-native"
FILES:${PN} += "${datadir}"