summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-05-30 05:27:37 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-05-30 05:27:37 +0000
commit821208ec03b44991029085599bd0d0211def398f (patch)
tree30745f6fe1037e5105edf1b1dec5da558174f32d /games-sports/foobillard
parentonly build kernel module if kernel source supports it (diff)
downloadgentoo-2-821208ec03b44991029085599bd0d0211def398f.tar.gz
gentoo-2-821208ec03b44991029085599bd0d0211def398f.tar.bz2
gentoo-2-821208ec03b44991029085599bd0d0211def398f.zip
version bump; bug #50086
Diffstat (limited to 'games-sports/foobillard')
-rw-r--r--games-sports/foobillard/ChangeLog7
-rw-r--r--games-sports/foobillard/Manifest2
-rw-r--r--games-sports/foobillard/files/digest-foobillard-3.0a1
-rw-r--r--games-sports/foobillard/foobillard-3.0a.ebuild48
4 files changed, 57 insertions, 1 deletions
diff --git a/games-sports/foobillard/ChangeLog b/games-sports/foobillard/ChangeLog
index 3d58e34eb1c4..ed0ddcd7ca4b 100644
--- a/games-sports/foobillard/ChangeLog
+++ b/games-sports/foobillard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-sports/foobillard
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/ChangeLog,v 1.4 2004/05/30 05:11:32 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/ChangeLog,v 1.5 2004/05/30 05:27:37 mr_bones_ Exp $
+
+*foobillard-3.0a (29 May 2004)
+
+ 29 May 2004; Michael Sterrett <mr_bones_@gentoo.org> foobillard-3.0a.ebuild:
+ version bump; bug #50086
29 May 2004; Michael Sterrett <mr_bones_@gentoo.org> foobillard-2.9.ebuild:
tidy; error messages
diff --git a/games-sports/foobillard/Manifest b/games-sports/foobillard/Manifest
index f6507e9e2370..1c312036e407 100644
--- a/games-sports/foobillard/Manifest
+++ b/games-sports/foobillard/Manifest
@@ -2,5 +2,7 @@ MD5 c1cc52687a835521e3a3453a7e5fb36c ChangeLog 1653
MD5 49a1fe460078eade9e98a62a908e3a48 foobillard-2.8.ebuild 1128
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 a1087a1c3190b4771a25cfede5dd551f foobillard-2.9.ebuild 1181
+MD5 a1087a1c3190b4771a25cfede5dd551f foobillard-3.0a.ebuild 1181
MD5 7e9ec0cee63a42f327ed7d5de7127028 files/digest-foobillard-2.8 67
MD5 4827c3043c229b4ec77086d4554e7a7a files/digest-foobillard-2.9 67
+MD5 11223d31662deec372e491cf27384d31 files/digest-foobillard-3.0a 68
diff --git a/games-sports/foobillard/files/digest-foobillard-3.0a b/games-sports/foobillard/files/digest-foobillard-3.0a
new file mode 100644
index 000000000000..124f20c827b6
--- /dev/null
+++ b/games-sports/foobillard/files/digest-foobillard-3.0a
@@ -0,0 +1 @@
+MD5 c2d92edeaaf8bfb18aa26f1c79931b7d foobillard-3.0a.tar.gz 1138477
diff --git a/games-sports/foobillard/foobillard-3.0a.ebuild b/games-sports/foobillard/foobillard-3.0a.ebuild
new file mode 100644
index 000000000000..c5742e3bc3b8
--- /dev/null
+++ b/games-sports/foobillard/foobillard-3.0a.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/foobillard-3.0a.ebuild,v 1.1 2004/05/30 05:27:37 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="8ball, 9ball, snooker and carambol game"
+HOMEPAGE="http://foobillard.sunsite.dk/"
+SRC_URI="http://foobillard.sunsite.dk/dnl/${P}.tar.gz"
+
+KEYWORDS="x86 ppc amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="sdl"
+
+DEPEND="virtual/x11
+ virtual/opengl
+ >=media-libs/freetype-2.0.9
+ >=media-libs/libpng-1.2.1
+ || (
+ sdl? ( media-libs/libsdl )
+ (
+ virtual/glu
+ virtual/glut )
+ )"
+
+src_compile() {
+ local myconf=""
+ [ "$(ls /usr/include/GL/gl.h -al | awk '{print $NF}' | cut -d/ -f5)" == "nvidia" ] \
+ && myconf="--enable-nvidia" \
+ || myconf="--disable-nvidia"
+ myconf="${myconf} $(use_enable sdl SDL)"
+ use sdl \
+ && myconf="${myconf} --disable-glut" \
+ || myconf="${myconf} --enable-glut"
+
+ egamesconf \
+ --enable-sound \
+ ${myconf} \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog README README.FONTS
+ prepgamesdirs
+}