summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb
blob: 5d368498dcb52dab2b3c30ef71d635b1ad046415 (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
51
52
53
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 \
"
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 \
           file://0001-util-consideredharmful-Use-overloadable-func-attribu.patch \
           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}"