summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-01-08 18:11:50 +0100
committerLars Wendler <polynomial-c@gentoo.org>2022-01-08 18:13:15 +0100
commit2e238f03ed10b68a7240e4913d44394ea6843337 (patch)
treefb732dfcf91857b85eea12cd857324e5209f858f
parentdev-libs/nss: Removed old (diff)
downloadgentoo-2e238f03ed10b68a7240e4913d44394ea6843337.tar.gz
gentoo-2e238f03ed10b68a7240e4913d44394ea6843337.tar.bz2
gentoo-2e238f03ed10b68a7240e4913d44394ea6843337.zip
sci-astronomy/celestia: Adjusting live ebuild
* Fixed dependencies * -DENABLE_THEORA -> -DENABLE_FFMPEG Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sci-astronomy/celestia/celestia-9999.ebuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/sci-astronomy/celestia/celestia-9999.ebuild b/sci-astronomy/celestia/celestia-9999.ebuild
index 000dfa8ba2e2..b6b90597e450 100644
--- a/sci-astronomy/celestia/celestia-9999.ebuild
+++ b/sci-astronomy/celestia/celestia-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,34 +26,38 @@ HOMEPAGE="https://celestia.space"
LICENSE="GPL-2+"
SLOT="0"
-IUSE="glut lua nls +qt5 theora"
+IUSE="ffmpeg glut lua nls +qt5"
REQUIRED_USE="|| ( glut qt5 )
lua? ( ${LUA_REQUIRED_USE} )"
BDEPEND="
dev-cpp/eigen
virtual/pkgconfig
- nls? ( sys-devel/gettext )
+ nls? (
+ sys-devel/gettext
+ virtual/libintl
+ )
"
DEPEND="
dev-libs/libfmt:=
+ media-libs/freetype
media-libs/glew:0=
+ media-libs/libepoxy
+ media-libs/libglvnd
media-libs/libpng:0=
sys-libs/zlib:=
virtual/glu
virtual/jpeg:0
virtual/opengl
+ ffmpeg? ( media-video/ffmpeg )
glut? ( media-libs/freeglut )
lua? ( ${LUA_DEPS} )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
+ dev-qt/qtopengl:5
dev-qt/qtwidgets:5
)
- theora? (
- media-libs/libogg
- media-libs/libtheora
- )
"
RDEPEND="${DEPEND}"
@@ -81,7 +85,7 @@ src_configure() {
-DENABLE_GTK=OFF
-DENABLE_QT="$(usex qt5)"
-DENABLE_WIN=OFF
- -DENABLE_THEORA="$(usex theora)"
+ -DENABLE_FFMPEG="$(usex ffmpeg)"
)
# Upstream always looks for LuaJIT first unless stopped, and we only need
# the version specification when linking against PUC Lua