summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-05-05 14:35:26 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-05-05 14:35:42 +0200
commit862a2711bc6621a45b845d326c9efedef267adca (patch)
tree12f9fb8f1316348757000bcba3c1a1598179625e /games-util
parentdev-python/pypcap: Version bump. (diff)
downloadgentoo-862a2711bc6621a45b845d326c9efedef267adca.tar.gz
gentoo-862a2711bc6621a45b845d326c9efedef267adca.tar.bz2
gentoo-862a2711bc6621a45b845d326c9efedef267adca.zip
games-util/grfcodec: Bump to version 6.0.6 (bug #614996).
This also fixes the gcc-6 issue reported in bug #594146. Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'games-util')
-rw-r--r--games-util/grfcodec/Manifest1
-rw-r--r--games-util/grfcodec/grfcodec-6.0.6.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/games-util/grfcodec/Manifest b/games-util/grfcodec/Manifest
index f66bb2e757b3..c6a789491c62 100644
--- a/games-util/grfcodec/Manifest
+++ b/games-util/grfcodec/Manifest
@@ -1 +1,2 @@
DIST grfcodec-6.0.5-source.tar.xz 166788 SHA256 db149e98095de107a8d6f715f03376380f201ea158e0cdc53585d9a1b5cbe8a2 SHA512 b578c6d53b69a1d43d59039f26a028e1437536102150fc2bddfff349ef3c7f720ee31e682ccc5df892c2660e167663c2ab12c3fa63c720022ab14d0645d0bf99 WHIRLPOOL d36ea24172724821fdcb10bf80630ba8adf822675b78e6df414395b1b210fa792c864bfb7e11d8c1e9a38e89d33d9aec91ec3f6c4a5951e9f8301f8b3fbacb38
+DIST grfcodec-6.0.6-source.tar.xz 166820 SHA256 53ef18b810114d8f41b87aad8bafea0e98b1df55a6d4c5e27551337cedab4d21 SHA512 543123c794bfdb5b6556f7a897bcd2f3bdd09be8ad6a4ff07b138e0cac62621a4801c732bb20099c1bb383ad5822fc4ade276d49acf2744c811edd10d7699480 WHIRLPOOL 7b374769db83b68e12ff458533eab47072c72d5793d5aa7e40b02e34d5c6e42231c3bac1b21d2970e7314a8118cd102501658f2ced5d06607ca2b5c8b203a43b
diff --git a/games-util/grfcodec/grfcodec-6.0.6.ebuild b/games-util/grfcodec/grfcodec-6.0.6.ebuild
new file mode 100644
index 000000000000..132a9c6cc76f
--- /dev/null
+++ b/games-util/grfcodec/grfcodec-6.0.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [ "${PV%9999}" != "${PV}" ] ; then
+ SCM=mercurial
+ EHG_REPO_URI="http://hg.openttdcoop.org/${PN}"
+fi
+
+inherit toolchain-funcs ${SCM}
+
+DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files"
+HOMEPAGE="http://dev.openttdcoop.org/projects/grfcodec"
+[[ -z ${SCM} ]] && SRC_URI="http://binaries.openttd.org/extra/${PN}/${PV}/${P}-source.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libpng:0"
+DEPEND="
+ ${RDEPEND}
+ !games-util/nforenum
+ dev-lang/perl
+ dev-libs/boost
+"
+
+src_prepare() {
+ default
+
+ # Set up Makefile.local so that we respect CXXFLAGS/LDFLAGS
+ cat > Makefile.local <<-__EOF__
+ CXX=$(tc-getCXX)
+ BOOST_INCLUDE=/usr/include
+ CXXFLAGS=${CXXFLAGS}
+ LDOPT=${LDFLAGS}
+ UPX=
+ V=1
+ FLAGS=
+ EXE=
+ __EOF__
+ sed -i -e 's/-O2//g' Makefile || die
+}
+
+src_install() {
+ dobin grfcodec grfid grfstrip nforenum
+ doman docs/*.1
+ dodoc changelog.txt docs/*.txt
+}