Skip to contentSkip to conversation

taisei: add a recipe for version 1.4.2

PATCH Superseded [email protected] 2 participants 4 messages Nov 5, 2024 – Nov 6, 2024

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 taisei: add a recipe for version 1.4.2

From: Thomas Perrot <[email protected]>

Taisei Project is an open source danmaku.

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 .../recipes-graphics/taisei/taisei_1.4.2.bb   | 52 +++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
index 178256c83f63..4635fe3d44d0 100644
@@ -521,6 +521,7 @@ RDEPENDS:packagegroup-meta-oe-graphics = "\
     ${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
     stalonetray \
     surf \
+    taisei \
     terminus-font-consolefonts \
     terminus-font-pcf \
     tesseract \
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
2.47.0
#1 lore raw
Quoted 70 lines · Thomas Perrot via lists.openembedded.org

From: Thomas Perrot <[email protected]>

Taisei Project is an open source danmaku.

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 .../recipes-graphics/taisei/taisei_1.4.2.bb   | 52 +++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
index 178256c83f63..4635fe3d44d0 100644
@@ -521,6 +521,7 @@ RDEPENDS:packagegroup-meta-oe-graphics = "\
     ${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
     stalonetray \
     surf \
+    taisei \
     terminus-font-consolefonts \
     terminus-font-pcf \
     tesseract \
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +40 -0
new file mode 100644
index 000000000000..2d2ab32bace7
@@ -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"
+SRCREV = "c098579d4fa0f004ccc204c5bc46eac3717cba28"
+
+S = "${WORKDIR}/git"
+
+inherit features_check meson mime mime-xdg pkgconfig python3native
+
+REQUIRED_DISTRO_FEATURES = "opengl"

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb line 50

Quoted 10 lines
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +10 -0
+
+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} += "${prefix}/share"

there is a dedicated variable ${datadir} you can use here

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb line 52

Quoted 2 lines
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +2 -0
+
+INSANE_SKIP:${PN} = "already-stripped"

can we patch the makefiles to not strip the binaries and leave it to OE tasks ? This can improve debugging experience.

Quoted 12 lines

--
2.47.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113413): https://lists.openembedded.org/g/openembedded-devel/message/113413
Mute This Topic: https://lists.openembedded.org/mt/109402043/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

it seems to fail YP layer compatibility check as well

https://valkyrie.yoctoproject.org/#/builders/81/builds/134/steps/11/logs/errors

opusfile in from meta-multimedia and meta-oe does not depend upon meta-multimedia
so you can make it a packageconfig and disable it by default, or perhaps disable it completely if
not needed. Other option would be to move it under dynamic layers.

Quoted 105 lines · Khem Raj
Quoted 70 lines · Thomas Perrot via lists.openembedded.org

From: Thomas Perrot <[email protected]>

Taisei Project is an open source danmaku.

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 .../recipes-graphics/taisei/taisei_1.4.2.bb   | 52 +++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
index 178256c83f63..4635fe3d44d0 100644
@@ -521,6 +521,7 @@ RDEPENDS:packagegroup-meta-oe-graphics = "\
     ${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
     stalonetray \
     surf \
+    taisei \
     terminus-font-consolefonts \
     terminus-font-pcf \
     tesseract \
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +40 -0
new file mode 100644
index 000000000000..2d2ab32bace7
@@ -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"
+SRCREV = "c098579d4fa0f004ccc204c5bc46eac3717cba28"
+
+S = "${WORKDIR}/git"
+
+inherit features_check meson mime mime-xdg pkgconfig python3native
+
+REQUIRED_DISTRO_FEATURES = "opengl"

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb line 50

Quoted 10 lines
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +10 -0
+
+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} += "${prefix}/share"

there is a dedicated variable ${datadir} you can use here

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb line 52

Quoted 2 lines
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +2 -0
+
+INSANE_SKIP:${PN} = "already-stripped"

can we patch the makefiles to not strip the binaries and leave it to OE tasks ? This can improve debugging experience.

Quoted 12 lines

--
2.47.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113413): https://lists.openembedded.org/g/openembedded-devel/message/113413
Mute This Topic: https://lists.openembedded.org/mt/109402043/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Hello Khem,

Quoted 10 lines · Khem Raj

it seems to fail YP layer compatibility check as well

https://valkyrie.yoctoproject.org/#/builders/81/builds/134/steps/11/logs/errors

opusfile in from meta-multimedia and meta-oe does not depend upon meta-multimedia
so you can make it a packageconfig and disable it by default, or perhaps disable it completely if
not needed. Other option would be to move it under dynamic layers.

Thank you for your review, I will push a version 2 with the requested modifications.

Kind regards,
Thomas Perrot

Quoted 127 lines · Khem Raj
Quoted 101 lines
Quoted 90 lines · Thomas Perrot via lists.openembedded.org

From: Thomas Perrot <[email protected]>

Taisei Project is an open source danmaku.

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 + .../recipes-graphics/taisei/taisei_1.4.2.bb   | 52
+++++++++++++++++++

 2 files changed, 53 insertions(+)

 create mode 100644 meta-oe/recipes-
graphics/taisei/taisei_1.4.2.bb

(quoted diff) +0 -0

meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup- meta-oe.bb
index 178256c83f63..4635fe3d44d0 100644

meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
@@ -521,6 +521,7 @@ RDEPENDS:packagegroup-meta-oe-graphics = "\
      ${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)}
 \
      stalonetray \
      surf \
+    taisei \
      terminus-font-consolefonts \
      terminus-font-pcf \

     tesseract \

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +2 -0
new file mode 100644
index 000000000000..2d2ab32bace7
@@ -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."

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +4 -0
+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"

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +23 -0
+
+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"

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +5 -0
+SRCREV = "c098579d4fa0f004ccc204c5bc46eac3717cba28"
+
+S = "${WORKDIR}/git"
+
+inherit features_check meson mime mime-xdg pkgconfig

python3native

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +8 -0
+
+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"

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb line 50

Quoted 4 lines
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +4 -0
+
+
+
+FILES:${PN} += "${prefix}/share"

there is a dedicated variable ${datadir} you can use here

Quoted 13 lines

meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb

Quoted 2 lines
meta-oe/recipes-graphics/taisei/taisei_1.4.2.bb new file +2 -0
+
+INSANE_SKIP:${PN} = "already-stripped"

can we patch the makefiles to not strip the binaries and leave it to OE tasks ?
This can improve debugging experience.

Quoted 6 lines

--
2.47.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#113615):
https://lists.openembedded.org/g/openembedded-devel/message/113615
Mute This Topic: https://lists.openembedded.org/mt/109402043/5443093
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-devel/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com