summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Perrot <thomas.perrot@bootlin.com>2024-11-06 21:37:01 +0100
committerKhem Raj <raj.khem@gmail.com>2024-11-06 14:53:13 -0800
commit45cd8411d1ccb9c9f37f1a5d270318e9a2fe2f4f (patch)
tree2a8d089ea9fb43638a99e46eced1832c3ff7c606
parentd76997b74c18df2ea86e11d30162cbc704ca6482 (diff)
downloadmeta-openembedded-45cd8411d1ccb9c9f37f1a5d270318e9a2fe2f4f.tar.gz
taisei: add a recipe for version 1.4.2HEADmaster
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>
-rw-r--r--meta-oe/conf/layer.conf2
-rw-r--r--meta-oe/dynamic-layers/multimedia-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend1
-rw-r--r--meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-Remove-strip-option-from-executable-build.patch29
-rw-r--r--meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb52
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"
28BBFILES_DYNAMIC += " \ 28BBFILES_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 @@
1From 6c86f8aea2a29c33af3f212afa9f0ea180822d1e Mon Sep 17 00:00:00 2001
2From: Thomas Perrot <thomas.perrot@bootlin.com>
3Date: Wed, 6 Nov 2024 21:02:54 +0100
4Subject: [PATCH] Remove strip option from executable build
5
6To improve debugging experience, OE tasks will strip binaries.
7
8Upstream-Status: Inappropriate [oe-specific]
9
10Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
11---
12 meson.build | 1 -
13 1 file changed, 1 deletion(-)
14
15diff --git a/meson.build b/meson.build
16index 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--
282.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 @@
1SUMMARY = "Taisei Project is an open source danmaku"
2DESCRIPTION = "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."
7HOMEPAGE = "https://taisei-project.org"
8BUGTRACKER = "https://github.com/taisei-project/taisei/issues"
9LICENSE = "CC-BY-4.0 & CC0-1.0 & MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=1a11ffd7e1bdd1d3156cecec60a2846f"
11
12DEPENDS = "\
13 cglm \
14 freetype \
15 libsdl2 \
16 libwebp \
17 opusfile \
18 zstd \
19"
20
21RDEPENDS_${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
33SRC_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
36SRCREV = "c098579d4fa0f004ccc204c5bc46eac3717cba28"
37
38S = "${WORKDIR}/git"
39
40inherit features_check meson mime mime-xdg pkgconfig python3native
41
42REQUIRED_DISTRO_FEATURES = "opengl"
43
44PACKAGECONFIG ??= ""
45
46PACKAGECONFIG[a_null] = "-Da_null=true,-Da_null=false"
47PACKAGECONFIG[developer] = "-Ddeveloper=true,-Ddeveloper=false"
48PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,python3-docutils-native"
49
50
51
52FILES:${PN} += "${datadir}"