Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/
Date: Tue, 01 May 2018 19:37:55
Message-Id: 1525203352.be0919e950aa596d2ca2e7984f7d89bc08bba1f4.pacho@gentoo
1 commit: be0919e950aa596d2ca2e7984f7d89bc08bba1f4
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 1 18:51:49 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue May 1 19:35:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0919e9
7
8 games-strategy/crimson: Stop using games.eclass
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-strategy/crimson/crimson-0.5.3-r1.ebuild | 49 ++++++++++++++++++++++++++
13 1 file changed, 49 insertions(+)
14
15 diff --git a/games-strategy/crimson/crimson-0.5.3-r1.ebuild b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
16 new file mode 100644
17 index 00000000000..ad228438eb3
18 --- /dev/null
19 +++ b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
20 @@ -0,0 +1,49 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit desktop
26 +
27 +DESCRIPTION="Tactical war game in the tradition of Battle Isle"
28 +HOMEPAGE="http://crimson.seul.org/"
29 +SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2"
30 +
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~amd64 ~x86"
34 +IUSE="test zlib"
35 +
36 +RDEPEND="
37 + media-libs/libsdl[sound,video]
38 + media-libs/sdl-mixer
39 + media-libs/sdl-ttf
40 + media-libs/sdl-net
41 + zlib? ( sys-libs/zlib )"
42 +DEPEND="${RDEPEND}
43 + dev-libs/libxslt
44 + test? (
45 + app-text/docbook-xml-dtd:4.2
46 + dev-libs/libxml2
47 + )
48 +"
49 +
50 +src_configure() {
51 + econf \
52 + --enable-sound \
53 + --enable-network \
54 + $(use_with zlib) \
55 + --enable-cfed \
56 + --enable-bi2cf \
57 + --enable-comet \
58 + --enable-cf2bmp
59 +}
60 +
61 +src_install() {
62 + emake \
63 + DESTDIR="${D}" \
64 + pixmapsdir="/usr/share/pixmaps" \
65 + install
66 + einstalldocs
67 + rm -rf "${ED}/usr/share/applications"
68 + make_desktop_entry crimson "Crimson Fields"
69 +}