summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-03-17 18:03:15 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-03-17 18:03:15 +0000
commitccae765ed766b6474cf41ec5daaa6a0dd366b4d1 (patch)
treed853e45fe058f96212a5c085f896967041523420 /games-emulation/generator/generator-0.35_p3.ebuild
parentAdded a patch to use newer liborigin, from Debian (diff)
downloadhistorical-ccae765ed766b6474cf41ec5daaa6a0dd366b4d1.tar.gz
historical-ccae765ed766b6474cf41ec5daaa6a0dd366b4d1.tar.bz2
historical-ccae765ed766b6474cf41ec5daaa6a0dd366b4d1.zip
disable gtk+-1 interface since it's unsupported and generator otherwise fails to build without gtk+-1 available on the system (bug #206373)
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-emulation/generator/generator-0.35_p3.ebuild')
-rw-r--r--games-emulation/generator/generator-0.35_p3.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/games-emulation/generator/generator-0.35_p3.ebuild b/games-emulation/generator/generator-0.35_p3.ebuild
index 1d8baffa371b..86ce0cc91e82 100644
--- a/games-emulation/generator/generator-0.35_p3.ebuild
+++ b/games-emulation/generator/generator-0.35_p3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35_p3.ebuild,v 1.3 2007/07/30 21:33:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35_p3.ebuild,v 1.4 2008/03/17 18:03:15 mr_bones_ Exp $
inherit autotools eutils toolchain-funcs games
@@ -12,11 +12,10 @@ SRC_URI="http://www.ghostwhitecrab.com/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="gtk sdlaudio svga"
+IUSE="sdlaudio svga"
RDEPEND="media-libs/jpeg
media-libs/libsdl
- gtk? ( =x11-libs/gtk+-1.2* )
svga? ( media-libs/svgalib )"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )"
@@ -42,10 +41,14 @@ src_unpack() {
-e 's/USE32//' \
raze/raze.asm.in \
|| die 'sed failed'
+ sed -i \
+ -e 's/@GTK_CFLAGS@//g' \
+ main/Makefile.am \
+ || die "sed failed"
eautoreconf
}
-# builds SDL by default since otherwise -svga -gtk builds nothing
+# builds SDL by default since otherwise -svga builds nothing
src_compile() {
local myconf mygui myguis
@@ -54,7 +57,6 @@ src_compile() {
|| myconf="--with-cmz80"
myguis="sdl"
- use gtk && myguis="${myguis} gtk"
use svga && myguis="${myguis} svgalib"
for mygui in ${myguis}; do
@@ -62,6 +64,7 @@ src_compile() {
egamesconf \
${myconf} \
--with-${mygui} \
+ --without-gtk \
--without-tcltk \
--with-gcc=$(gcc-major-version) \
$(use_with sdlaudio sdl-audio) \