Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl/
Date: Fri, 18 Dec 2015 00:47:43
Message-Id: 1450399163.879b2099966a22d7c79f544557edf20a05579607.mr_bones_@gentoo
1 commit: 879b2099966a22d7c79f544557edf20a05579607
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 17 20:05:22 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 18 00:39:23 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879b2099
7
8 clean old
9
10 Package-Manager: portage-2.2.24
11
12 media-libs/libsdl/libsdl-1.2.15-r8.ebuild | 142 ------------------------------
13 1 file changed, 142 deletions(-)
14
15 diff --git a/media-libs/libsdl/libsdl-1.2.15-r8.ebuild b/media-libs/libsdl/libsdl-1.2.15-r8.ebuild
16 deleted file mode 100644
17 index 72a40da..0000000
18 --- a/media-libs/libsdl/libsdl-1.2.15-r8.ebuild
19 +++ /dev/null
20 @@ -1,142 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -inherit autotools flag-o-matic multilib toolchain-funcs eutils multilib-minimal
27 -
28 -DESCRIPTION="Simple Direct Media Layer"
29 -HOMEPAGE="http://www.libsdl.org/"
30 -SRC_URI="http://www.libsdl.org/release/SDL-${PV}.tar.gz"
31 -
32 -LICENSE="LGPL-2.1"
33 -SLOT="0"
34 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
35 -# WARNING:
36 -# If you turn on the custom-cflags use flag in USE and something breaks,
37 -# you pick up the pieces. Be prepared for bug reports to be marked INVALID.
38 -IUSE="oss alsa nas X dga xv xinerama fbcon tslib aalib opengl libcaca +sound +video +joystick custom-cflags pulseaudio static-libs"
39 -
40 -RDEPEND="
41 - abi_x86_32? (
42 - !app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
43 - !<=app-emulation/emul-linux-x86-sdl-20140406
44 - )
45 - sound? ( >=media-libs/audiofile-0.3.5[${MULTILIB_USEDEP}] )
46 - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
47 - nas? (
48 - >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}]
49 - >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]
50 - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
51 - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
52 - )
53 - X? (
54 - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
55 - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
56 - >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
57 - )
58 - aalib? ( >=media-libs/aalib-1.4_rc5-r6[${MULTILIB_USEDEP}] )
59 - libcaca? ( >=media-libs/libcaca-0.99_beta18-r1[${MULTILIB_USEDEP}] )
60 - opengl? (
61 - >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
62 - >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
63 - )
64 - tslib? ( >=x11-libs/tslib-1.0-r3[${MULTILIB_USEDEP}] )
65 - pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )"
66 -DEPEND="${RDEPEND}
67 - nas? (
68 - >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]
69 - >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]
70 - )
71 - X? (
72 - >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]
73 - >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]
74 - )
75 - x86? ( || ( >=dev-lang/yasm-0.6.0 >=dev-lang/nasm-0.98.39-r3 ) )"
76 -
77 -S=${WORKDIR}/SDL-${PV}
78 -
79 -pkg_setup() {
80 - if use custom-cflags ; then
81 - ewarn "Since you've chosen to use possibly unsafe CFLAGS,"
82 - ewarn "don't bother filing libsdl-related bugs until trying to remerge"
83 - ewarn "libsdl without the custom-cflags use flag in USE."
84 - fi
85 -}
86 -
87 -src_prepare() {
88 - epatch \
89 - "${FILESDIR}"/${P}-sdl-config.patch \
90 - "${FILESDIR}"/${P}-resizing.patch \
91 - "${FILESDIR}"/${P}-joystick.patch \
92 - "${FILESDIR}"/${P}-bsd-joystick.patch \
93 - "${FILESDIR}"/${P}-gamma.patch \
94 - "${FILESDIR}"/${P}-const-xdata32.patch \
95 - "${FILESDIR}"/${P}-caca.patch
96 - AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf
97 -}
98 -
99 -multilib_src_configure() {
100 - local myconf=
101 - if use !x86 ; then
102 - myconf="${myconf} --disable-nasm"
103 - else
104 - myconf="${myconf} --enable-nasm"
105 - fi
106 - use custom-cflags || strip-flags
107 - use sound || myconf="${myconf} --disable-audio"
108 - use video \
109 - && myconf="${myconf} --enable-video-dummy" \
110 - || myconf="${myconf} --disable-video"
111 - use joystick || myconf="${myconf} --disable-joystick"
112 -
113 - ECONF_SOURCE="${S}" econf \
114 - --disable-rpath \
115 - --disable-arts \
116 - --disable-esd \
117 - --enable-events \
118 - --enable-cdrom \
119 - --enable-threads \
120 - --enable-timers \
121 - --enable-file \
122 - --enable-cpuinfo \
123 - --disable-alsa-shared \
124 - --disable-esd-shared \
125 - --disable-pulseaudio-shared \
126 - --disable-arts-shared \
127 - --disable-nas-shared \
128 - --disable-osmesa-shared \
129 - $(use_enable oss) \
130 - $(use_enable alsa) \
131 - $(use_enable pulseaudio) \
132 - $(use_enable nas) \
133 - $(use_enable X video-x11) \
134 - $(use_enable dga) \
135 - $(use_enable xv video-x11-xv) \
136 - $(use_enable xinerama video-x11-xinerama) \
137 - $(use_enable X video-x11-xrandr) \
138 - $(use_enable dga video-dga) \
139 - $(use_enable fbcon video-fbcon) \
140 - --disable-video-ggi \
141 - --disable-video-svga \
142 - $(use_enable aalib video-aalib) \
143 - $(use_enable libcaca video-caca) \
144 - $(use_enable opengl video-opengl) \
145 - --disable-video-ps3 \
146 - $(use_enable tslib input-tslib) \
147 - $(use_with X x) \
148 - $(use_enable static-libs static) \
149 - --disable-video-x11-xme \
150 - --disable-video-directfb \
151 - ${myconf}
152 -}
153 -
154 -multilib_src_install() {
155 - emake DESTDIR="${D}" install
156 -}
157 -
158 -multilib_src_install_all() {
159 - use static-libs || prune_libtool_files --all
160 - dodoc BUGS CREDITS README README-SDL.txt README.HG TODO WhatsNew
161 - dohtml -r ./
162 -}