public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/
@ 2018-05-01 19:37 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2018-05-01 19:37 UTC (permalink / raw
  To: gentoo-commits

commit:     be0919e950aa596d2ca2e7984f7d89bc08bba1f4
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May  1 18:51:49 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May  1 19:35:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0919e9

games-strategy/crimson: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-strategy/crimson/crimson-0.5.3-r1.ebuild | 49 ++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/games-strategy/crimson/crimson-0.5.3-r1.ebuild b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
new file mode 100644
index 00000000000..ad228438eb3
--- /dev/null
+++ b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="Tactical war game in the tradition of Battle Isle"
+HOMEPAGE="http://crimson.seul.org/"
+SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test zlib"
+
+RDEPEND="
+	media-libs/libsdl[sound,video]
+	media-libs/sdl-mixer
+	media-libs/sdl-ttf
+	media-libs/sdl-net
+	zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+	dev-libs/libxslt
+	test? (
+		app-text/docbook-xml-dtd:4.2
+		dev-libs/libxml2
+	)
+"
+
+src_configure() {
+	econf \
+		--enable-sound \
+		--enable-network \
+		$(use_with zlib) \
+		--enable-cfed \
+		--enable-bi2cf \
+		--enable-comet \
+		--enable-cf2bmp
+}
+
+src_install() {
+	emake \
+		DESTDIR="${D}" \
+		pixmapsdir="/usr/share/pixmaps" \
+		install
+	einstalldocs
+	rm -rf "${ED}/usr/share/applications"
+	make_desktop_entry crimson "Crimson Fields"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/
@ 2018-05-01 19:37 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2018-05-01 19:37 UTC (permalink / raw
  To: gentoo-commits

commit:     f0ef135fa2e5e25318e7a9301cf387b7119c2a0f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May  1 18:51:58 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May  1 19:35:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ef135f

games-strategy/crimson: Drop old

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-strategy/crimson/crimson-0.5.3.ebuild | 58 -----------------------------
 1 file changed, 58 deletions(-)

diff --git a/games-strategy/crimson/crimson-0.5.3.ebuild b/games-strategy/crimson/crimson-0.5.3.ebuild
deleted file mode 100644
index 0cec24d6a05..00000000000
--- a/games-strategy/crimson/crimson-0.5.3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-DESCRIPTION="Tactical war game in the tradition of Battle Isle"
-HOMEPAGE="http://crimson.seul.org/"
-SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test zlib"
-
-RDEPEND="media-libs/libsdl[sound,video]
-	media-libs/sdl-mixer
-	media-libs/sdl-ttf
-	media-libs/sdl-net
-	zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
-	dev-libs/libxslt
-	test? (
-		=app-text/docbook-xml-dtd-4.2*
-		dev-libs/libxml2
-	)"
-
-src_configure() {
-	egamesconf \
-		--enable-sound \
-		--enable-network \
-		$(use_with zlib) \
-		--enable-cfed \
-		--enable-bi2cf \
-		--enable-comet \
-		--enable-cf2bmp
-}
-
-src_install() {
-	emake \
-		DESTDIR="${D}" \
-		pixmapsdir="/usr/share/pixmaps" \
-		install
-	dodoc NEWS README* THANKS TODO
-	rm -rf "${D}/${GAMES_DATADIR}/applications"
-	make_desktop_entry crimson "Crimson Fields"
-	prepgamesdirs
-}
-
-pkg_postinst() {
-	games_pkg_postinst
-	echo
-	ewarn "Crimson Fields ${PV} is not necessarily save-game compatible with previous versions."
-	echo
-	elog "If you have older save files and you wish to continue those games,"
-	elog "you'll need to remerge the version with which you started"
-	elog "those save-games."
-}


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/
@ 2019-12-06 20:32 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2019-12-06 20:32 UTC (permalink / raw
  To: gentoo-commits

commit:     eab6df745993e6f943eb460452025b233a08a16c
Author:     Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Fri Dec  6 16:02:30 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 20:32:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eab6df74

games-strategy/crimson: fix MissingTestRestrict

Signed-off-by: Wim Muskee <wimmuskee <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-strategy/crimson/crimson-0.5.3-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-strategy/crimson/crimson-0.5.3-r1.ebuild b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
index ad228438eb3..3479d4caac6 100644
--- a/games-strategy/crimson/crimson-0.5.3-r1.ebuild
+++ b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,6 +12,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="test zlib"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
 	media-libs/libsdl[sound,video]


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

end of thread, other threads:[~2019-12-06 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-01 19:37 [gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2019-12-06 20:32 David Seifert
2018-05-01 19:37 Pacho Ramos

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