1 |
commit: 862a2711bc6621a45b845d326c9efedef267adca |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 5 12:35:26 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 5 12:35:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=862a2711 |
7 |
|
8 |
games-util/grfcodec: Bump to version 6.0.6 (bug #614996). |
9 |
|
10 |
This also fixes the gcc-6 issue reported in bug #594146. |
11 |
|
12 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
13 |
|
14 |
games-util/grfcodec/Manifest | 1 + |
15 |
games-util/grfcodec/grfcodec-6.0.6.ebuild | 51 +++++++++++++++++++++++++++++++ |
16 |
2 files changed, 52 insertions(+) |
17 |
|
18 |
diff --git a/games-util/grfcodec/Manifest b/games-util/grfcodec/Manifest |
19 |
index f66bb2e757b..c6a789491c6 100644 |
20 |
--- a/games-util/grfcodec/Manifest |
21 |
+++ b/games-util/grfcodec/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST grfcodec-6.0.5-source.tar.xz 166788 SHA256 db149e98095de107a8d6f715f03376380f201ea158e0cdc53585d9a1b5cbe8a2 SHA512 b578c6d53b69a1d43d59039f26a028e1437536102150fc2bddfff349ef3c7f720ee31e682ccc5df892c2660e167663c2ab12c3fa63c720022ab14d0645d0bf99 WHIRLPOOL d36ea24172724821fdcb10bf80630ba8adf822675b78e6df414395b1b210fa792c864bfb7e11d8c1e9a38e89d33d9aec91ec3f6c4a5951e9f8301f8b3fbacb38 |
24 |
+DIST grfcodec-6.0.6-source.tar.xz 166820 SHA256 53ef18b810114d8f41b87aad8bafea0e98b1df55a6d4c5e27551337cedab4d21 SHA512 543123c794bfdb5b6556f7a897bcd2f3bdd09be8ad6a4ff07b138e0cac62621a4801c732bb20099c1bb383ad5822fc4ade276d49acf2744c811edd10d7699480 WHIRLPOOL 7b374769db83b68e12ff458533eab47072c72d5793d5aa7e40b02e34d5c6e42231c3bac1b21d2970e7314a8118cd102501658f2ced5d06607ca2b5c8b203a43b |
25 |
|
26 |
diff --git a/games-util/grfcodec/grfcodec-6.0.6.ebuild b/games-util/grfcodec/grfcodec-6.0.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..132a9c6cc76 |
29 |
--- /dev/null |
30 |
+++ b/games-util/grfcodec/grfcodec-6.0.6.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+if [ "${PV%9999}" != "${PV}" ] ; then |
38 |
+ SCM=mercurial |
39 |
+ EHG_REPO_URI="http://hg.openttdcoop.org/${PN}" |
40 |
+fi |
41 |
+ |
42 |
+inherit toolchain-funcs ${SCM} |
43 |
+ |
44 |
+DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files" |
45 |
+HOMEPAGE="http://dev.openttdcoop.org/projects/grfcodec" |
46 |
+[[ -z ${SCM} ]] && SRC_URI="http://binaries.openttd.org/extra/${PN}/${PV}/${P}-source.tar.xz" |
47 |
+ |
48 |
+LICENSE="GPL-2+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
51 |
+IUSE="" |
52 |
+ |
53 |
+RDEPEND="media-libs/libpng:0" |
54 |
+DEPEND=" |
55 |
+ ${RDEPEND} |
56 |
+ !games-util/nforenum |
57 |
+ dev-lang/perl |
58 |
+ dev-libs/boost |
59 |
+" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ |
64 |
+ # Set up Makefile.local so that we respect CXXFLAGS/LDFLAGS |
65 |
+ cat > Makefile.local <<-__EOF__ |
66 |
+ CXX=$(tc-getCXX) |
67 |
+ BOOST_INCLUDE=/usr/include |
68 |
+ CXXFLAGS=${CXXFLAGS} |
69 |
+ LDOPT=${LDFLAGS} |
70 |
+ UPX= |
71 |
+ V=1 |
72 |
+ FLAGS= |
73 |
+ EXE= |
74 |
+ __EOF__ |
75 |
+ sed -i -e 's/-O2//g' Makefile || die |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ dobin grfcodec grfid grfstrip nforenum |
80 |
+ doman docs/*.1 |
81 |
+ dodoc changelog.txt docs/*.txt |
82 |
+} |