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