Skip to content

Commit

Permalink
dev-games/godot: use bundled miniupnpc for now
Browse files Browse the repository at this point in the history
Likely an easy fix, but no time to look at this right now and
would rather not set a upper bound given hard to say how long this
will stay broken as upstream relies on the bundled copy.

Will check if can revert this on bump.

Closes: https://bugs.gentoo.org/934044
Signed-off-by: Ionen Wolkens <[email protected]>
  • Loading branch information
ionenwks committed Jun 11, 2024
1 parent 54e2c3d commit a65ce2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ RDEPEND="
)
tools? ( app-misc/ca-certificates )
udev? ( virtual/udev )
upnp? ( net-libs/miniupnpc:= )
webm? (
media-libs/libvorbis
media-libs/libvpx:=
Expand Down Expand Up @@ -95,8 +94,9 @@ src_prepare() {
# use of builtin_ switches can be messy (see below), delete to be sure
local unbundle=(
bullet embree freetype libogg libpng libtheora libvorbis libvpx
libwebp mbedtls miniupnpc opus pcre2 recastnavigation wslay zlib zstd
libwebp mbedtls opus pcre2 recastnavigation wslay zlib zstd # miniupnpc
# certs: unused by generated header, but scons panics if not found
# miniupnpc: check if can re-add on bump, bug #934044
)
rm -r "${unbundle[@]/#/thirdparty/}" || die
}
Expand Down Expand Up @@ -134,7 +134,7 @@ src_compile() {
builtin_libvpx=$(usex !webm)
builtin_libwebp=$(usex !webp)
builtin_mbedtls=no
builtin_miniupnpc=$(usex !upnp)
builtin_miniupnpc=yes #934044 (for now, should revisit)
builtin_opus=$(usex !webm)
builtin_pcre2=no
builtin_recast=no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ RDEPEND="
theora? ( media-libs/libtheora )
tools? ( app-misc/ca-certificates )
udev? ( virtual/udev )
upnp? ( net-libs/miniupnpc:= )
webp? ( media-libs/libwebp:= )
"
DEPEND="
Expand Down Expand Up @@ -99,8 +98,9 @@ src_prepare() {
local unbundle=(
brotli doctest embree freetype graphite harfbuzz icu4c libogg
libpng libtheora libvorbis libwebp linuxbsd_headers mbedtls
miniupnpc pcre2 recastnavigation volk wslay zlib zstd
pcre2 recastnavigation volk wslay zlib zstd
# certs: unused by generated header, but scons panics if not found
# miniupnpc: check if can re-add on bump, bug #934044
)
rm -r "${unbundle[@]/#/thirdparty/}" || die

Expand Down Expand Up @@ -153,7 +153,7 @@ src_compile() {
builtin_libvorbis=no
builtin_libwebp=$(usex !webp)
builtin_mbedtls=no
builtin_miniupnpc=$(usex !upnp)
builtin_miniupnpc=yes #934044 (for now, should revisit)
builtin_msdfgen=yes # not wired for unbundling nor packaged
builtin_openxr=yes # not packaged
builtin_pcre2=no
Expand Down

0 comments on commit a65ce2b

Please sign in to comment.