commit:     8228a66ceb61a750e4e57850fe1002af67df6de8
Author:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Sun May 12 03:38:46 2019 +0000
Commit:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
CommitDate: Sun May 12 03:38:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8228a66c

games-fps/gzdoom: Add phonehome USE flag

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>

 games-fps/gzdoom/gzdoom-4.1.1.ebuild | 3 ++-
 games-fps/gzdoom/metadata.xml        | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/games-fps/gzdoom/gzdoom-4.1.1.ebuild 
b/games-fps/gzdoom/gzdoom-4.1.1.ebuild
index fc2c4be..c37e38a 100644
--- a/games-fps/gzdoom/gzdoom-4.1.1.ebuild
+++ b/games-fps/gzdoom/gzdoom-4.1.1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/coelckers/${PN}/archive/g${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="BSD BZIP2 DUMB-0.9.2 GPL-3 LGPL-3 MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="fluidsynth gtk openal openmp"
+IUSE="fluidsynth gtk openal openmp phonehome"
 
 DEPEND="
        app-arch/bzip2
@@ -42,6 +42,7 @@ src_configure() {
                -DNO_GTK="$(usex !gtk)"
                -DNO_OPENAL="$(usex !openal)"
                -DNO_OPENMP="$(usex !openmp)"
+               -DSEND_ANON_STATS="$(usex phonehome)"
        )
        cmake-utils_src_configure
 }

diff --git a/games-fps/gzdoom/metadata.xml b/games-fps/gzdoom/metadata.xml
index 53026d9..4d5eb5b 100644
--- a/games-fps/gzdoom/metadata.xml
+++ b/games-fps/gzdoom/metadata.xml
@@ -10,6 +10,7 @@
        </maintainer>
        <use>
                <flag name="fluidsynth">Use <pkg>media-sound/fluidsynth</pkg> 
for MIDI support</flag>
+               <flag name="phonehome">Enable sending of anonymous hardware 
statistics</flag>
        </use>
        <upstream>
                <bugs-to>https://forum.zdoom.org/viewforum.php?f=2</bugs-to>

Reply via email to