summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.3.bb
blob: 239237ceaffcce7bc3cc800f4e7b4e1db04d1f34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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 \
    libsdl3 \
    libwebp \
    opusfile \
    zstd \
"
DEPENDS:append:libc-musl = " libucontext"
LDFLAGS:append:libc-musl = " -lucontext"

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;tag=v${PV}"
SRCREV = "02b7c71ae7d7a53202378e384f2cb26df9164f22"

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"

EXTRA_OEMESON += "-Dstrip=false"

FILES:${PN} += "${datadir}"