Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 105780 | Differences between
and this patch

Collapse All | Expand All

(-)/home/davide/download/gentoo/ebuilds/bugs.gentoo.org/games-fps/uhexen2-1.3.0.ebuild (-3 / +17 lines)
Lines 10-16 Link Here
10
10
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~x86"
13
KEYWORDS="~x86 ~amd64"
14
14
15
IUSE="alsa opengl timidity"
15
IUSE="alsa opengl timidity"
16
16
Lines 19-25 Link Here
19
        virtual/x11
19
        virtual/x11
20
        alsa? ( >=media-libs/alsa-lib-1.0.7 )
20
        alsa? ( >=media-libs/alsa-lib-1.0.7 )
21
        opengl? ( virtual/opengl )
21
        opengl? ( virtual/opengl )
22
        timidity? ( media-sound/timidity++ )"
22
        timidity? ( media-sound/timidity++ )
23
        amd64? ( >=app-emulation/emul-linux-x86-sdl-2.1 )"
24
23
25
24
DEPEND="${RDEPEND}
26
DEPEND="${RDEPEND}
25
        >=dev-lang/nasm-0.98.38"
27
        >=dev-lang/nasm-0.98.38"
Lines 33-38 Link Here
33
GLPREFIX=""
35
GLPREFIX=""
34
use opengl && GLPREFIX="gl"
36
use opengl && GLPREFIX="gl"
35
37
38
pkg_setup () {
39
        if use amd64; then
40
                if has_multilib_profile ; then
41
                        export ABI=x86
42
                else
43
                        append-flags -m32
44
                        append-ldflags -m32
45
                fi
46
        fi
47
}
48
        
49
36
src_unpack() {
50
src_unpack() {
37
        unpack ${A}
51
        unpack ${A}
38
52
Lines 107-113 Link Here
107
        einfo "Example command-line:"
121
        einfo "Example command-line:"
108
        einfo "hexen2 -fullscreen -sndalsa -fsaa 4 -sndspeed 44100 -nocdaudio"
122
        einfo "hexen2 -fullscreen -sndalsa -fsaa 4 -sndspeed 44100 -nocdaudio"
109
        einfo ""
123
        einfo ""
110
        einfo "You may need to patch the data files to version 1.1 using 'update_sh' in"
124
        einfo "You may need to patch the data files to version 1.1 using 'update_h2' in"
111
        einfo "http://prdownloads.sourceforge.net/uhexen2/hexen2-1.3.0-linux.i586.tgz"
125
        einfo "http://prdownloads.sourceforge.net/uhexen2/hexen2-1.3.0-linux.i586.tgz"
112
126
113
        games_pkg_postinst
127
        games_pkg_postinst

Return to bug 105780