- enable sound and install ogg files

- use gstreamer for sound and make sure sdl/sdl_mixer isn't picked up
- explicitely disable ggz-server support
- add missing run_depends on py-gnome-desktop

ok jasper@
This commit is contained in:
ajacoutot 2008-11-23 12:52:32 +00:00
parent 9d8aa68d79
commit b4685ad616
2 changed files with 35 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2008/11/23 11:08:07 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2008/11/23 12:52:32 ajacoutot Exp $
COMMENT= collection of games for the GNOME desktop
GNOME_PROJECT= gnome-games
GNOME_VERSION= 2.24.1
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
HOMEPAGE= http://live.gnome.org/GnomeGames/
@ -23,7 +23,7 @@ WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 \
gobject-2.0 gpg-error gsf-1 gthread-2.0 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
png popt pthread ssl stdc++ util xml2 z
png popt pthread ssl stdc++ util xml2 z gstreamer-0.10
MODULES= devel/gettext \
lang/python \
@ -36,6 +36,8 @@ LIB_DEPENDS= ggzcore,ggzmod::games/ggz/ggz-client-libs \
guile-ltdl,guile::lang/guile \
gnomeui-2::x11/gnome/libgnomeui \
rsvg-2.>=18.0::x11/gnome/librsvg
RUN_DEPENDS= ::x11/gnome/py-gnome-desktop \
::multimedia/gstreamer-0.10/plugins-good
REGRESS_DEPENDS= ::devel/check
USE_X11= Yes
@ -47,10 +49,13 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-schemas-install \
--disable-scrollkeeper \
--disable-update-mimedb \
--disable-sdl-mixer \
--localstatedir="/var" \
--with-tls="OpenSSL" \
--enable-sound="gstreamer" \
--enable-sound=yes \
--with-sound=gstreamer \
--enable-scalable \
--without-ggz-server \
--with-gcrypt \
--with-scores-group="games"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2008/11/23 11:08:07 jasper Exp $
@comment $OpenBSD: PLIST,v 1.3 2008/11/23 12:52:32 ajacoutot Exp $
@bin bin/blackjack
bin/glchess
@mode g+s
@ -635,6 +635,31 @@ share/gnome-games/scores/same-gnome.Small.scores
@sample /var/games/same-gnome.Small.scores
@mode
@group
share/gnome-games/sounds/
share/gnome-games/sounds/appear.ogg
share/gnome-games/sounds/bad.ogg
share/gnome-games/sounds/bonus.ogg
share/gnome-games/sounds/click.ogg
share/gnome-games/sounds/crash.ogg
share/gnome-games/sounds/die.ogg
share/gnome-games/sounds/flip-piece.ogg
share/gnome-games/sounds/gameover.ogg
share/gnome-games/sounds/gnometris.ogg
share/gnome-games/sounds/gobble.ogg
share/gnome-games/sounds/land.ogg
share/gnome-games/sounds/laughter.ogg
share/gnome-games/sounds/life.ogg
share/gnome-games/sounds/lines1.ogg
share/gnome-games/sounds/lines2.ogg
share/gnome-games/sounds/lines3.ogg
share/gnome-games/sounds/pop.ogg
share/gnome-games/sounds/reverse.ogg
share/gnome-games/sounds/slide.ogg
share/gnome-games/sounds/splat.ogg
share/gnome-games/sounds/teleport.ogg
share/gnome-games/sounds/turn.ogg
share/gnome-games/sounds/victory.ogg
share/gnome-games/sounds/yahoo.ogg
share/gnome-sudoku/
share/gnome-sudoku/print_games.glade
share/gnome-sudoku/puzzle_generator.glade