Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/
Date: Wed, 31 Oct 2018 21:53:30
Message-Id: 1541022789.268f83efeec126f67884036fa67bd72e1c069872.chewi@gentoo
1 commit: 268f83efeec126f67884036fa67bd72e1c069872
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 31 21:33:52 2018 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 31 21:53:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268f83ef
7
8 media-libs/libsdl2: Drop old 2.0.8-r1
9
10 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild | 166 -----------------------------
14 1 file changed, 166 deletions(-)
15
16 diff --git a/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild
17 deleted file mode 100644
18 index 08a462b416b..00000000000
19 --- a/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild
20 +++ /dev/null
21 @@ -1,166 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -inherit autotools flag-o-matic ltprune toolchain-funcs multilib-minimal
27 -
28 -MY_P="SDL2-${PV}"
29 -DESCRIPTION="Simple Direct Media Layer"
30 -HOMEPAGE="http://www.libsdl.org"
31 -SRC_URI="http://www.libsdl.org/release/${MY_P}.tar.gz"
32 -
33 -LICENSE="ZLIB"
34 -SLOT="0"
35 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sparc x86"
36 -
37 -IUSE="cpu_flags_x86_3dnow alsa altivec aqua custom-cflags dbus gles haptic libsamplerate +joystick cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video wayland X xinerama xscreensaver"
38 -REQUIRED_USE="
39 - alsa? ( sound )
40 - gles? ( video )
41 - nas? ( sound )
42 - opengl? ( video )
43 - pulseaudio? ( sound )
44 - wayland? ( gles )
45 - xinerama? ( X )
46 - xscreensaver? ( X )"
47 -
48 -RDEPEND="
49 - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
50 - dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
51 - gles? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] )
52 - libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] )
53 - nas? (
54 - >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}]
55 - >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )
56 - opengl? (
57 - >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
58 - >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
59 - )
60 - pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
61 - tslib? ( >=x11-libs/tslib-1.0-r3[${MULTILIB_USEDEP}] )
62 - udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] )
63 - wayland? (
64 - >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}]
65 - >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},egl,gles2,wayland]
66 - >=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}]
67 - )
68 - X? (
69 - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
70 - >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
71 - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
72 - >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
73 - >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
74 - >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
75 - xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
76 - xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] )
77 - )"
78 -DEPEND="${RDEPEND}
79 - X? ( x11-base/xorg-proto )
80 - virtual/pkgconfig"
81 -
82 -MULTILIB_WRAPPED_HEADERS=(
83 - /usr/include/SDL2/SDL_config.h
84 -)
85 -
86 -PATCHES=(
87 - # https://bugzilla.libsdl.org/show_bug.cgi?id=1431
88 - "${FILESDIR}"/${PN}-2.0.6-static-libs.patch
89 -)
90 -
91 -S="${WORKDIR}/${MY_P}"
92 -
93 -src_prepare() {
94 - default
95 - sed -i -e 's/configure.in/configure.ac/' Makefile.in || die
96 - mv configure.{in,ac} || die
97 - AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf
98 -}
99 -
100 -multilib_src_configure() {
101 - use custom-cflags || strip-flags
102 -
103 - # sorted by `./configure --help`
104 - local myeconfargs=(
105 - $(use_enable static-libs static)
106 - --enable-atomic
107 - $(use_enable sound audio)
108 - $(use_enable video)
109 - --enable-render
110 - --enable-events
111 - $(use_enable joystick)
112 - $(use_enable haptic)
113 - --enable-power
114 - --enable-filesystem
115 - $(use_enable threads)
116 - --enable-timers
117 - --enable-file
118 - $(use_enable kernel_Winnt loadso)
119 - --enable-cpuinfo
120 - --enable-assembly
121 - $(use_enable cpu_flags_x86_sse ssemath)
122 - $(use_enable cpu_flags_x86_mmx mmx)
123 - $(use_enable cpu_flags_x86_3dnow 3dnow)
124 - $(use_enable cpu_flags_x86_sse sse)
125 - $(use_enable cpu_flags_x86_sse2 sse2)
126 - $(use_enable altivec)
127 - $(use_enable oss)
128 - $(use_enable alsa)
129 - --disable-alsa-shared
130 - --disable-esd
131 - $(use_enable pulseaudio)
132 - --disable-pulseaudio-shared
133 - --disable-arts
134 - $(use_enable libsamplerate)
135 - $(use_enable nas)
136 - --disable-nas-shared
137 - --disable-sndio
138 - --disable-sndio-shared
139 - $(use_enable sound diskaudio)
140 - $(use_enable sound dummyaudio)
141 - $(use_enable wayland video-wayland)
142 - --disable-wayland-shared
143 - --disable-video-mir
144 - $(use_enable X video-x11)
145 - --disable-x11-shared
146 - $(use_enable X video-x11-xcursor)
147 - $(use_enable X video-x11-xdbe)
148 - $(use_enable xinerama video-x11-xinerama)
149 - $(use_enable X video-x11-xinput)
150 - $(use_enable X video-x11-xrandr)
151 - $(use_enable xscreensaver video-x11-scrnsaver)
152 - $(use_enable X video-x11-xshape)
153 - $(use_enable X video-x11-vm)
154 - $(use_enable aqua video-cocoa)
155 - --disable-video-directfb
156 - --disable-fusionsound
157 - --disable-fusionsound-shared
158 - $(use_enable video video-dummy)
159 - $(use_enable opengl video-opengl)
160 - --disable-video-opengles1
161 - $(use_enable gles video-opengles2)
162 - --disable-video-vulkan
163 - $(use_enable udev libudev)
164 - $(use_enable dbus)
165 - --disable-ibus
166 - $(use_enable tslib input-tslib)
167 - --disable-directx
168 - --disable-rpath
169 - --disable-render-d3d
170 - $(use_with X x)
171 - )
172 -
173 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
174 -}
175 -
176 -multilib_src_compile() {
177 - emake V=1
178 -}
179 -
180 -multilib_src_install() {
181 - emake DESTDIR="${D}" install
182 -}
183 -
184 -multilib_src_install_all() {
185 - prune_libtool_files
186 - dodoc {BUGS,CREDITS,README,README-SDL,TODO,WhatsNew}.txt docs/README*.md
187 -}