diff options
author | Thomas Perrot <thomas.perrot@bootlin.com> | 2024-11-06 21:37:01 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-11-06 14:53:13 -0800 |
commit | 45cd8411d1ccb9c9f37f1a5d270318e9a2fe2f4f (patch) | |
tree | 2a8d089ea9fb43638a99e46eced1832c3ff7c606 | |
parent | d76997b74c18df2ea86e11d30162cbc704ca6482 (diff) | |
download | meta-openembedded-45cd8411d1ccb9c9f37f1a5d270318e9a2fe2f4f.tar.gz |
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>
4 files changed, 84 insertions, 0 deletions
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index d05f26588..351837eaf 100644 --- a/meta-oe/conf/layer.conf +++ b/meta-oe/conf/layer.conf | |||
@@ -28,6 +28,8 @@ BBFILE_PRIORITY_openembedded-layer = "5" | |||
28 | BBFILES_DYNAMIC += " \ | 28 | BBFILES_DYNAMIC += " \ |
29 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ | 29 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ |
30 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ | 30 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ |
31 | multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bb \ | ||
32 | multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bbappend \ | ||
31 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \ | 33 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \ |
32 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \ | 34 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \ |
33 | gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \ | 35 | gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \ |
diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend b/meta-oe/dynamic-layers/multimedia-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend new file mode 100644 index 000000000..7353193c2 --- /dev/null +++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend | |||
@@ -0,0 +1 @@ | |||
RDEPENDS:packagegroup-meta-oe-graphics:append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'multimedia-layer', ' taisei', '', d)}" | |||
diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-Remove-strip-option-from-executable-build.patch b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-Remove-strip-option-from-executable-build.patch new file mode 100644 index 000000000..aa36c2c3f --- /dev/null +++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-Remove-strip-option-from-executable-build.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 6c86f8aea2a29c33af3f212afa9f0ea180822d1e Mon Sep 17 00:00:00 2001 | ||
2 | From: Thomas Perrot <thomas.perrot@bootlin.com> | ||
3 | Date: Wed, 6 Nov 2024 21:02:54 +0100 | ||
4 | Subject: [PATCH] Remove strip option from executable build | ||
5 | |||
6 | To improve debugging experience, OE tasks will strip binaries. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-specific] | ||
9 | |||
10 | Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> | ||
11 | --- | ||
12 | meson.build | 1 - | ||
13 | 1 file changed, 1 deletion(-) | ||
14 | |||
15 | diff --git a/meson.build b/meson.build | ||
16 | index 88d4d53263ae..8a1f540836e0 100644 | ||
17 | --- a/meson.build | ||
18 | +++ b/meson.build | ||
19 | @@ -73,7 +73,6 @@ project('taisei', 'c', | ||
20 | |||
21 | # You may want to change these for a debug build dir | ||
22 | 'buildtype=release', | ||
23 | - 'strip=true', | ||
24 | 'b_lto=true', | ||
25 | 'b_ndebug=if-release', | ||
26 | ] | ||
27 | -- | ||
28 | 2.47.0 | ||
29 | |||
diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb new file mode 100644 index 000000000..4d34239a9 --- /dev/null +++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Taisei Project is an open source danmaku" | ||
2 | DESCRIPTION = "Taisei Project is an open source fan-game set in the world of \ | ||
3 | Tōhō Project. It is a top-down vertical-scrolling curtain fire \ | ||
4 | shooting game (STG), also known as a 'bullet hell' or 'danmaku'. \ | ||
5 | STGs are fast-paced games focused around pattern recognition and \ | ||
6 | mastery through practice." | ||
7 | HOMEPAGE = "https://taisei-project.org" | ||
8 | BUGTRACKER = "https://github.com/taisei-project/taisei/issues" | ||
9 | LICENSE = "CC-BY-4.0 & CC0-1.0 & MIT" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1a11ffd7e1bdd1d3156cecec60a2846f" | ||
11 | |||
12 | DEPENDS = "\ | ||
13 | cglm \ | ||
14 | freetype \ | ||
15 | libsdl2 \ | ||
16 | libwebp \ | ||
17 | opusfile \ | ||
18 | zstd \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS_${PN} = "\ | ||
22 | cglm (>= 0.7.8) \ | ||
23 | freetype \ | ||
24 | libsdl2 (>= 2.0.16) \ | ||
25 | libpng (>= 1.5.0) \ | ||
26 | libwebp (>= 0.5) \ | ||
27 | libzstd (>= 1.4.0) \ | ||
28 | opengl (>= 3.3) \ | ||
29 | opusfile \ | ||
30 | zlib \ | ||
31 | " | ||
32 | |||
33 | SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https \ | ||
34 | file://0001-Remove-strip-option-from-executable-build.patch" | ||
35 | |||
36 | SRCREV = "c098579d4fa0f004ccc204c5bc46eac3717cba28" | ||
37 | |||
38 | S = "${WORKDIR}/git" | ||
39 | |||
40 | inherit features_check meson mime mime-xdg pkgconfig python3native | ||
41 | |||
42 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
43 | |||
44 | PACKAGECONFIG ??= "" | ||
45 | |||
46 | PACKAGECONFIG[a_null] = "-Da_null=true,-Da_null=false" | ||
47 | PACKAGECONFIG[developer] = "-Ddeveloper=true,-Ddeveloper=false" | ||
48 | PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,python3-docutils-native" | ||
49 | |||
50 | |||
51 | |||
52 | FILES:${PN} += "${datadir}" | ||