Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/d1x-rebirth-0.50.ebuild,v 1.2 2007/01/10 17:40:02 wolf31o2 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/d1x-rebirth-0.50.ebuild,v 1.2 2007/01/10 17:40:02 wolf31o2 Exp $ |
4 |
|
4 |
|
5 |
inherit autotools eutils games |
5 |
inherit games |
6 |
|
6 |
|
7 |
# DV is the Descent version. Used because the d2x-rebirth ebuild is similar. |
7 |
# DV is the Descent version. Used because the d2x-rebirth ebuild is similar. |
8 |
DV="1" |
8 |
DV="1" |
Lines 70-76
Link Here
|
70 |
sed -i \ |
70 |
sed -i \ |
71 |
-e "s://#define WANT_AWE32 1:#define WANT_AWE32 1:" \ |
71 |
-e "s://#define WANT_AWE32 1:#define WANT_AWE32 1:" \ |
72 |
arch/linux/hmiplay.c || die "sed awe32 failed" |
72 |
arch/linux/hmiplay.c || die "sed awe32 failed" |
73 |
elif use mpu401 ; then |
73 |
else |
|
|
74 |
sed -i \ |
75 |
-e "s:WANT_AWE32::" \ |
76 |
SConstruct || die "sed awe32 failed" |
77 |
fi |
78 |
if use mpu401 ; then |
74 |
sed -i \ |
79 |
sed -i \ |
75 |
-e "s://#define WANT_MPU401 1:#define WANT_MPU401 1:" \ |
80 |
-e "s://#define WANT_MPU401 1:#define WANT_MPU401 1:" \ |
76 |
arch/linux/hmiplay.c || die "sed mpu401 failed" |
81 |
arch/linux/hmiplay.c || die "sed mpu401 failed" |
Lines 84-90
Link Here
|
84 |
use x86 || opts="${opts} no_asm=1" |
89 |
use x86 || opts="${opts} no_asm=1" |
85 |
use opengl || opts="${opts} sdl_only=1" |
90 |
use opengl || opts="${opts} sdl_only=1" |
86 |
use demo && opts="${opts} shareware=1" |
91 |
use demo && opts="${opts} shareware=1" |
87 |
|
|
|
88 |
# From "scons -h" |
92 |
# From "scons -h" |
89 |
# sharepath must end with a slash. |
93 |
# sharepath must end with a slash. |
90 |
scons \ |
94 |
scons \ |