Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/liquidwar: ChangeLog liquidwar-5.6.4-r1.ebuild
Date: Mon, 04 Mar 2013 22:36:26
Message-Id: 20130304223622.69D132171D@flycatcher.gentoo.org
1 hasufell 13/03/04 22:36:22
2
3 Modified: ChangeLog
4 Added: liquidwar-5.6.4-r1.ebuild
5 Log:
6 fix bug 460344, bump EAPI
7
8 (Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.28 games-strategy/liquidwar/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/liquidwar/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/liquidwar/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/liquidwar/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 22 Mar 2012 01:20:56 -0000 1.27
24 +++ ChangeLog 4 Mar 2013 22:36:22 -0000 1.28
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-strategy/liquidwar
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.27 2012/03/22 01:20:56 mr_bones_ Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.28 2013/03/04 22:36:22 hasufell Exp $
31 +
32 +*liquidwar-5.6.4-r1 (04 Mar 2013)
33 +
34 + 04 Mar 2013; Julian Ospald <hasufell@g.o> +liquidwar-5.6.4-r1.ebuild:
35 + fix bug 460344, bump EAPI
36
37 22 Mar 2012; Michael Sterrett <mr_bones_@g.o> liquidwar-5.6.4.ebuild:
38 add X use dep for allegro (bug #409115)
39
40
41
42 1.1 games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: liquidwar-5.6.4-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild,v 1.1 2013/03/04 22:36:22 hasufell Exp $
52
53 EAPI=5
54 inherit eutils games
55
56 DESCRIPTION="unique multiplayer wargame"
57 HOMEPAGE="http://www.ufoot.org/liquidwar/"
58 SRC_URI="http://savannah.nongnu.org/download/liquidwar/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
63 IUSE="nls"
64 RESTRICT="test"
65
66 RDEPEND=">=media-libs/allegro-4.2:0[X]"
67 DEPEND="${RDEPEND}"
68
69 src_prepare() {
70 epatch "${FILESDIR}"/${P}-exec-stack.patch \
71 "${FILESDIR}"/${P}-ovflfix.patch
72 sed -i \
73 -e 's:/games::' \
74 -e '/^MANDIR/ s:=.*:= $(mandir)/man6:' \
75 -e '/^PIXDIR/ s:=.*:= /usr/share/pixmaps:' \
76 -e '/^DESKTOPDIR/ s:=.*:= /usr/share/applnk/Games/:' \
77 -e '/^INFODIR/ s/=.*/= $(infodir)/' \
78 -e '/^GAMEDIR/ s/exec_prefix/bindir/' \
79 -e '/install/s:-s ::' \
80 -e 's:$(DOCDIR)/txt:$(DOCDIR):g' \
81 -e 's:$(GMAKE):$(MAKE):' \
82 -e '/^DOCDIR/ s:=.*:= /usr/share/doc/$(PF):' Makefile.in \
83 || die 'sed Makefile.in failed'
84 sed -i \
85 -e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \
86 -e 's:/games::' src/Makefile.in \
87 || die "sed src/Makefile.in failed"
88 epatch "${FILESDIR}"/${P}-underlink.patch
89 }
90
91 src_configure() {
92 egamesconf \
93 --disable-doc-ps \
94 --disable-doc-pdf \
95 --disable-target-opt \
96 $(use_enable x86 asm)
97 }
98
99 src_compile() {
100 # skip build_doc target wrt bug 460344
101 emake build_bin build_data
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" install_nolink
106 rm -f "${D}"/usr/share/doc/${PF}/COPYING
107 use nls || rm -f "${D}"/usr/share/doc/${PF}/README.*
108 prepgamesdirs
109 }