public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/crrcsim/
@ 2016-09-21 20:57 Austin English
  0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-09-21 20:57 UTC (permalink / raw
  To: gentoo-commits

commit:     0f4174060aaa6c36cd002730ed123beb32986299
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 17:56:23 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 20:56:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f417406

games-simulation/crrcsim: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-simulation/crrcsim/crrcsim-0.9.12-r2.ebuild | 63 +++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/games-simulation/crrcsim/crrcsim-0.9.12-r2.ebuild b/games-simulation/crrcsim/crrcsim-0.9.12-r2.ebuild
new file mode 100644
index 00000000..6bd7440
--- /dev/null
+++ b/games-simulation/crrcsim/crrcsim-0.9.12-r2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+WANT_AUTOMAKE="1.10"
+inherit autotools eutils gnome2-utils
+
+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="
+	media-libs/libsdl[X,sound,joystick,opengl,video]
+	media-libs/plib
+	sci-mathematics/cgal
+	portaudio? ( media-libs/portaudio )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-buildsystem.patch
+)
+
+src_prepare() {
+	default
+
+	if has_version "sci-mathematics/cgal[gmp(+)]" ; then
+		eapply "${FILESDIR}"/${PN}-cgal_gmp.patch
+	fi
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		--datadir="/usr/share" \
+		--datarootdir="${EPREFIX%/}/usr/share" \
+		--docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
+		$(use_with portaudio)
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	dodoc AUTHORS HISTORY NEWS README
+	doicon -s 32 packages/icons/${PN}.png
+	make_desktop_entry ${PN}
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-simulation/crrcsim/
@ 2021-07-07 17:48 Joonas Niilola
  0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2021-07-07 17:48 UTC (permalink / raw
  To: gentoo-commits

commit:     ca43fe3b01d5654cef1fd7919787ed9810b6ef82
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  7 17:45:30 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul  7 17:48:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca43fe3b

games-simulation/crrcsim: revbump to match new cgal[shared] config

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../crrcsim/{crrcsim-0.9.13.ebuild => crrcsim-0.9.13-r1.ebuild}       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-simulation/crrcsim/crrcsim-0.9.13.ebuild b/games-simulation/crrcsim/crrcsim-0.9.13-r1.ebuild
similarity index 93%
rename from games-simulation/crrcsim/crrcsim-0.9.13.ebuild
rename to games-simulation/crrcsim/crrcsim-0.9.13-r1.ebuild
index ab91e997d49..cf65eba9ef2 100644
--- a/games-simulation/crrcsim/crrcsim-0.9.13.ebuild
+++ b/games-simulation/crrcsim/crrcsim-0.9.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ IUSE="portaudio"
 
 RDEPEND="media-libs/libsdl[X,sound,joystick,opengl,video]
 	media-libs/plib
-	sci-mathematics/cgal
+	sci-mathematics/cgal[shared(+)]
 	portaudio? ( media-libs/portaudio )"
 DEPEND="${RDEPEND}"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-simulation/crrcsim/
@ 2021-07-19 16:02 Ionen Wolkens
  0 siblings, 0 replies; 3+ messages in thread
From: Ionen Wolkens @ 2021-07-19 16:02 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-19 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-19 16:02 [gentoo-commits] repo/gentoo:master commit in: games-simulation/crrcsim/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2021-07-07 17:48 Joonas Niilola
2016-09-21 20:57 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox