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-arcade/ultrastar-ng: ChangeLog ultrastar-ng-0.2.0.ebuild
Date: Fri, 02 Nov 2007 19:39:43
Message-Id: E1Io2Mk-0000lm-56@stork.gentoo.org
1 mr_bones_ 07/11/02 19:39:38
2
3 Modified: ChangeLog
4 Added: ultrastar-ng-0.2.0.ebuild
5 Log:
6 version bump - ebuild patch from Vincent via bug #197876
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.2 games-arcade/ultrastar-ng/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 6 Jul 2007 20:58:10 -0000 1.1
23 +++ ChangeLog 2 Nov 2007 19:39:37 -0000 1.2
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-arcade/ultrastar-ng
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v 1.1 2007/07/06 20:58:10 tupone Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v 1.2 2007/11/02 19:39:37 mr_bones_ Exp $
29 +
30 +*ultrastar-ng-0.2.0 (02 Nov 2007)
31 +
32 + 02 Nov 2007; Michael Sterrett <mr_bones_@g.o>
33 + +ultrastar-ng-0.2.0.ebuild:
34 + version bump - ebuild patch from Vincent via bug #197876
35
36 *ultrastar-ng-0.1.4 (06 Jul 2007)
37
38
39
40
41 1.1 games-arcade/ultrastar-ng/ultrastar-ng-0.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ultrastar-ng-0.2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ultrastar-ng-0.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ultrastar-ng-0.2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50
51 inherit eutils games
52
53 MY_PN=UltraStar-ng
54 MY_P=${MY_PN}-${PV}
55
56 DESCRIPTION="SingStar GPL clone"
57 HOMEPAGE="http://sourceforge.net/projects/ultrastar-ng/"
58 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="novideo opengl xine debug alsa gstreamer portaudio"
64
65 RDEPEND="gnome-base/librsvg
66 dev-libs/boost
67 x11-libs/pango
68 media-libs/sdl-image
69 media-libs/sdl-gfx
70 xine? ( media-libs/xine-lib )
71 !xine? ( media-libs/gstreamer )
72 opengl? (
73 virtual/opengl
74 virtual/glu
75 )
76 alsa? ( media-libs/alsa-lib )
77 portaudio? ( media-libs/portaudio )
78 gstreamer? ( >=media-libs/gstreamer-0.10 )
79 !novideo? ( media-libs/smpeg )"
80 DEPEND="${RDEPEND}
81 dev-util/pkgconfig"
82
83 S=${WORKDIR}/${MY_P}
84
85 pkg_setup() {
86 games_pkg_setup
87 if use opengl && ! built_with_use media-libs/libsdl opengl; then
88 eerror "opengl flag set, but libsdl wasn't build with opengl support"
89 fi
90 }
91
92 src_compile() {
93 local myconf
94
95 if use novideo; then
96 myconf="--with-video=disable"
97 else
98 myconf="--with-video=smpeg"
99 fi
100 if use opengl; then
101 myconf="$myconf --with-graphic-driver=opengl"
102 else
103 myconf="$myconf --with-graphic-driver=sdl"
104 fi
105 if use xine; then
106 myconf="$myconf --with-audio=xine"
107 else
108 myconf="$myconf --with-audio=gstreamer"
109 fi
110
111
112 egamesconf \
113 ${myconf} \
114 $(use_enable debug) \
115 $(use_enable portaudio record-portaudio) \
116 $(use_enable gstreamer record-gst) \
117 $(use_enable alsa record-alsa) \
118 || die
119 emake || die "emake failed"
120 }
121
122 src_install() {
123 emake DESTDIR="${D}" install || die "emake install failed"
124 keepdir "${GAMES_DATADIR}"/${PN}/songs
125 mv "${D}${GAMES_DATADIR}"/{applications,pixmaps} "${D}"/usr/share/
126 dodoc AUTHORS ChangeLog README TODO
127 prepgamesdirs
128 }
129
130
131
132 --
133 gentoo-commits@g.o mailing list