summaryrefslogtreecommitdiff
blob: 39ba29215aa848d7fe1c88b8783aa4f2cf9225f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-sdl/emul-linux-x86-sdl-20140406-r2.ebuild,v 1.3 2014/05/30 17:26:08 mgorny Exp $

EAPI=5
inherit emul-linux-x86

LICENSE="!abi_x86_32? ( LGPL-2 LGPL-2.1 ZLIB ) abi_x86_32? ( metapackage )"
KEYWORDS="-* amd64"
IUSE="abi_x86_32"

DEPEND=""
RDEPEND="~app-emulation/emul-linux-x86-xlibs-${PV}
	~app-emulation/emul-linux-x86-baselibs-${PV}
	~app-emulation/emul-linux-x86-soundlibs-${PV}
	~app-emulation/emul-linux-x86-medialibs-${PV}
	abi_x86_32? (
		>=media-libs/openal-1.15.1-r1[abi_x86_32(-)]
		>=media-libs/freealut-1.1.0-r3[abi_x86_32(-)]
		>=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)]
		>=media-libs/sdl-gfx-2.0.24-r1[abi_x86_32(-)]
		>=media-libs/sdl-image-1.2.12-r1[abi_x86_32(-)]
		>=media-libs/sdl-mixer-1.2.12-r4[abi_x86_32(-)]
		>=media-libs/sdl-net-1.2.8-r1[abi_x86_32(-)]
		>=media-libs/sdl-sound-1.0.3-r1[abi_x86_32(-)]
		>=media-libs/sdl-ttf-2.0.11-r1[abi_x86_32(-)]
		>=media-libs/smpeg-0.4.4-r10[abi_x86_32(-)]
	)"

src_prepare() {
	use abi_x86_32 || emul-linux-x86_src_prepare
}

src_install() {
	use abi_x86_32 || emul-linux-x86_src_install
}