summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2020-06-17 20:33:47 +0300
committerAndreas K. Huettel <dilfridge@gentoo.org>2020-06-17 20:38:31 +0300
commit3df077a143e1156fbcc19896c4f1fcbadebc58ed (patch)
tree12b4ca306ce95be1a2e98174519029934f12e275 /sci-visualization/gr
parentmedia-video/ffmpeg: fix building without SSSE3 (diff)
downloadgentoo-3df077a143e1156fbcc19896c4f1fcbadebc58ed.tar.gz
gentoo-3df077a143e1156fbcc19896c4f1fcbadebc58ed.tar.bz2
gentoo-3df077a143e1156fbcc19896c4f1fcbadebc58ed.zip
sci-visualization/gr: Hard-enable Qt5 and OpenGL, otherwise build fails
Closes: https://bugs.gentoo.org/726100 Closes: https://bugs.gentoo.org/727394 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-visualization/gr')
-rw-r--r--sci-visualization/gr/gr-0.50.0-r1.ebuild (renamed from sci-visualization/gr/gr-0.50.0.ebuild)13
1 files changed, 5 insertions, 8 deletions
diff --git a/sci-visualization/gr/gr-0.50.0.ebuild b/sci-visualization/gr/gr-0.50.0-r1.ebuild
index 71d7cb7c931..3a7bb7d68fb 100644
--- a/sci-visualization/gr/gr-0.50.0.ebuild
+++ b/sci-visualization/gr/gr-0.50.0-r1.ebuild
@@ -12,22 +12,20 @@ SRC_URI="https://github.com/sciapp/gr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="cairo ffmpeg opengl postscript qt5 tiff truetype X"
+IUSE="cairo ffmpeg postscript tiff truetype X"
DEPEND="
+ dev-qt/qtgui:5
media-libs/fontconfig
+ media-libs/glfw
media-libs/libjpeg-turbo
media-libs/libpng
media-libs/qhull
sys-libs/zlib
+ virtual/opengl
cairo? ( x11-libs/cairo )
ffmpeg? ( media-video/ffmpeg )
- opengl? (
- media-libs/glfw
- virtual/opengl
- )
postscript? ( app-text/ghostscript-gpl )
- qt5? ( dev-qt/qtgui:5 )
tiff? ( media-libs/tiff )
truetype? ( media-libs/freetype )
X? ( x11-libs/libX11 )
@@ -37,13 +35,12 @@ BDEPEND=""
src_configure() {
use cairo || mycmakeargs+=( -DCAIRO_LIBRARY= )
- use opengl || mycmakeargs+=( -DGLFW_LIBRARY= )
use postscript || mycmakeargs+=( -DGS_LIBRARY= )
use ffmpeg || mycmakeargs+=( -DFFMPEG_INCLUDE_DIR= )
use truetype || mycmakeargs+=( -DFREETYPE_LIBRARY= )
use tiff || mycmakeargs+=( -DTIFF_LIBRARY= )
- # todo: Qt5, X11 automagic
+ # todo: X11 automagic
mycmakeargs+=( -DCMAKE_INSTALL_PREFIX=/usr/gr )
#