games-emulation/dolphin: sort mycmakeargs alphabetically
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 3 Sep 2018 19:11:03 +0000 (20:11 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 3 Sep 2018 19:13:02 +0000 (20:13 +0100)
Patch by  Samuel Bauer.

Bug: https://bugs.gentoo.org/561914
Package-Manager: Portage-2.3.48, Repoman-2.3.10

games-emulation/dolphin/dolphin-9999.ebuild

index 2d4a8a1079c9d4aa441a916e0319ba8290cd9082..b22a98646b706cdd8e1942af23c3aa291ea44921 100644 (file)
@@ -115,27 +115,24 @@ src_prepare() {
 
 src_configure() {
        local mycmakeargs=(
-               -DUSE_SHARED_ENET=ON
-               -DUSE_DISCORD_PRESENCE=$(usex discord-presence)
-               -DENCODE_FRAMEDUMPS=$(usex ffmpeg)
-               -DFASTLOG=$(usex log)
-               -DOPROFILING=$(usex profile)
-
+               # Use ccache only when user did set FEATURES=ccache (or similar)
+               # not when ccache binary is present in system (automagic).
+               -DCCACHE_BIN=CCACHE_BIN-NOTFOUND
+               -DENABLE_ALSA=$(usex alsa)
+               -DENABLE_BLUEZ=$(usex bluetooth)
                -DENABLE_EVDEV=$(usex evdev)
+               -DENCODE_FRAMEDUMPS=$(usex ffmpeg)
                -DENABLE_LLVM=OFF
                -DENABLE_LTO=$(usex lto)
+               -DENABLE_PULSEAUDIO=$(usex pulseaudio)
                -DENABLE_QT=$(usex qt5)
                -DENABLE_SDL=$(usex sdl)
-
+               -DFASTLOG=$(usex log)
+               -DOPROFILING=$(usex profile)
+               -DUSE_DISCORD_PRESENCE=$(usex discord-presence)
                -DUSE_EGL=$(usex egl)
+               -DUSE_SHARED_ENET=ON
                -DUSE_UPNP=$(usex upnp)
-
-               -DENABLE_ALSA=$(usex alsa)
-               -DENABLE_BLUEZ=$(usex bluetooth)
-               # Use ccache only when user did set FEATURES=ccache (or similar)
-               # not when ccache binary is present in system (automagic).
-               -DCCACHE_BIN=CCACHE_BIN-NOTFOUND
-               -DENABLE_PULSEAUDIO=$(usex pulseaudio)
        )
 
        cmake-utils_src_configure