commit:     e93809a9db6ae7ed4c9ee500230b6531f6014334
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 11:59:16 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Dec 26 12:01:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e93809a9

games-action/supertuxkart: Rename openglrecorder flag to recorder

Better to name it after what the flag does. There is also another
package with a recorder flag.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 games-action/supertuxkart/metadata.xml              | 1 +
 games-action/supertuxkart/supertuxkart-0.9.3.ebuild | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/games-action/supertuxkart/metadata.xml 
b/games-action/supertuxkart/metadata.xml
index 62c1f65db33..a5ee3731025 100644
--- a/games-action/supertuxkart/metadata.xml
+++ b/games-action/supertuxkart/metadata.xml
@@ -7,6 +7,7 @@
        </maintainer>
        <use>
                <flag name="fribidi">Support for right-to-left languages</flag>
+               <flag name="recorder">Enable recording with 
<pkg>media-libs/libopenglrecorder</pkg></flag>
                <flag name="wiimote">Support for wiimote input devices</flag>
        </use>
        <upstream>

diff --git a/games-action/supertuxkart/supertuxkart-0.9.3.ebuild 
b/games-action/supertuxkart/supertuxkart-0.9.3.ebuild
index 48522586a24..04fa2e6dba1 100644
--- a/games-action/supertuxkart/supertuxkart-0.9.3.ebuild
+++ b/games-action/supertuxkart/supertuxkart-0.9.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/SuperTuxKart/${PV}/${P}-src.tar.xz
 LICENSE="GPL-2 GPL-3 CC-BY-SA-3.0 CC-BY-2.0 public-domain ZLIB"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug fribidi wiimote openglrecorder"
+IUSE="debug fribidi recorder wiimote"
 
 # don't unbundle irrlicht and bullet
 # both are modified and system versions will break the game
@@ -34,8 +34,8 @@ RDEPEND="
        x11-libs/libX11
        x11-libs/libXxf86vm
        fribidi? ( dev-libs/fribidi )
-       wiimote? ( net-wireless/bluez )
-       openglrecorder? ( media-libs/libopenglrecorder )"
+       recorder? ( media-libs/libopenglrecorder )
+       wiimote? ( net-wireless/bluez )"
 DEPEND="${RDEPEND}
        sys-devel/gettext
        virtual/pkgconfig"
@@ -62,8 +62,8 @@ src_configure() {
                # to failed assert segfaults
                -DUSE_SYSTEM_ANGELSCRIPT=OFF
                -DUSE_FRIBIDI=$(usex fribidi)
+               -DBUILD_RECORDER=$(usex recorder)
                -DUSE_WIIUSE=$(usex wiimote)
-               -DBUILD_RECORDER=$(usex openglrecorder)
                -DSTK_INSTALL_BINARY_DIR=bin
                -DSTK_INSTALL_DATA_DIR=share/${PN}
        )

Reply via email to