summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/dolphin/dolphin-9999.ebuild')
-rw-r--r--games-emulation/dolphin/dolphin-9999.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild
index 7ae9d77..649d26d 100644
--- a/games-emulation/dolphin/dolphin-9999.ebuild
+++ b/games-emulation/dolphin/dolphin-9999.ebuild
@@ -15,7 +15,7 @@ SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="lzo openal sfml"
+IUSE="docs lzo openal sfml"
RDEPEND="x11-libs/wxGTK:2.8
media-gfx/nvidia-cg-toolkit
@@ -51,6 +51,11 @@ src_compile() {
src_install() {
scons ${SCONSOPTS} install || die "scons install failed"
- make_desktop_entry dolphin-emu "Dolphin Emulator"
+ if use docs; then
+ insinto ${GAMES_DATADIR}/${PN}
+ doins -r docs/*
+ fi
+ doicon ${FILESDIR}/Dolphin.png
+ make_desktop_entry dolphin-emu "Dolphin Emulator" Dolphin
prepgamesdirs
}