summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-10-20 19:56:25 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-10-20 19:56:25 +0000
commit5219d1b87ea923c08a82b7871fe2dbc514f3fca6 (patch)
tree9c813fff533d98c1429205767dcac0fc0a784aae /app-emulation
parentMarking amd64, sparc stable; cleaning up ebuilds (diff)
downloadgentoo-2-5219d1b87ea923c08a82b7871fe2dbc514f3fca6.tar.gz
gentoo-2-5219d1b87ea923c08a82b7871fe2dbc514f3fca6.tar.bz2
gentoo-2-5219d1b87ea923c08a82b7871fe2dbc514f3fca6.zip
ebuild fixes thanks jakub, bug 152159
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/basiliskII-jit/ChangeLog8
-rw-r--r--app-emulation/basiliskII-jit/basiliskII-jit-1.0.0-r1.ebuild41
2 files changed, 39 insertions, 10 deletions
diff --git a/app-emulation/basiliskII-jit/ChangeLog b/app-emulation/basiliskII-jit/ChangeLog
index 08c0c64e36ad..ed98cea01cb4 100644
--- a/app-emulation/basiliskII-jit/ChangeLog
+++ b/app-emulation/basiliskII-jit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/basiliskII-jit
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog,v 1.6 2005/01/01 14:08:27 eradicator Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/ChangeLog,v 1.7 2006/10/20 19:56:25 genstef Exp $
+
+ 20 Oct 2006; Stefan Schweizer <genstef@gentoo.org>
+ basiliskII-jit-1.0.0-r1.ebuild:
+ ebuild fixes thanks jakub, bug 152159
28 Sep 2004; Daniel Black <dragonheart@gentoo.org>
basiliskII-jit-1.0.0-r1.ebuild:
diff --git a/app-emulation/basiliskII-jit/basiliskII-jit-1.0.0-r1.ebuild b/app-emulation/basiliskII-jit/basiliskII-jit-1.0.0-r1.ebuild
index b25b9168dfc8..eec83dadd027 100644
--- a/app-emulation/basiliskII-jit/basiliskII-jit-1.0.0-r1.ebuild
+++ b/app-emulation/basiliskII-jit/basiliskII-jit-1.0.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/basiliskII-jit-1.0.0-r1.ebuild,v 1.5 2005/01/01 14:08:27 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII-jit/basiliskII-jit-1.0.0-r1.ebuild,v 1.6 2006/10/20 19:56:25 genstef Exp $
inherit flag-o-matic eutils
@@ -17,14 +17,28 @@ LICENSE="|| ( GPL-2 LGPL-2.1 )"
KEYWORDS="x86 -ppc"
SLOT="0"
-IUSE="X gtk xv esd dga"
+IUSE="dga esd gtk nls sdl xv"
### fbdev support in the stable release... the cvs branch is broken, period!
### gtk and esd support are compile time options, we'll check the usual
### use variables here and set ./configure options accordingly
-DEPEND="gtk? ( =x11-libs/gtk+-1.2* )
- esd? ( media-sound/esound )
+RDEPEND="esd? ( media-sound/esound )
+ gtk? ( =x11-libs/gtk+-1.2* gnome-base/libgnomeui )
+ !sdl? ( dga? ( x11-libs/libXxf86dga ) )
+ sdl? ( media-libs/libsdl )
+ nls? ( virtual/libintl )
+ x11-libs/libSM
+ x11-libs/libXi
+ x11-libs/libXxf86vm
+ !app-emulation/basiliskII"
+
+DEPEND="${RDEPEND}
+ !sdl? ( dga? ( x11-proto/xf86dgaproto ) )
+ nls? ( sys-devel/gettext )
+ x11-proto/xf86vidmodeproto
+ x11-proto/xextproto
+ x11-proto/xproto
>=sys-apps/sed-4"
src_unpack() {
@@ -35,6 +49,14 @@ src_unpack() {
sed -i \
-e "s/Mandrake/Gentoo/g" ${S}/keycodes || \
die "sed keycods failed"
+
+ #prevent prestripped binary
+ cd "${S}"
+ sed -i -e '/^INSTALL_PROGRAM/s/-s//' Makefile.in
+
+ if use sdl && use dga ; then
+ einfo "SDL support was requested, DGA will be disabled"
+ fi
}
src_compile() {
@@ -46,10 +68,13 @@ src_compile() {
### Default ./configure options are all =yes by default. we'll check for
### and use -values and switch them accordingly
- use X || myflags="${myflags} --with-x=no"
use esd || myflags="${myflags} --with-esd=no"
use gtk || myflags="${myflags} --with-gtk=no"
- use dga || myflags="${myflags} --with-dga=no"
+ use dga || myflags="${myflags} --enable-xf86-dga=no"
+ use nls || myflags="${myflags} --disable-nls"
+ use sdl && myflags="${myflags} \
+ --enable-sdl-video=yes \
+ --enable-sdl-audio=yes"
use xv || myflags="${myflags} --enable-xf86-vidmode=no"
./configure \
@@ -79,7 +104,7 @@ src_install() {
mv ${D}/usr/share/man/man1/BasiliskII.1 \
${D}/usr/share/man/man1/BasiliskII-jit.1
cd ../..
- dodoc ChangeLog INSTALL README TECH TODO TODO.JIT
+ dodoc ChangeLog README TECH TODO TODO.JIT
### Networking is _disabled_ in this revision, hopefully -r2 will
### resolve the permissions issue / linux src compilation problem