Contents of /trunk/todo/ultrastar-ng/ultrastar-ng-0.1.4-r2.smage2
Parent Directory | Revision Log
Revision 2612 -
(show annotations)
(download)
Thu Jul 9 20:39:00 2009 UTC (15 years, 2 months ago) by niro
File size: 1607 byte(s)
Thu Jul 9 20:39:00 2009 UTC (15 years, 2 months ago) by niro
File size: 1607 byte(s)
-moved to 'todo'
1 | # $Header: /magellan-cvs/smage/ultrastar-ng/ultrastar-ng-0.1.4-r2.smage2,v 1.2 2008/02/07 14:23:54 niro Exp $ |
2 | |
3 | PNAME="ultrastar-ng" |
4 | PVER="0.1.4" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="x11-games" |
8 | STATE="testing" |
9 | |
10 | DESCRIPTION="UltraStar-ng: The free Linux karaoke game." |
11 | HOMEPAGE="http://ultrastar-ng.sourceforge.net/" |
12 | |
13 | DEPEND=">= media-libs/alsa-lib-1 |
14 | >= media-libs/gstreamer-0.10 |
15 | >= media-libs/gst-plugins-base-0.10 |
16 | >= media-libs/gst-plugins-good-0.10 |
17 | >= media-libs/gst-plugins-fluendo-mp3-0.10 |
18 | >= media-libs/libsdl-1.2 |
19 | >= media-libs/sdl-image-1.2 |
20 | >= media-libs/sdl-gfx-2.0 |
21 | >= media-libs/smpeg-0.4.4 |
22 | >= x11-libs/cairo-1.4 |
23 | >= gnome-base/librsvg-2 |
24 | >= sci-libs/fftw3-3" |
25 | |
26 | SRCFILE="UltraStar-ng-${PVER}.tar.gz" |
27 | SRCDIR="${BUILDDIR}/UltraStar-ng-${PVER}" |
28 | |
29 | GAME_EXEC="${PNAME/-/}" |
30 | sminclude games mtools |
31 | |
32 | SRC_URI=( |
33 | sourceforge://${PNAME}/${SRCFILE} |
34 | mirror://${PNAME}/${SRCFILE} |
35 | ) |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | games_configure \ |
42 | --with-video=smpeg \ |
43 | --with-svg=librsvg \ |
44 | --with-audio=gstreamer \ |
45 | --with-graphic-driver=sdl \ |
46 | --disable-debug \ |
47 | || die |
48 | |
49 | # fix broken datadir; there is a "/" at the end: |
50 | # /usr/local/ultrastar-ng/share/ultrastar-ng//songs |
51 | mmake DDATA_DIR="\${datarootdir}/ultrastar-ng" || die |
52 | } |
53 | |
54 | src_install() |
55 | { |
56 | games_src_install || die |
57 | |
58 | # missing songs directory |
59 | mkeepdir /usr/games/${PNAME}/share/${PNAME}/songs || die |
60 | mchown root:games /usr/games/${PNAME}/share/${PNAME}/songs || die |
61 | mchmod 775 /usr/games/${PNAME}/share/${PNAME}/songs || die |
62 | } |
63 | |
64 | postinstall() |
65 | { |
66 | echo |
67 | echo "To run this game, you must copy some songs to the." |
68 | echo "'/usr/games/${PNAME}/songs' first." |
69 | echo |
70 | } |
71 |
Properties
Name | Value |
---|---|
svn:keywords | Id |