-# Copyright © 2011, 2015, 2021 Nick Bowler
+# Copyright © 2011, 2015, 2021, 2023 Nick Bowler
# License GPLv3+: GNU General Public License version 3 or any later version.
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
RDEPEND="media-libs/libsdl[opengl]
media-libs/sdl-mixer[mikmod]
media-libs/freetype:2
- >=media-libs/tiff-4.0.9"
+ || (
+ media-libs/tiff-compat:4
+ ( >=media-libs/tiff-4.0.9:0 <media-libs/tiff-4.5:0 )
+ )"
src_unpack () {
local root