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-simulation/crrcsim: ChangeLog crrcsim-0.9.12-r1.ebuild crrcsim-0.9.12.ebuild
Date: Sun, 01 Jun 2014 22:27:42
Message-Id: 20140601222737.27B4E2004E@flycatcher.gentoo.org
1 hasufell 14/06/01 22:27:37
2
3 Modified: ChangeLog
4 Added: crrcsim-0.9.12-r1.ebuild
5 Removed: crrcsim-0.9.12.ebuild
6 Log:
7 respect GAMES variables wrt #494202, install icon and desktop file wrt #494224
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
10
11 Revision Changes Path
12 1.10 games-simulation/crrcsim/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/crrcsim/ChangeLog?rev=1.10&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/crrcsim/ChangeLog?rev=1.10&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/crrcsim/ChangeLog?r1=1.9&r2=1.10
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-simulation/crrcsim/ChangeLog,v
21 retrieving revision 1.9
22 retrieving revision 1.10
23 diff -u -r1.9 -r1.10
24 --- ChangeLog 15 May 2014 16:59:51 -0000 1.9
25 +++ ChangeLog 1 Jun 2014 22:27:36 -0000 1.10
26 @@ -1,6 +1,13 @@
27 # ChangeLog for games-simulation/crrcsim
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/crrcsim/ChangeLog,v 1.9 2014/05/15 16:59:51 ulm Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/crrcsim/ChangeLog,v 1.10 2014/06/01 22:27:36 hasufell Exp $
31 +
32 +*crrcsim-0.9.12-r1 (01 Jun 2014)
33 +
34 + 01 Jun 2014; Julian Ospald <hasufell@g.o> -crrcsim-0.9.12.ebuild,
35 + +crrcsim-0.9.12-r1.ebuild, files/crrcsim-buildsystem.patch:
36 + respect GAMES variables wrt #494202, install icon and desktop file wrt
37 + #494224
38
39 15 May 2014; Ulrich Müller <ulm@g.o> crrcsim-0.9.12.ebuild:
40 Fix USE dependency on media-libs/libsdl, "audio" USE flag was renamed to
41
42
43
44 1.1 games-simulation/crrcsim/crrcsim-0.9.12-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/crrcsim/crrcsim-0.9.12-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/crrcsim/crrcsim-0.9.12-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: crrcsim-0.9.12-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/games-simulation/crrcsim/crrcsim-0.9.12-r1.ebuild,v 1.1 2014/06/01 22:27:36 hasufell Exp $
54
55 EAPI=5
56 WANT_AUTOMAKE="1.10"
57 inherit autotools eutils gnome2-utils games
58
59 DESCRIPTION="model-airplane flight simulation program"
60 HOMEPAGE="http://sourceforge.net/projects/crrcsim/"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="portaudio"
67
68 RDEPEND="sci-mathematics/cgal
69 media-libs/plib
70 media-libs/libsdl[X,sound,joystick,opengl,video]
71 portaudio? ( media-libs/portaudio )"
72 DEPEND="${RDEPEND}"
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${PN}-buildsystem.patch
76 if has_version "sci-mathematics/cgal[gmp(+)]" ; then
77 epatch "${FILESDIR}"/${PN}-cgal_gmp.patch
78 fi
79 eautoreconf
80 }
81
82 src_configure() {
83 egamesconf \
84 --datarootdir="${EPREFIX%/}/usr/share" \
85 --datadir="${GAMES_DATADIR}" \
86 --docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
87 $(use_with portaudio)
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install
92 dodoc AUTHORS HISTORY NEWS README
93 doicon -s 32 packages/icons/${PN}.png
94 make_desktop_entry ${PN}
95 prepgamesdirs
96 }
97
98 pkg_preinst() {
99 games_pkg_preinst
100 gnome2_icon_savelist
101 }
102
103 pkg_postinst() {
104 games_pkg_postinst
105 gnome2_icon_cache_update
106 }
107
108 pkg_postrm() {
109 gnome2_icon_cache_update
110 }