1 |
commit: 2e238f03ed10b68a7240e4913d44394ea6843337 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 8 17:11:50 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 8 17:13:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e238f03 |
7 |
|
8 |
sci-astronomy/celestia: Adjusting live ebuild |
9 |
|
10 |
* Fixed dependencies |
11 |
* -DENABLE_THEORA -> -DENABLE_FFMPEG |
12 |
|
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
sci-astronomy/celestia/celestia-9999.ebuild | 20 ++++++++++++-------- |
16 |
1 file changed, 12 insertions(+), 8 deletions(-) |
17 |
|
18 |
diff --git a/sci-astronomy/celestia/celestia-9999.ebuild b/sci-astronomy/celestia/celestia-9999.ebuild |
19 |
index 000dfa8ba2e2..b6b90597e450 100644 |
20 |
--- a/sci-astronomy/celestia/celestia-9999.ebuild |
21 |
+++ b/sci-astronomy/celestia/celestia-9999.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
@@ -26,34 +26,38 @@ HOMEPAGE="https://celestia.space" |
29 |
|
30 |
LICENSE="GPL-2+" |
31 |
SLOT="0" |
32 |
-IUSE="glut lua nls +qt5 theora" |
33 |
+IUSE="ffmpeg glut lua nls +qt5" |
34 |
REQUIRED_USE="|| ( glut qt5 ) |
35 |
lua? ( ${LUA_REQUIRED_USE} )" |
36 |
|
37 |
BDEPEND=" |
38 |
dev-cpp/eigen |
39 |
virtual/pkgconfig |
40 |
- nls? ( sys-devel/gettext ) |
41 |
+ nls? ( |
42 |
+ sys-devel/gettext |
43 |
+ virtual/libintl |
44 |
+ ) |
45 |
" |
46 |
DEPEND=" |
47 |
dev-libs/libfmt:= |
48 |
+ media-libs/freetype |
49 |
media-libs/glew:0= |
50 |
+ media-libs/libepoxy |
51 |
+ media-libs/libglvnd |
52 |
media-libs/libpng:0= |
53 |
sys-libs/zlib:= |
54 |
virtual/glu |
55 |
virtual/jpeg:0 |
56 |
virtual/opengl |
57 |
+ ffmpeg? ( media-video/ffmpeg ) |
58 |
glut? ( media-libs/freeglut ) |
59 |
lua? ( ${LUA_DEPS} ) |
60 |
qt5? ( |
61 |
dev-qt/qtcore:5 |
62 |
dev-qt/qtgui:5 |
63 |
+ dev-qt/qtopengl:5 |
64 |
dev-qt/qtwidgets:5 |
65 |
) |
66 |
- theora? ( |
67 |
- media-libs/libogg |
68 |
- media-libs/libtheora |
69 |
- ) |
70 |
" |
71 |
RDEPEND="${DEPEND}" |
72 |
|
73 |
@@ -81,7 +85,7 @@ src_configure() { |
74 |
-DENABLE_GTK=OFF |
75 |
-DENABLE_QT="$(usex qt5)" |
76 |
-DENABLE_WIN=OFF |
77 |
- -DENABLE_THEORA="$(usex theora)" |
78 |
+ -DENABLE_FFMPEG="$(usex ffmpeg)" |
79 |
) |
80 |
# Upstream always looks for LuaJIT first unless stopped, and we only need |
81 |
# the version specification when linking against PUC Lua |