3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
6 |
PYTHON_COMPAT=( python3_{10..11} )
|
7 |
7 |
inherit bash-completion-r1 desktop python-any-r1 scons-utils toolchain-funcs xdg
|
8 |
8 |
|
9 |
9 |
DESCRIPTION="Multi-platform 2D and 3D game engine with a feature-rich editor"
|
10 |
10 |
HOMEPAGE="https://godotengine.org/"
|
11 |
11 |
SRC_URI="
|
12 |
12 |
https://downloads.tuxfamily.org/godotengine/${PV}/${P}-stable.tar.xz
|
13 |
|
https://github.com/godotengine/godot/releases/download/${PV}-stable/${P}-stable.tar.xz"
|
|
13 |
https://github.com/godotengine/godot/releases/download/${PV}-stable/${P}-stable.tar.xz
|
|
14 |
"
|
14 |
15 |
S="${WORKDIR}/${P}-stable"
|
15 |
16 |
|
16 |
17 |
LICENSE="
|
17 |
18 |
MIT
|
18 |
19 |
Apache-2.0 BSD Boost-1.0 CC0-1.0 Unlicense ZLIB
|
19 |
|
gui? ( CC-BY-4.0 ) tools? ( OFL-1.1 )"
|
|
20 |
gui? ( CC-BY-4.0 ) tools? ( OFL-1.1 )
|
|
21 |
"
|
20 |
22 |
SLOT="4"
|
21 |
23 |
KEYWORDS="~amd64"
|
22 |
24 |
# Enable roughly same as upstream by default so it works as expected,
|
23 |
25 |
# except raycast (tools-only heavy dependency), and deprecated.
|
24 |
26 |
IUSE="
|
25 |
27 |
alsa +dbus debug deprecated +fontconfig +gui pulseaudio raycast
|
26 |
|
+runner speech test +theora +tools +udev +upnp +vulkan +webp"
|
|
28 |
+runner speech test +theora +tools +udev +upnp +vulkan +webp
|
|
29 |
"
|
27 |
30 |
# TODO: tests still need more figuring out
|
28 |
31 |
RESTRICT="test"
|
29 |
32 |
|
... | ... | |
64 |
67 |
tools? ( app-misc/ca-certificates )
|
65 |
68 |
udev? ( virtual/udev )
|
66 |
69 |
upnp? ( net-libs/miniupnpc:= )
|
67 |
|
webp? ( media-libs/libwebp:= )"
|
|
70 |
webp? ( media-libs/libwebp:= )
|
|
71 |
"
|
68 |
72 |
DEPEND="
|
69 |
73 |
${RDEPEND}
|
70 |
74 |
gui? ( x11-base/xorg-proto )
|
71 |
|
tools? ( test? ( dev-cpp/doctest ) )"
|
|
75 |
tools? ( test? ( dev-cpp/doctest ) )
|
|
76 |
"
|
72 |
77 |
BDEPEND="virtual/pkgconfig"
|
73 |
78 |
|
74 |
79 |
PATCHES=(
|
... | ... | |
144 |
149 |
builtin_mbedtls=no
|
145 |
150 |
builtin_miniupnpc=$(usex !upnp)
|
146 |
151 |
builtin_msdfgen=yes # not wired for unbundling nor packaged
|
|
152 |
builtin_openxr=yes # not packaged
|
147 |
153 |
builtin_pcre2=no
|
148 |
154 |
builtin_recastnavigation=no
|
149 |
155 |
builtin_rvo2=yes # bundled copy has godot-specific changes
|