Diff flightgear-2020.3.18 with a flightgear-9999
/usr/portage/games-simulation/flightgear/flightgear-9999.ebuild 2023-10-09 14:52:31.132368392 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit cmake toolchain-funcs |
|
6 |
inherit cmake toolchain-funcs git-r3 |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Open Source Flight Simulator" |
9 | 9 |
HOMEPAGE="https://www.flightgear.org/" |
10 |
SRC_URI="mirror://sourceforge/flightgear/${P}.tar.bz2" |
|
10 |
EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/${PN} |
|
11 |
git://mapserver.flightgear.org/${PN}" |
|
12 |
EGIT_BRANCH="next" |
|
11 | 13 | |
12 | 14 |
LICENSE="GPL-2" |
13 |
KEYWORDS="~amd64 ~x86" |
|
15 |
KEYWORDS="" |
|
14 | 16 |
SLOT="0" |
15 | 17 |
IUSE="cpu_flags_x86_sse2 dbus debug examples gdal openmp qt5 +udev +utils" |
16 | 18 | |
... | ... | |
64 | 66 |
BDEPEND="qt5? ( >=dev-qt/linguist-tools-5.7.1:5 )" |
65 | 67 | |
66 | 68 |
PATCHES=( |
67 |
"${FILESDIR}/${PN}-2020.3.8-cmake.patch" |
|
69 |
"${FILESDIR}/${PN}-2020.3.5-cmake.patch" |
|
68 | 70 |
) |
69 | 71 | |
70 | 72 |
DOCS=(AUTHORS ChangeLog NEWS README Thanks) |
... | ... | |
107 | 109 |
-DENABLE_UIUC_MODEL=ON |
108 | 110 |
-DENABLE_YASIM=ON |
109 | 111 |
-DEVENT_INPUT=$(usex udev) |
110 |
-DFG_BUILD_TYPE=Release |
|
112 |
-DFG_BUILD_TYPE=Nightly |
|
111 | 113 |
-DFG_DATA_DIR=/usr/share/${PN} |
112 | 114 |
-DJSBSIM_TERRAIN=ON |
113 | 115 |
-DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO also see simgear |
... | ... | |
164 | 166 |
} |
165 | 167 | |
166 | 168 |
pkg_postinst() { |
169 |
einfo "Please note that data files location changed to /usr/share/flightgear" |
|
167 | 170 |
if use qt5; then |
168 | 171 |
einfo "To use launcher, run fgfs with '--launcher' parameter" |
169 | 172 |
fi |