From 95f903c8e2edc876b6b9e5c328e2c7e0f20dce9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 22 Nov 2020 23:59:57 +0100 Subject: [PATCH] games-strategy/wargus: Add postinst about missing ripping deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- games-strategy/wargus/wargus-2.4.3.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/games-strategy/wargus/wargus-2.4.3.ebuild b/games-strategy/wargus/wargus-2.4.3.ebuild index 644f87d1d5af7..23954b3347a34 100644 --- a/games-strategy/wargus/wargus-2.4.3.ebuild +++ b/games-strategy/wargus/wargus-2.4.3.ebuild @@ -52,6 +52,17 @@ pkg_postinst() { elog "it automatically on the first run. Only the DOS version is supported" elog "at the moment." + if ! has_version media-video/ffmpeg || + ! has_version media-sound/cdparanoia + then + elog + elog "If you did not convert the game data yet, you may want to install" + elog "the following optional dependencies:" + elog + elog "media-video/ffmpeg -- to convert game videos" + elog "media-sound/cdparanoia -- to rip game music from the CD" + fi + xdg_icon_cache_update }