1 |
mr_bones_ 13/10/25 16:03:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libsdl2-2.0.1.ebuild |
5 |
Log: |
6 |
version bump (bug #489326) |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 media-libs/libsdl2/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/ChangeLog?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/ChangeLog?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/ChangeLog?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libsdl2/ChangeLog,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- ChangeLog 5 Sep 2013 18:46:48 -0000 1.4 |
24 |
+++ ChangeLog 25 Oct 2013 16:03:19 -0000 1.5 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for media-libs/libsdl2 |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/ChangeLog,v 1.4 2013/09/05 18:46:48 hasufell Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/ChangeLog,v 1.5 2013/10/25 16:03:19 mr_bones_ Exp $ |
30 |
+ |
31 |
+*libsdl2-2.0.1 (25 Oct 2013) |
32 |
+ |
33 |
+ 25 Oct 2013; Michael Sterrett <mr_bones_@g.o> |
34 |
+ +files/libsdl2-2.0.1-static-libs.patch, +libsdl2-2.0.1.ebuild, |
35 |
+ files/libsdl2-2.0.0-static-libs.patch, files/libsdl2-2.0.0-threads.patch: |
36 |
+ version bump (bug #489326) |
37 |
|
38 |
05 Sep 2013; Julian Ospald <hasufell@g.o> libsdl2-2.0.0.ebuild, |
39 |
+files/libsdl2-2.0.0-threads.patch: |
40 |
@@ -18,4 +25,3 @@ |
41 |
28 Aug 2013; Julian Ospald <hasufell@g.o> +libsdl2-2.0.0.ebuild, |
42 |
+files/libsdl2-2.0.0-static-libs.patch, +metadata.xml: |
43 |
initial import wrt #480826 |
44 |
- |
45 |
|
46 |
|
47 |
|
48 |
1.1 media-libs/libsdl2/libsdl2-2.0.1.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/libsdl2-2.0.1.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsdl2/libsdl2-2.0.1.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: libsdl2-2.0.1.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2013 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl2/libsdl2-2.0.1.ebuild,v 1.1 2013/10/25 16:03:19 mr_bones_ Exp $ |
58 |
|
59 |
EAPI=5 |
60 |
inherit autotools flag-o-matic toolchain-funcs eutils |
61 |
|
62 |
MY_P=SDL2-${PV} |
63 |
DESCRIPTION="Simple Direct Media Layer" |
64 |
HOMEPAGE="http://www.libsdl.org" |
65 |
SRC_URI="http://www.libsdl.org/release/${MY_P}.tar.gz" |
66 |
|
67 |
LICENSE="ZLIB" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
|
71 |
IUSE="3dnow alsa altivec +audio custom-cflags dbus directfb fusionsound gles haptic +joystick mmx nas opengl oss pulseaudio sse sse2 static-libs +threads tslib udev +video X xinerama xscreensaver" |
72 |
REQUIRED_USE=" |
73 |
alsa? ( audio ) |
74 |
fusionsound? ( audio ) |
75 |
gles? ( video ) |
76 |
nas? ( audio ) |
77 |
opengl? ( video ) |
78 |
pulseaudio? ( audio ) |
79 |
xinerama? ( X ) |
80 |
xscreensaver? ( X )" |
81 |
|
82 |
RDEPEND=" |
83 |
alsa? ( media-libs/alsa-lib ) |
84 |
dbus? ( sys-apps/dbus ) |
85 |
directfb? ( >=dev-libs/DirectFB-1.0.0 ) |
86 |
fusionsound? ( >=media-libs/FusionSound-1.1.1 ) |
87 |
gles? ( media-libs/mesa[gles2] ) |
88 |
nas? ( media-libs/nas ) |
89 |
opengl? ( virtual/opengl virtual/glu ) |
90 |
pulseaudio? ( media-sound/pulseaudio ) |
91 |
tslib? ( x11-libs/tslib ) |
92 |
udev? ( virtual/udev ) |
93 |
X? ( |
94 |
x11-libs/libX11 |
95 |
x11-libs/libXcursor |
96 |
x11-libs/libXext |
97 |
x11-libs/libXi |
98 |
x11-libs/libXrandr |
99 |
x11-libs/libXt |
100 |
x11-libs/libXxf86vm |
101 |
xinerama? ( x11-libs/libXinerama ) |
102 |
xscreensaver? ( x11-libs/libXScrnSaver ) |
103 |
)" |
104 |
DEPEND="${RDEPEND} |
105 |
X? ( |
106 |
x11-proto/xextproto |
107 |
x11-proto/xproto |
108 |
) |
109 |
virtual/pkgconfig" |
110 |
|
111 |
S=${WORKDIR}/${MY_P} |
112 |
|
113 |
src_prepare() { |
114 |
# https://bugzilla.libsdl.org/show_bug.cgi?id=1431 |
115 |
epatch "${FILESDIR}"/${P}-static-libs.patch |
116 |
AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
use custom-cflags || strip-flags |
121 |
|
122 |
local directfbconf="--disable-video-directfb" |
123 |
if use directfb ; then |
124 |
# since DirectFB can link against SDL and trigger a |
125 |
# dependency loop, only link against DirectFB if it |
126 |
# isn't broken #61592 |
127 |
echo 'int main(){}' > directfb-test.c |
128 |
$(tc-getCC) directfb-test.c -ldirectfb 2>/dev/null \ |
129 |
&& directfbconf="--enable-video-directfb" \ |
130 |
|| ewarn "Disabling DirectFB since libdirectfb.so is broken" |
131 |
fi |
132 |
|
133 |
# sorted by `./configure --help` |
134 |
econf \ |
135 |
$(use_enable static-libs static) \ |
136 |
$(use_enable audio) \ |
137 |
$(use_enable video) \ |
138 |
--enable-render \ |
139 |
--enable-events \ |
140 |
$(use_enable joystick) \ |
141 |
$(use_enable haptic) \ |
142 |
--enable-power \ |
143 |
$(use_enable threads) \ |
144 |
--enable-timers \ |
145 |
--enable-file \ |
146 |
--disable-loadso \ |
147 |
--enable-cpuinfo \ |
148 |
--enable-atomic \ |
149 |
--enable-assembly \ |
150 |
$(use_enable sse ssemath) \ |
151 |
$(use_enable mmx) \ |
152 |
$(use_enable 3dnow) \ |
153 |
$(use_enable sse) \ |
154 |
$(use_enable sse2) \ |
155 |
$(use_enable altivec) \ |
156 |
$(use_enable oss) \ |
157 |
$(use_enable alsa) \ |
158 |
--disable-alsa-shared \ |
159 |
--disable-esd \ |
160 |
$(use_enable pulseaudio) \ |
161 |
--disable-pulseaudio-shared \ |
162 |
--disable-arts \ |
163 |
$(use_enable nas) \ |
164 |
--disable-nas-shared \ |
165 |
--disable-sndio \ |
166 |
--disable-sndio-shared \ |
167 |
$(use_enable audio diskaudio) \ |
168 |
$(use_enable audio dummyaudio) \ |
169 |
$(use_enable X video-x11) \ |
170 |
--disable-x11-shared \ |
171 |
$(use_enable X video-x11-xcursor) \ |
172 |
$(use_enable xinerama video-x11-xinerama) \ |
173 |
$(use_enable X video-x11-xinput) \ |
174 |
$(use_enable X video-x11-xrandr) \ |
175 |
$(use_enable xscreensaver video-x11-scrnsaver) \ |
176 |
$(use_enable X video-x11-xshape) \ |
177 |
$(use_enable X video-x11-vm) \ |
178 |
--disable-video-cocoa \ |
179 |
${directfbconf} \ |
180 |
--disable-directfb-shared \ |
181 |
$(use_enable fusionsound) \ |
182 |
--disable-fusionsound-shared \ |
183 |
$(use_enable video video-dummy) \ |
184 |
$(use_enable opengl video-opengl) \ |
185 |
$(use_enable gles video-opengles) \ |
186 |
$(use_enable udev libudev) \ |
187 |
$(use_enable dbus) \ |
188 |
$(use_enable tslib input-tslib) \ |
189 |
--disable-directx \ |
190 |
--disable-rpath \ |
191 |
--disable-render-d3d \ |
192 |
$(use_with X x) |
193 |
} |
194 |
|
195 |
src_install() { |
196 |
emake DESTDIR="${D}" install |
197 |
use static-libs || prune_libtool_files |
198 |
dodoc {BUGS,CREDITS,README,README-SDL,README-hg,TODO,WhatsNew}.txt |
199 |
} |