commit:     4c8ad87f6dba9e09888cb403951aaf436ad3f7f9
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 22 13:37:16 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Mar 22 13:37:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c8ad87f

dev-cpp/wt: add opengl USE

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-cpp/wt/wt-4.10.4.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/wt/wt-4.10.4.ebuild b/dev-cpp/wt/wt-4.10.4.ebuild
index e9d153bce1..51664130e1 100644
--- a/dev-cpp/wt/wt-4.10.4.ebuild
+++ b/dev-cpp/wt/wt-4.10.4.ebuild
@@ -12,11 +12,12 @@ 
SRC_URI="https://github.com/emweb/wt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="doc firebird mysql pdf postgres ssl"
+IUSE="doc firebird mysql opengl pdf postgres ssl"
 
 DEPEND="
        firebird? ( dev-db/firebird )
        mysql? ( virtual/mysql )
+       opengl? ( virtual/opengl )
        postgres? ( dev-db/postgresql )
        ssl? ( dev-libs/openssl )
        dev-libs/boost
@@ -24,7 +25,6 @@ DEPEND="
        media-gfx/graphicsmagick
        x11-libs/pango
        sys-libs/zlib
-       virtual/opengl
 "
 RDEPEND="${DEPEND}"
 
@@ -58,6 +58,7 @@ src_configure() {
                -DENABLE_QT4=OFF
                -DENABLE_QT5=ON
                -DENABLE_SAML=ON
+               -DENABLE_OPENGL=$(usex opengl)
        )
 
        cmake_src_configure

Reply via email to