Gtkpool is a simple pool simulation game with neat gtk
interface. It currently supports 8 and 9-ball pool, has cool settings like friction and collision drag. The game has some minor problems and is going to improve, with even more customizable features, adding network support, making the engine more realistic. MAINTAINER= Peter Valchev <pvalchev@toxiclinux.org>
This commit is contained in:
parent
4fbcb854ff
commit
ed94227bf7
29
games/gtkpool/Makefile
Normal file
29
games/gtkpool/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
|
||||
DISTNAME= gtkpool-0.3.4
|
||||
CATEGORIES= games x11
|
||||
NEED_VERSION= 1.352
|
||||
|
||||
HOMEPAGE= http://gtkpool.seul.org/
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAINTAINER= Peter Valchev <pvalchev@toxiclinux.org>
|
||||
|
||||
FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}"
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= gtk.1.2::x11/gtk+
|
||||
|
||||
USE_X11= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gtkpool ${PREFIX}/bin/gtkpool
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtkpool
|
||||
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/lib/gtkpool
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/gtkpool/files/md5
Normal file
3
games/gtkpool/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gtkpool-0.3.4.tar.gz) = 77337995ac9736a1e9f06455bd111077
|
||||
RMD160 (gtkpool-0.3.4.tar.gz) = 8341a362aa866a7c55e5d5bc9e073565f8824d32
|
||||
SHA1 (gtkpool-0.3.4.tar.gz) = bdfae452ea1be28e58d44b5a8215325eea8b7093
|
12
games/gtkpool/patches/patch-Makefile
Normal file
12
games/gtkpool/patches/patch-Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
--- Makefile.orig Wed Dec 15 23:35:43 1999
|
||||
+++ Makefile Sat Jan 20 16:52:19 2001
|
||||
@@ -13,7 +13,7 @@ run: gtkpool
|
||||
./gtkpool
|
||||
|
||||
gtkpool: $(OBJS)
|
||||
- g++ $(OBJS) $(CFLAGS) -o gtkpool `gtk-config --libs`
|
||||
+ g++ $(OBJS) $(CFLAGS) -o gtkpool `gtk-config --libs` -lossaudio
|
||||
|
||||
popt.o:
|
||||
gcc -c popt.c -o popt.o
|
17
games/gtkpool/patches/patch-sound_cc
Normal file
17
games/gtkpool/patches/patch-sound_cc
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-sound_cc,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
--- sound.cc.orig Wed Dec 15 23:35:44 1999
|
||||
+++ sound.cc Sat Jan 20 16:52:19 2001
|
||||
@@ -3,7 +3,13 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
+#ifdef __OpenBSD__
|
||||
+#include <soundcard.h>
|
||||
+#include <sys/audioio.h>
|
||||
+#include <string.h>
|
||||
+#else
|
||||
#include <sys/soundcard.h>
|
||||
+#endif
|
||||
#include <sys/ioctl.h>
|
||||
#include <errno.h>
|
||||
#include "sound.hh"
|
12
games/gtkpool/patches/patch-sound_hh
Normal file
12
games/gtkpool/patches/patch-sound_hh
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-sound_hh,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
--- sound.hh.orig Wed Dec 15 23:35:44 1999
|
||||
+++ sound.hh Sat Jan 20 16:53:34 2001
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
void play_sound(char *sound, int count);
|
||||
int load_sound(char *file, char *buffer, int *count);
|
||||
-void open_sound_device(char *name = "/dev/dsp");
|
||||
+void open_sound_device(char *name = "/dev/audio");
|
||||
void configure_sound_device();
|
||||
|
||||
class SoundError
|
1
games/gtkpool/pkg/COMMENT
Normal file
1
games/gtkpool/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
simple gtk+ pool simulation game
|
9
games/gtkpool/pkg/DESCR
Normal file
9
games/gtkpool/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
Gtkpool is a simple pool simulation game with neat gtk
|
||||
interface. It currently supports 8 and 9-ball pool,
|
||||
has cool settings like friction and collision drag.
|
||||
|
||||
The game has some minor problems and is going to improve,
|
||||
with even more customizable features, adding network
|
||||
support, making the engine more realistic.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
39
games/gtkpool/pkg/PLIST
Normal file
39
games/gtkpool/pkg/PLIST
Normal file
@ -0,0 +1,39 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $
|
||||
bin/gtkpool
|
||||
lib/gtkpool/ball-cue-big.xpm
|
||||
lib/gtkpool/ball-cue.xpm
|
||||
lib/gtkpool/ball-eight-big.xpm
|
||||
lib/gtkpool/ball-eight.xpm
|
||||
lib/gtkpool/ball-shadow.xpm
|
||||
lib/gtkpool/ball-solid-blue-big.xpm
|
||||
lib/gtkpool/ball-solid-blue.xpm
|
||||
lib/gtkpool/ball-solid-brown-big.xpm
|
||||
lib/gtkpool/ball-solid-brown.xpm
|
||||
lib/gtkpool/ball-solid-green-big.xpm
|
||||
lib/gtkpool/ball-solid-green.xpm
|
||||
lib/gtkpool/ball-solid-orange-big.xpm
|
||||
lib/gtkpool/ball-solid-orange.xpm
|
||||
lib/gtkpool/ball-solid-purple-big.xpm
|
||||
lib/gtkpool/ball-solid-purple.xpm
|
||||
lib/gtkpool/ball-solid-red-big.xpm
|
||||
lib/gtkpool/ball-solid-red.xpm
|
||||
lib/gtkpool/ball-solid-yellow-big.xpm
|
||||
lib/gtkpool/ball-solid-yellow.xpm
|
||||
lib/gtkpool/ball-striped-blue-big.xpm
|
||||
lib/gtkpool/ball-striped-blue.xpm
|
||||
lib/gtkpool/ball-striped-brown-big.xpm
|
||||
lib/gtkpool/ball-striped-brown.xpm
|
||||
lib/gtkpool/ball-striped-green-big.xpm
|
||||
lib/gtkpool/ball-striped-green.xpm
|
||||
lib/gtkpool/ball-striped-orange-big.xpm
|
||||
lib/gtkpool/ball-striped-orange.xpm
|
||||
lib/gtkpool/ball-striped-purple-big.xpm
|
||||
lib/gtkpool/ball-striped-purple.xpm
|
||||
lib/gtkpool/ball-striped-red-big.xpm
|
||||
lib/gtkpool/ball-striped-red.xpm
|
||||
lib/gtkpool/ball-striped-yellow-big.xpm
|
||||
lib/gtkpool/ball-striped-yellow.xpm
|
||||
lib/gtkpool/balls-big.xpm
|
||||
lib/gtkpool/click.raw
|
||||
lib/gtkpool/table.xpm
|
||||
@dirrm lib/gtkpool
|
Loading…
x
Reference in New Issue
Block a user