Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-sports/foobillard/
Date: Thu, 17 Dec 2015 02:30:08
Message-Id: 1450319385.33c3827890b9a6a8879d564dc4aeb73604eddfeb.mr_bones_@gentoo
1 commit: 33c3827890b9a6a8879d564dc4aeb73604eddfeb
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 17 02:29:27 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 17 02:29:45 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33c38278
7
8 better deps and make it work with latest eselect-opengl
9
10 Package-Manager: portage-2.2.24
11
12 games-sports/foobillard/foobillard-3.0a.ebuild | 9 +++++----
13 1 file changed, 5 insertions(+), 4 deletions(-)
14
15 diff --git a/games-sports/foobillard/foobillard-3.0a.ebuild b/games-sports/foobillard/foobillard-3.0a.ebuild
16 index babc1d8..360aa07 100644
17 --- a/games-sports/foobillard/foobillard-3.0a.ebuild
18 +++ b/games-sports/foobillard/foobillard-3.0a.ebuild
19 @@ -3,7 +3,7 @@
20 # $Id$
21
22 EAPI=5
23 -inherit eutils autotools games
24 +inherit eutils flag-o-matic autotools toolchain-funcs games
25
26 DESCRIPTION="8ball, 9ball, snooker and carambol game"
27 HOMEPAGE="http://foobillard.sourceforge.net/"
28 @@ -19,10 +19,10 @@ DEPEND="x11-libs/libXaw
29 virtual/opengl
30 virtual/glu
31 >=media-libs/freetype-2.0.9
32 - media-libs/libpng
33 - sdl? ( media-libs/libsdl )
34 + media-libs/libpng:0
35 + sdl? ( media-libs/libsdl[video] )
36 !sdl? ( media-libs/freeglut )"
37 -RDEPEND="${DEPEND}"
38 +RDEPEND=${DEPEND}
39
40 src_prepare() {
41 epatch \
42 @@ -37,6 +37,7 @@ src_prepare() {
43 }
44
45 src_configure() {
46 + use video_cards_nvidia && append-ldflags -L/usr/$(get_libdir)/opengl/nvidia/lib
47 egamesconf \
48 --enable-sound \
49 $(use_enable sdl SDL) \