commit: d121de267dc651fe6b1505a1c38c4fba0522b4b0 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Mon Jul 19 15:56:45 2021 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Mon Jul 19 16:01:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d121de26
games-simulation/crrcsim: EAPI 6->8, cgal[-shared], missing deps This already can use CGAL headers-only and only needed the -lCGAL link attempt removed. Moved to DEPEND-only, fixes bug #790779. (hopefully right way to handle CGAL now) Missing deps: opengl, glu, gmp, and jpeg wrt bug #739384. (gmp is always used with cgal regardless of patch or cgal[-gmp]) Removed unnecessary -buildsystem patch, -DCRRC_DATA_PATH is already used for data path and portaudio can use ac_cv_header_portaudio_h. Closes: https://bugs.gentoo.org/739384 Closes: https://bugs.gentoo.org/790779 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild b/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild new file mode 100644 index 00000000000..f32c81a4c52 --- /dev/null +++ b/games-simulation/crrcsim/crrcsim-0.9.13-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop + +DESCRIPTION="Model-airplane flight simulation program" +HOMEPAGE="https://sourceforge.net/projects/crrcsim/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="portaudio" + +RDEPEND=" + dev-libs/gmp:= + media-libs/libsdl[X,sound,joystick,opengl,video] + media-libs/plib + virtual/glu + virtual/jpeg + virtual/opengl + portaudio? ( media-libs/portaudio )" +DEPEND=" + ${RDEPEND} + sci-mathematics/cgal" + +PATCHES=( + "${FILESDIR}"/${P}-gcc6.patch +) + +DOCS=( AUTHORS HISTORY ) + +src_configure() { + econf ac_cv_header_portaudio_h=$(usex portaudio) +} + +src_compile() { + emake CGAL_LIBS= +} + +src_install() { + default + + doicon packages/icons/${PN}.png + make_desktop_entry ${PN} CRRCSim +}
