commit:     2e238f03ed10b68a7240e4913d44394ea6843337
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  8 17:11:50 2022 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Jan  8 17:13:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e238f03

sci-astronomy/celestia: Adjusting live ebuild

* Fixed dependencies
* -DENABLE_THEORA -> -DENABLE_FFMPEG

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sci-astronomy/celestia/celestia-9999.ebuild | 20 ++++++++++++--------
 1 file 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

Reply via email to