Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libsdl2: ChangeLog libsdl2-2.0.3-r100.ebuild
Date: Sun, 27 Jul 2014 12:52:48
Message-Id: 20140727125245.A77342004E@flycatcher.gentoo.org
1 hasufell 14/07/27 12:52:45
2
3 Modified: ChangeLog
4 Added: libsdl2-2.0.3-r100.ebuild
5 Log:
6 add no-multilib branch
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
9
10 Revision Changes Path
11 1.22 media-libs/libsdl2/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/ChangeLog?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/ChangeLog?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/ChangeLog?r1=1.21&r2=1.22
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libsdl2/ChangeLog,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- ChangeLog 27 Jul 2014 12:51:39 -0000 1.21
24 +++ ChangeLog 27 Jul 2014 12:52:45 -0000 1.22
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/libsdl2
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/ChangeLog,v 1.21 2014/07/27 12:51:39 hasufell Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/ChangeLog,v 1.22 2014/07/27 12:52:45 hasufell Exp $
30 +
31 +*libsdl2-2.0.3-r100 (27 Jul 2014)
32 +
33 + 27 Jul 2014; Julian Ospald <hasufell@g.o> +libsdl2-2.0.3-r100.ebuild:
34 + add no-multilib branch
35
36 *libsdl2-2.0.3-r200 (27 Jul 2014)
37
38
39
40
41 1.1 media-libs/libsdl2/libsdl2-2.0.3-r100.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/libsdl2-2.0.3-r100.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/libsdl2-2.0.3-r100.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libsdl2-2.0.3-r100.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/libsdl2-2.0.3-r100.ebuild,v 1.1 2014/07/27 12:52:45 hasufell Exp $
51
52 # TODO: convert FusionSound #484250
53
54 EAPI=5
55 inherit autotools flag-o-matic toolchain-funcs eutils
56
57 MY_P=SDL2-${PV}
58 DESCRIPTION="Simple Direct Media Layer"
59 HOMEPAGE="http://www.libsdl.org"
60 SRC_URI="http://www.libsdl.org/release/${MY_P}.tar.gz"
61
62 LICENSE="ZLIB"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65
66 IUSE="3dnow alsa altivec custom-cflags dbus fusionsound gles haptic +joystick mmx nas opengl oss pulseaudio +sound sse sse2 static-libs +threads tslib udev +video wayland X xinerama xscreensaver"
67 REQUIRED_USE="
68 alsa? ( sound )
69 fusionsound? ( sound )
70 gles? ( video )
71 nas? ( sound )
72 opengl? ( video )
73 pulseaudio? ( sound )
74 xinerama? ( X )
75 xscreensaver? ( X )"
76
77 RDEPEND="
78 alsa? ( >=media-libs/alsa-lib-1.0.27.2 )
79 dbus? ( >=sys-apps/dbus-1.6.18-r1 )
80 fusionsound? ( || ( >=media-libs/FusionSound-1.1.1 >=dev-libs/DirectFB-1.7.1[fusionsound] ) )
81 gles? ( >=media-libs/mesa-9.1.6[gles2] )
82 nas? ( >=media-libs/nas-1.9.4 )
83 opengl? (
84 >=virtual/opengl-7.0-r1
85 >=virtual/glu-9.0-r1
86 )
87 pulseaudio? ( >=media-sound/pulseaudio-2.1-r1 )
88 tslib? ( >=x11-libs/tslib-1.0-r2 )
89 udev? ( >=virtual/libudev-208:= )
90 wayland? (
91 >=dev-libs/wayland-1.0.6
92 >=media-libs/mesa-9.1.6[wayland]
93 >=x11-libs/libxkbcommon-0.2.0
94 )
95 X? (
96 >=x11-libs/libX11-1.6.2
97 >=x11-libs/libXcursor-1.1.14
98 >=x11-libs/libXext-1.3.2
99 >=x11-libs/libXi-1.7.2
100 >=x11-libs/libXrandr-1.4.2
101 >=x11-libs/libXt-1.1.4
102 >=x11-libs/libXxf86vm-1.1.3
103 xinerama? ( >=x11-libs/libXinerama-1.1.3 )
104 xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1 )
105 )"
106 DEPEND="${RDEPEND}
107 X? (
108 >=x11-proto/xextproto-7.2.1-r1
109 >=x11-proto/xproto-7.0.24
110 )
111 virtual/pkgconfig"
112
113 S=${WORKDIR}/${MY_P}
114
115 src_prepare() {
116 # https://bugzilla.libsdl.org/show_bug.cgi?id=1431
117 epatch "${FILESDIR}"/${P}-static-libs.patch \
118 "${FILESDIR}"/${P}-gles-wayland.patch
119 AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf
120 }
121
122 src_configure() {
123 use custom-cflags || strip-flags
124
125 # sorted by `./configure --help`
126 econf \
127 $(use_enable static-libs static) \
128 $(use_enable sound audio) \
129 $(use_enable video) \
130 --enable-render \
131 --enable-events \
132 $(use_enable joystick) \
133 $(use_enable haptic) \
134 --enable-power \
135 $(use_enable threads) \
136 --enable-timers \
137 --enable-file \
138 --disable-loadso \
139 --enable-cpuinfo \
140 --enable-atomic \
141 --enable-assembly \
142 $(use_enable sse ssemath) \
143 $(use_enable mmx) \
144 $(use_enable 3dnow) \
145 $(use_enable sse) \
146 $(use_enable sse2) \
147 $(use_enable altivec) \
148 $(use_enable oss) \
149 $(use_enable alsa) \
150 --disable-alsa-shared \
151 --disable-esd \
152 $(use_enable pulseaudio) \
153 --disable-pulseaudio-shared \
154 --disable-arts \
155 $(use_enable nas) \
156 --disable-nas-shared \
157 --disable-sndio \
158 --disable-sndio-shared \
159 $(use_enable sound diskaudio) \
160 $(use_enable sound dummyaudio) \
161 $(use_enable X video-x11) \
162 --disable-x11-shared \
163 $(use_enable wayland video-wayland) \
164 --disable-wayland-shared \
165 $(use_enable X video-x11-xcursor) \
166 $(use_enable xinerama video-x11-xinerama) \
167 $(use_enable X video-x11-xinput) \
168 $(use_enable X video-x11-xrandr) \
169 $(use_enable xscreensaver video-x11-scrnsaver) \
170 $(use_enable X video-x11-xshape) \
171 $(use_enable X video-x11-vm) \
172 --disable-video-cocoa \
173 --disable-video-directfb \
174 $(use_enable fusionsound) \
175 --disable-fusionsound-shared \
176 $(use_enable video video-dummy) \
177 $(use_enable opengl video-opengl) \
178 $(use_enable gles video-opengles) \
179 $(use_enable udev libudev) \
180 $(use_enable dbus) \
181 $(use_enable tslib input-tslib) \
182 --disable-directx \
183 --disable-rpath \
184 --disable-render-d3d \
185 $(use_with X x)
186 }
187
188 src_install() {
189 emake DESTDIR="${D}" install
190 use static-libs || prune_libtool_files
191 dodoc {BUGS,CREDITS,README,README-SDL,README-hg,TODO,WhatsNew}.txt
192 }