summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-11-19 05:27:32 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-11-19 05:27:32 +0000
commiteb18f8accc27d510b113be32cb403c317631a92b (patch)
tree53785f64590f47cd4556415061229d841a42c924 /games-emulation/advancemenu
parentold (diff)
downloadgentoo-2-eb18f8accc27d510b113be32cb403c317631a92b.tar.gz
gentoo-2-eb18f8accc27d510b113be32cb403c317631a92b.tar.bz2
gentoo-2-eb18f8accc27d510b113be32cb403c317631a92b.zip
default to sdl if no output is specified (bug #247347)
(Portage version: 2.1.4.5)
Diffstat (limited to 'games-emulation/advancemenu')
-rw-r--r--games-emulation/advancemenu/ChangeLog6
-rw-r--r--games-emulation/advancemenu/advancemenu-2.4.13.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/games-emulation/advancemenu/ChangeLog b/games-emulation/advancemenu/ChangeLog
index 81acae2d6de1..1925c1a5300c 100644
--- a/games-emulation/advancemenu/ChangeLog
+++ b/games-emulation/advancemenu/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/advancemenu
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/ChangeLog,v 1.27 2008/02/09 12:31:06 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/ChangeLog,v 1.28 2008/11/19 05:27:32 mr_bones_ Exp $
+
+ 19 Nov 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ advancemenu-2.4.13.ebuild:
+ default to sdl if no output is specified (bug #247347)
09 Feb 2008; Samuli Suominen <drac@gentoo.org> advancemenu-2.4.13.ebuild:
Fix advancemenu to work with slang 2.1.3.
diff --git a/games-emulation/advancemenu/advancemenu-2.4.13.ebuild b/games-emulation/advancemenu/advancemenu-2.4.13.ebuild
index f6e936fd6bcf..011706128ba7 100644
--- a/games-emulation/advancemenu/advancemenu-2.4.13.ebuild
+++ b/games-emulation/advancemenu/advancemenu-2.4.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/advancemenu-2.4.13.ebuild,v 1.6 2008/02/09 12:31:06 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/advancemenu-2.4.13.ebuild,v 1.7 2008/11/19 05:27:32 mr_bones_ Exp $
inherit eutils games
@@ -19,6 +19,7 @@ RDEPEND="alsa? ( media-libs/alsa-lib )
sdl? ( media-libs/libsdl )
slang? ( >=sys-libs/slang-1.4 )
svga? ( >=media-libs/svgalib-1.9 )
+ !sdl? ( !svga? ( !fbcon? ( media-libs/libsdl ) ) )
truetype? ( >=media-libs/freetype-2 )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
@@ -41,6 +42,7 @@ src_unpack() {
use x86 && ln -s $(type -P nasm) "${T}/${CHOST}-nasm"
use sdl && ln -s $(type -P sdl-config) "${T}/${CHOST}-sdl-config"
+ use !sdl && use !svga && use !fbcon && ln -s $(type -P sdl-config) "${T}/${CHOST}-sdl-config"
use truetype && ln -s $(type -P freetype-config) "${T}/${CHOST}-freetype-config"
}
@@ -58,6 +60,7 @@ src_compile() {
$(use_enable slang) \
$(use_enable static) \
$(use_enable svga svgalib) \
+ $(use !sdl && use !svga && use !fbcon && echo --enable-sdl) \
$(use_enable x86 asm) \
$(use_enable zlib) \
|| die