annotate media-libs/libsdl/libsdl-1.2.15-r4.ebuild @ 543:10e8bdbd1f17

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