Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/
Date: Mon, 26 Dec 2016 17:04:57
Message-Id: 1482771884.54ccd93f6d01ee6bb5fa312b38d4127440ce9869.polynomial-c@gentoo
1 commit: 54ccd93f6d01ee6bb5fa312b38d4127440ce9869
2 Author: Alexander Golubev <fatzer2 <AT> gmail <DOT> com>
3 AuthorDate: Sun Dec 25 22:37:36 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 26 17:04:44 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54ccd93f
7
8 games-misc/opengfx: EAPI=6
9
10 Closes: https://github.com/gentoo/gentoo/pull/3242
11
12 games-misc/opengfx/opengfx-0.5.4-r1.ebuild | 37 ++++++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/games-misc/opengfx/opengfx-0.5.4-r1.ebuild b/games-misc/opengfx/opengfx-0.5.4-r1.ebuild
16 new file mode 100644
17 index 00000000..3589495
18 --- /dev/null
19 +++ b/games-misc/opengfx/opengfx-0.5.4-r1.ebuild
20 @@ -0,0 +1,37 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=6
26 +inherit eutils
27 +
28 +DESCRIPTION="OpenGFX data files for OpenTTD"
29 +HOMEPAGE="http://bundles.openttdcoop.org/opengfx/"
30 +SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~arm ~ppc ~x86"
35 +IUSE=""
36 +RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444)
37 +
38 +DEPEND=">=games-util/nml-0.4.0
39 + games-util/grfcodec"
40 +RDEPEND=""
41 +
42 +S=${WORKDIR}/${P}-source
43 +
44 +PATCHES=(
45 + "${FILESDIR}/${P}-Makefile.patch"
46 +)
47 +
48 +src_compile() {
49 + emake GIMP="" help # print out the env to make bug reports better
50 + emake GIMP="" _V="" bundle_tar
51 +}
52 +
53 +src_install() {
54 + insinto "/usr/share/games/openttd/data/"
55 + doins *.grf opengfx.obg
56 + dodoc docs/{changelog.txt,readme.txt}
57 +}