Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/lxdream: ChangeLog lxdream-0.9.1-r2.ebuild lxdream-0.9.1-r1.ebuild
Date: Thu, 28 Jul 2011 09:02:31
Message-Id: 20110728082305.0D9332004B@flycatcher.gentoo.org
1 chithanh 11/07/28 08:23:05
2
3 Modified: ChangeLog
4 Added: lxdream-0.9.1-r2.ebuild
5 Removed: lxdream-0.9.1-r1.ebuild
6 Log:
7 Fix automagic dependency on lirc.
8
9 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 games-emulation/lxdream/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/lxdream/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/lxdream/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/lxdream/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-emulation/lxdream/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 14 Feb 2010 01:42:44 -0000 1.2
25 +++ ChangeLog 28 Jul 2011 08:23:04 -0000 1.3
26 @@ -1,6 +1,12 @@
27 # ChangeLog for games-emulation/lxdream
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/lxdream/ChangeLog,v 1.2 2010/02/14 01:42:44 chithanh Exp $
30 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/lxdream/ChangeLog,v 1.3 2011/07/28 08:23:04 chithanh Exp $
32 +
33 +*lxdream-0.9.1-r2 (28 Jul 2011)
34 +
35 + 28 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
36 + -lxdream-0.9.1-r1.ebuild, +lxdream-0.9.1-r2.ebuild:
37 + Fix automagic dependency on lirc.
38
39 *lxdream-0.9.1-r1 (14 Feb 2010)
40
41
42
43
44 1.1 games-emulation/lxdream/lxdream-0.9.1-r2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/lxdream/lxdream-0.9.1-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/lxdream/lxdream-0.9.1-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: lxdream-0.9.1-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/games-emulation/lxdream/lxdream-0.9.1-r2.ebuild,v 1.1 2011/07/28 08:23:04 chithanh Exp $
54
55 EAPI=2
56
57 inherit eutils games
58
59 DESCRIPTION="An emulator for the Sega Dreamcast system"
60 HOMEPAGE="http://www.lxdream.org/"
61 SRC_URI="http://www.lxdream.org/count.php?file=${P}.tar.gz -> ${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="debug lirc profile pulseaudio sdl"
67
68 RDEPEND="lirc? ( app-misc/lirc )
69 media-libs/alsa-lib
70 media-libs/libpng
71 pulseaudio? ( media-sound/pulseaudio )
72 sdl? ( media-libs/libsdl[audio] )
73 virtual/opengl
74 x11-libs/gtk+:2"
75
76 DEPEND="${RDEPEND}
77 dev-util/pkgconfig
78 sys-devel/gettext
79 virtual/os-headers"
80
81 src_prepare() {
82 # Make .desktop file pass desktop-file-validate
83 sed -i \
84 -e '/Encoding/d' \
85 -e '/FilePattern/d' \
86 -e '/Categories/s|$|;|' \
87 ${PN}.desktop || die "sed failed"
88 # Do not override user-specified CFLAGS
89 sed -i \
90 -e s/'CFLAGS=\"-g -fexceptions\"'/'CFLAGS=\"${CFLAGS} -g -fexceptions\"'/ \
91 -e '/CCOPT/d' \
92 -e '/OBJCOPT/d' \
93 configure || die "sed failed"
94 }
95
96 src_configure() {
97 egamesconf \
98 --datadir="${GAMES_DATADIR_BASE}" \
99 $(use_enable debug trace) \
100 $(use_enable debug watch) \
101 $(use_enable profile profiled) \
102 $(use_with lirc) \
103 $(use_with pulseaudio pulse) \
104 $(use_with sdl) \
105 --without-esd
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "install failed"
110 dodoc ChangeLog NEWS README || die "dodoc failed"
111 prepgamesdirs
112 }