games-roguelike/angband: rework USE flag logic
authorStefan Strogin <stefan.strogin@gmail.com>
Mon, 4 Mar 2019 18:32:49 +0000 (20:32 +0200)
committerJames Le Cuirot <chewi@gentoo.org>
Sat, 9 Mar 2019 22:16:12 +0000 (22:16 +0000)
commita075426e95a45f7cb03888bc57f26c2228115479
tree5bc06985406242d83414b313c911c675357fc760
parent8d1a254b46c1c2e33b1a6c21cb882ce2ff570198
games-roguelike/angband: rework USE flag logic

Add REQUIRED_USE "at least one of" X or ncurses, thanks to it we can
drop some tricky conditions in src_configure and RDEPEND.
Besides that angband simply cannot build with USE="-X -ncurses".

Add sound? ( sdl ) to REQUIRED_USE as SDL is needed for sound.
Add media-fonts/font-misc-misc to RDEPEND with USE=X.

Default USE flags in accordance with the upstream configure options:
set +X, +ncurses; disable sound.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-roguelike/angband/angband-4.1.3.ebuild