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.1.ebuild
Date: Mon, 05 Nov 2007 18:16:48
Message-Id: E1Ip6V8-0005Yk-4u@stork.gentoo.org
1 mr_bones_ 07/11/05 18:16:42
2
3 Modified: ChangeLog
4 Added: ultrastar-ng-0.2.1.ebuild
5 Log:
6 version bump - bug #197876
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.3 games-arcade/ultrastar-ng/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 2 Nov 2007 19:39:37 -0000 1.2
23 +++ ChangeLog 5 Nov 2007 18:16:41 -0000 1.3
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.2 2007/11/02 19:39:37 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v 1.3 2007/11/05 18:16:41 mr_bones_ Exp $
29 +
30 +*ultrastar-ng-0.2.1 (05 Nov 2007)
31 +
32 + 05 Nov 2007; Michael Sterrett <mr_bones_@g.o>
33 + +ultrastar-ng-0.2.1.ebuild:
34 + version bump - bug #197876
35
36 *ultrastar-ng-0.2.0 (02 Nov 2007)
37
38
39
40
41 1.1 games-arcade/ultrastar-ng/ultrastar-ng-0.2.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ultrastar-ng-0.2.1.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 if ! built_with_use dev-libs/boost threads ; then
91 eerror "Please emerge dev-libs/boost with USE=threads"
92 fi
93 }
94
95 src_compile() {
96 local myconf
97
98 if use novideo; then
99 myconf="--with-video=disable"
100 else
101 myconf="--with-video=smpeg"
102 fi
103 if use opengl; then
104 myconf="$myconf --with-graphic-driver=opengl"
105 else
106 myconf="$myconf --with-graphic-driver=sdl"
107 fi
108 if use xine; then
109 myconf="$myconf --with-audio=xine"
110 else
111 myconf="$myconf --with-audio=gstreamer"
112 fi
113
114 egamesconf \
115 ${myconf} \
116 $(use_enable debug) \
117 $(use_enable portaudio record-portaudio) \
118 $(use_enable gstreamer record-gst) \
119 $(use_enable alsa record-alsa) \
120 || die
121 emake || die "emake failed"
122 }
123
124 src_install() {
125 emake DESTDIR="${D}" install || die "emake install failed"
126 keepdir "${GAMES_DATADIR}"/${PN}/songs
127 mv "${D}${GAMES_DATADIR}"/{applications,pixmaps} "${D}"/usr/share/
128 dodoc AUTHORS ChangeLog README TODO
129 prepgamesdirs
130 }
131
132
133
134 --
135 gentoo-commits@g.o mailing list