Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-engines/scummvm-tools: scummvm-tools-1.6.0.ebuild ChangeLog
Date: Sun, 02 Jun 2013 04:33:55
Message-Id: 20130602043352.1B6EE2171D@flycatcher.gentoo.org
1 mr_bones_ 13/06/02 04:33:51
2
3 Modified: ChangeLog
4 Added: scummvm-tools-1.6.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.58 games-engines/scummvm-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm-tools/ChangeLog?rev=1.58&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm-tools/ChangeLog?rev=1.58&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm-tools/ChangeLog?r1=1.57&r2=1.58
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm-tools/ChangeLog,v
20 retrieving revision 1.57
21 retrieving revision 1.58
22 diff -u -r1.57 -r1.58
23 --- ChangeLog 4 Nov 2012 04:31:47 -0000 1.57
24 +++ ChangeLog 2 Jun 2013 04:33:51 -0000 1.58
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-engines/scummvm-tools
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm-tools/ChangeLog,v 1.57 2012/11/04 04:31:47 mr_bones_ Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm-tools/ChangeLog,v 1.58 2013/06/02 04:33:51 mr_bones_ Exp $
31 +
32 +*scummvm-tools-1.6.0 (02 Jun 2013)
33 +
34 + 02 Jun 2013; Michael Sterrett <mr_bones_@g.o>
35 + +scummvm-tools-1.6.0.ebuild:
36 + version bump
37
38 04 Nov 2012; Michael Sterrett <mr_bones_@g.o>
39 +files/scummvm-tools-1.4.0-boost.patch, scummvm-tools-1.4.0.ebuild:
40
41
42
43 1.1 games-engines/scummvm-tools/scummvm-tools-1.6.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm-tools/scummvm-tools-1.6.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm-tools/scummvm-tools-1.6.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: scummvm-tools-1.6.0.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm-tools/scummvm-tools-1.6.0.ebuild,v 1.1 2013/06/02 04:33:51 mr_bones_ Exp $
53
54 EAPI=5
55 WX_GTK_VER=2.8
56 inherit wxwidgets eutils flag-o-matic games
57
58 DESCRIPTION="utilities for the SCUMM game engine"
59 HOMEPAGE="http://scummvm.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/scummvm/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
65 IUSE="flac iconv mad png vorbis"
66 RESTRICT="test" # some tests require external files
67
68 RDEPEND="png? ( media-libs/libpng )
69 mad? ( media-libs/libmad )
70 flac? ( media-libs/flac )
71 vorbis? ( media-libs/libvorbis )
72 iconv? ( virtual/libiconv media-libs/freetype:2 )
73 sys-libs/zlib
74 >=dev-libs/boost-1.32
75 x11-libs/wxGTK:2.8"
76 DEPEND="${RDEPEND}
77 virtual/pkgconfig"
78
79 src_prepare() {
80 rm -rf *.bat dists/win32
81 # use $T instead of /tmp - bug #402459
82 sed -i \
83 -e 's:/tmp:"${T}":' \
84 configure || die
85 sed -ri \
86 -e '/^(CC|CXX)\b/d' \
87 Makefile || die
88
89 local boost_ver=$(best_version ">=dev-libs/boost-1.32")
90
91 boost_ver=${boost_ver/*boost-/}
92 boost_ver=${boost_ver%.*}
93 boost_ver=${boost_ver/./_}
94
95 einfo "Using boost version ${boost_ver}"
96 append-cxxflags \
97 -I/usr/include/boost-${boost_ver}
98 append-ldflags \
99 -L/usr/$(get_libdir)/boost-${boost_ver}
100 export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
101 export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
102 }
103
104 src_configure() {
105 # Not an autoconf script
106 ./configure \
107 --enable-verbose-build \
108 --mandir=/usr/share/man \
109 --prefix=/usr/games \
110 --libdir=/usr/games/lib \
111 $(use_enable flac) \
112 $(use_enable iconv) \
113 $(use_enable iconv freetype) \
114 $(use_enable mad) \
115 $(use_enable png) \
116 $(use_enable vorbis) \
117 || die
118 }
119
120 src_install() {
121 local f
122 for f in $(find . -type f -perm +1 -print); do
123 newgamesbin $f ${PN}-${f##*/} || die
124 done
125 dodoc README TODO
126 prepgamesdirs
127 }