games-action/supertuxkart: Rename openglrecorder flag to recorder
authorJames Le Cuirot <chewi@gentoo.org>
Tue, 26 Dec 2017 11:59:16 +0000 (11:59 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Tue, 26 Dec 2017 12:01:40 +0000 (12:01 +0000)
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
games-action/supertuxkart/supertuxkart-0.9.3.ebuild

index 62c1f65db331a35095f62a38bcf4d652ef6e417c..a5ee3731025785c30df97aaab8f17b22ca93a83d 100644 (file)
@@ -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>
index 48522586a24f01f0a0c1d88c57f70eea14ca2fa6..04fa2e6dba1cb5ec029a67df5cc6672a837b7beb 100644 (file)
@@ -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}
        )