# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 LUA_COMPAT=( lua5-1 ) PYTHON_COMPAT=( python3_{8,9,10,11} ) VIRTUALX_REQUIRED="manual" inherit desktop python-any-r1 lua-single xdg-utils toolchain-funcs MY_P="stone_soup-${PV}" DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons" HOMEPAGE="https://crawl.develz.org" SLOT="0.26" SRC_URI=" https://github.com/crawl/crawl/releases/download/${PV}/${PN/-/_}-${PV}.zip https://dev.gentoo.org/~stasibear/distfiles/${PN}.png -> ${PN}-${SLOT}.png https://dev.gentoo.org/~stasibear/distfiles/${PN}.svg -> ${PN}-${SLOT}.svg " # 3-clause BSD: mt19937ar.cc, MSVC/stdint.h # 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs # Public Domain|CC0: most of tiles # MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/ LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0 MIT" KEYWORDS="amd64 x86" IUSE="advpng debug ncurses sound test +tiles" RESTRICT="!test? ( test )" REQUIRED_USE="${LUA_REQUIRED_USE}" RDEPEND=" ${LUA_DEPS} dev-db/sqlite:3 sys-libs/zlib !ncurses? ( !tiles? ( sys-libs/ncurses:0 ) ) ncurses? ( sys-libs/ncurses:0 ) tiles? ( media-fonts/dejavu media-libs/freetype:2 media-libs/libpng:0 sound? ( media-libs/libsdl2[X,opengl,sound,video] media-libs/sdl2-mixer ) !sound? ( media-libs/libsdl2[X,opengl,video] ) media-libs/sdl2-image[png] virtual/glu virtual/opengl )" DEPEND="${RDEPEND} test? (