1 |
commit: 92452bff16a9d15bbd24f687c789e34f8f953064 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 17 20:06:16 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 18 00:39:25 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92452bff |
7 |
|
8 |
clean old |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
media-libs/sdl-mixer/sdl-mixer-1.2.12-r3.ebuild | 107 ------------------------ |
13 |
1 file changed, 107 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/sdl-mixer/sdl-mixer-1.2.12-r3.ebuild b/media-libs/sdl-mixer/sdl-mixer-1.2.12-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 85e86ed..0000000 |
18 |
--- a/media-libs/sdl-mixer/sdl-mixer-1.2.12-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,107 +0,0 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=4 |
26 |
-inherit eutils |
27 |
- |
28 |
-MY_P=${P/sdl-/SDL_} |
29 |
-DESCRIPTION="Simple Direct Media Layer Mixer Library" |
30 |
-HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/" |
31 |
-SRC_URI="http://www.libsdl.org/projects/SDL_mixer/release/${MY_P}.tar.gz" |
32 |
- |
33 |
-LICENSE="ZLIB" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
36 |
-IUSE="flac fluidsynth mad midi mikmod mod modplug mp3 playtools smpeg static-libs timidity vorbis +wav" |
37 |
-REQUIRED_USE=" |
38 |
- midi? ( || ( timidity fluidsynth ) ) |
39 |
- timidity? ( midi ) |
40 |
- fluidsynth? ( midi ) |
41 |
- mp3? ( || ( smpeg mad ) ) |
42 |
- smpeg? ( mp3 ) |
43 |
- mad? ( mp3 ) |
44 |
- mod? ( || ( mikmod modplug ) ) |
45 |
- mikmod? ( mod ) |
46 |
- modplug? ( mod ) |
47 |
- " |
48 |
- |
49 |
-DEPEND=">=media-libs/libsdl-1.2.10 |
50 |
- flac? ( media-libs/flac ) |
51 |
- midi? ( |
52 |
- fluidsynth? ( media-sound/fluidsynth ) |
53 |
- timidity? ( media-sound/timidity++ ) |
54 |
- ) |
55 |
- mp3? ( |
56 |
- mad? ( media-libs/libmad ) |
57 |
- smpeg? ( >=media-libs/smpeg-0.4.4-r1 ) |
58 |
- ) |
59 |
- mod? ( |
60 |
- modplug? ( media-libs/libmodplug ) |
61 |
- mikmod? ( >=media-libs/libmikmod-3.1.10 ) |
62 |
- ) |
63 |
- vorbis? ( >=media-libs/libvorbis-1.0_beta4 media-libs/libogg )" |
64 |
-RDEPEND="${DEPEND} |
65 |
- playtools? ( !media-libs/sdl2-mixer[playtools] )" |
66 |
- |
67 |
-S=${WORKDIR}/${MY_P} |
68 |
- |
69 |
-src_prepare() { |
70 |
- epatch \ |
71 |
- "${FILESDIR}"/${P}-wav.patch \ |
72 |
- "${FILESDIR}"/${P}-clang.patch \ |
73 |
- "${FILESDIR}"/${P}-Fix-compiling-against-libmodplug-0.8.8.5.patch \ |
74 |
- "${FILESDIR}"/${P}-mikmod-r58{7,8}.patch #445980 |
75 |
- sed -i \ |
76 |
- -e '/link.*play/s/-o/$(LDFLAGS) -o/' \ |
77 |
- Makefile.in || die |
78 |
-} |
79 |
- |
80 |
-src_configure() { |
81 |
- econf \ |
82 |
- --disable-dependency-tracking \ |
83 |
- --disable-music-flac-shared \ |
84 |
- --disable-music-fluidsynth-shared \ |
85 |
- --disable-music-mod-shared \ |
86 |
- --disable-music-mp3-shared \ |
87 |
- --disable-music-ogg-shared \ |
88 |
- $(use_enable wav music-wave) \ |
89 |
- $(use_enable vorbis music-ogg) \ |
90 |
- $(use_enable mikmod music-mod) \ |
91 |
- $(use_enable modplug music-mod-modplug) \ |
92 |
- $(use_enable flac music-flac) \ |
93 |
- $(use_enable static-libs static) \ |
94 |
- $(use_enable smpeg music-mp3) \ |
95 |
- $(use_enable mad music-mp3-mad-gpl) \ |
96 |
- $(use_enable timidity music-timidity-midi) \ |
97 |
- $(use_enable fluidsynth music-fluidsynth-midi) |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- emake DESTDIR="${D}" install |
102 |
- if use playtools; then |
103 |
- emake DESTDIR="${D}" install-bin |
104 |
- fi |
105 |
- dodoc CHANGES README |
106 |
- if ! use static-libs ; then |
107 |
- find "${D}" -type f -name '*.la' -exec rm {} + || die |
108 |
- fi |
109 |
-} |
110 |
- |
111 |
-pkg_postinst() { |
112 |
- # bug 412035 |
113 |
- # https://bugs.gentoo.org/show_bug.cgi?id=412035 |
114 |
- if use midi ; then |
115 |
- if use fluidsynth; then |
116 |
- ewarn "FluidSynth support requires you to set the SDL_SOUNDFONTS" |
117 |
- ewarn "environment variable to the location of a SoundFont file" |
118 |
- ewarn "unless the game or application happens to do this for you." |
119 |
- |
120 |
- if use timidity; then |
121 |
- ewarn "Failing to do so will result in Timidity being used instead." |
122 |
- else |
123 |
- ewarn "Failing to do so will result in silence." |
124 |
- fi |
125 |
- fi |
126 |
- fi |
127 |
-} |