Removes games eclass usage & changes desktop icon location, bug #561914
authorDevan Franchini <twitch153@gentoo.org>
Sat, 2 Apr 2016 19:35:52 +0000 (15:35 -0400)
committerDevan Franchini <twitch153@gentoo.org>
Sat, 2 Apr 2016 19:37:13 +0000 (15:37 -0400)
Package-Manager: portage-2.2.27

games-emulation/dolphin/dolphin-9999.ebuild

index 981b451e4d5b48d2842163bc6f50fff2261b8a25..bb207fe2c532423286172b3e18dd70eada59706a 100644 (file)
@@ -8,7 +8,7 @@ PLOCALES="ar ca cs de el en es fa fr he hu it ja ko nb nl pl pt_BR pt ru sr sv t
 PLOCALE_BACKUP="en"
 WX_GTK_VER="3.0"
 
-inherit cmake-utils eutils l10n pax-utils toolchain-funcs versionator wxwidgets games
+inherit cmake-utils eutils l10n pax-utils toolchain-funcs versionator wxwidgets
 
 if [[ ${PV} == 9999* ]]
 then
@@ -153,10 +153,6 @@ src_configure() {
        fi
 
        local mycmakeargs=(
-               "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
-               "-Dprefix=${GAMES_PREFIX}"
-               "-Ddatadir=${GAMES_DATADIR}/${PN}"
-               "-Dplugindir=$(games_get_libdir)/${PN}"
                "-DUSE_SHARED_ENET=ON"
                $( cmake-utils_use ffmpeg ENCODE_FRAMEDUMPS )
                $( cmake-utils_use log FASTLOG )
@@ -187,11 +183,9 @@ src_install() {
                dodoc -r docs/ActionReplay docs/DSP docs/WiiMote
        fi
 
-       doicon -s 48 Installer/dolphin-emu.png
-       doicon -s scalable Installer/dolphin-emu.svg
-       make_desktop_entry "dolphin-emu" "Dolphin Emulator" "dolphin-emu" "Game;Emulator;"
-
-       prepgamesdirs
+       doicon -s 48 Data/dolphin-emu.png
+       doicon -s scalable Data/dolphin-emu.svg
+       doicon Data/dolphin-emu.svg
 }
 
 pkg_postinst() {