Mercurial > hg > portage
annotate media-libs/libsdl/libsdl-1.2.15-r2.ebuild @ 545:7e1370868071
visualvm update
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 21 Jan 2021 08:35:03 +0100 |
parents | 8052b944a4a9 |
children |
rev | line source |
---|---|
345
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 # Copyright 1999-2012 Gentoo Foundation |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 # Distributed under the terms of the GNU General Public License v2 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.15-r2.ebuild,v 1.9 2012/08/27 17:40:01 armin76 Exp $ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 EAPI=2 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 inherit flag-o-matic multilib toolchain-funcs eutils libtool |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 DESCRIPTION="Simple Direct Media Layer" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 HOMEPAGE="http://www.libsdl.org/" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 SRC_URI="http://www.libsdl.org/release/SDL-${PV}.tar.gz" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 LICENSE="LGPL-2.1" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 SLOT="0" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 # WARNING: |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 # If you turn on the custom-cflags use flag in USE and something breaks, |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 # you pick up the pieces. Be prepared for bug reports to be marked INVALID. |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 IUSE="oss alsa nas X dga xv xinerama fbcon directfb ggi svga tslib aalib opengl libcaca +audio +video +joystick custom-cflags pulseaudio ps3 static-libs" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 RDEPEND="audio? ( >=media-libs/audiofile-0.1.9 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 alsa? ( media-libs/alsa-lib ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 nas? ( |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 media-libs/nas |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 x11-libs/libXt |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 x11-libs/libXext |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 x11-libs/libX11 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 X? ( |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 x11-libs/libXt |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 x11-libs/libXext |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 x11-libs/libX11 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
32 x11-libs/libXrandr |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
33 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
34 directfb? ( >=dev-libs/DirectFB-0.9.19 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
35 ggi? ( >=media-libs/libggi-2.0_beta3 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
36 svga? ( >=media-libs/svgalib-1.4.2 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
37 aalib? ( media-libs/aalib ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
38 libcaca? ( >=media-libs/libcaca-0.9-r1 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
39 opengl? ( virtual/opengl virtual/glu ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
40 ppc64? ( ps3? ( sys-libs/libspe2 ) ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
41 tslib? ( x11-libs/tslib ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
42 pulseaudio? ( media-sound/pulseaudio )" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
43 DEPEND="${RDEPEND} |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
44 nas? ( |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
45 x11-proto/xextproto |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
46 x11-proto/xproto |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
47 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
48 X? ( |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
49 x11-proto/xextproto |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
50 x11-proto/xproto |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
51 ) |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
52 x86? ( || ( >=dev-lang/yasm-0.6.0 >=dev-lang/nasm-0.98.39-r3 ) )" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
53 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
54 S=${WORKDIR}/SDL-${PV} |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
55 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
56 pkg_setup() { |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
57 if use custom-cflags ; then |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
58 ewarn "Since you've chosen to use possibly unsafe CFLAGS," |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
59 ewarn "don't bother filing libsdl-related bugs until trying to remerge" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
60 ewarn "libsdl without the custom-cflags use flag in USE." |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
61 epause 10 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
62 fi |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
63 } |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
64 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
65 src_prepare() { |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
66 epatch \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
67 "${FILESDIR}"/${P}-sdl-config.patch \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
68 "${FILESDIR}"/${P}-resizing.patch \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
69 "${FILESDIR}"/${P}-joystick.patch |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
70 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
71 elibtoolize |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
72 } |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
73 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
74 src_configure() { |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
75 local myconf= |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
76 if [[ $(tc-arch) != "x86" ]] ; then |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
77 myconf="${myconf} --disable-nasm" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
78 else |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
79 myconf="${myconf} --enable-nasm" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
80 fi |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
81 use custom-cflags || strip-flags |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
82 use audio || myconf="${myconf} --disable-audio" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
83 use video \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
84 && myconf="${myconf} --enable-video-dummy" \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
85 || myconf="${myconf} --disable-video" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
86 use joystick || myconf="${myconf} --disable-joystick" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
87 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
88 local directfbconf="--disable-video-directfb" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
89 if use directfb ; then |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
90 # since DirectFB can link against SDL and trigger a |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
91 # dependency loop, only link against DirectFB if it |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
92 # isn't broken #61592 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
93 echo 'int main(){}' > directfb-test.c |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
94 $(tc-getCC) directfb-test.c -ldirectfb 2>/dev/null \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
95 && directfbconf="--enable-video-directfb" \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
96 || ewarn "Disabling DirectFB since libdirectfb.so is broken" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
97 fi |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
98 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
99 myconf="${myconf} ${directfbconf}" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
100 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
101 econf \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
102 --disable-rpath \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
103 --disable-arts \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
104 --disable-esd \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
105 --enable-events \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
106 --enable-cdrom \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
107 --enable-threads \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
108 --enable-timers \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
109 --enable-file \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
110 --enable-cpuinfo \ |
351
8052b944a4a9
by now, libsdl 15 r4 is the latest and greatest
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
345
diff
changeset
|
111 --disable-alsa-shared \ |
345
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
112 --disable-esd-shared \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
113 --disable-pulseaudio-shared \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
114 --disable-arts-shared \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
115 --disable-nas-shared \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
116 --disable-osmesa-shared \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
117 $(use_enable oss) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
118 $(use_enable alsa) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
119 $(use_enable pulseaudio) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
120 $(use_enable nas) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
121 $(use_enable X video-x11) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
122 $(use_enable dga) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
123 $(use_enable xv video-x11-xv) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
124 $(use_enable xinerama video-x11-xinerama) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
125 $(use_enable X video-x11-xrandr) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
126 $(use_enable dga video-dga) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
127 $(use_enable fbcon video-fbcon) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
128 $(use_enable ggi video-ggi) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
129 $(use_enable svga video-svga) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
130 $(use_enable aalib video-aalib) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
131 $(use_enable libcaca video-caca) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
132 $(use_enable opengl video-opengl) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
133 $(use_enable ps3 video-ps3) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
134 $(use_enable tslib input-tslib) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
135 $(use_with X x) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
136 $(use_enable static-libs static) \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
137 --disable-video-x11-xme \ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
138 ${myconf} |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
139 } |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
140 |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
141 src_install() { |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
142 emake DESTDIR="${D}" install || die "emake install failed" |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
143 use static-libs || prune_libtool_files --all |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
144 dodoc BUGS CREDITS README README-SDL.txt README.HG TODO WhatsNew |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
145 dohtml -r ./ |
208cbe4d2de1
maintain my own libsdl ebulid without --shared-alsa
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
146 } |