1 |
hasufell 13/08/28 21:44:35 |
2 |
|
3 |
Added: metadata.xml ChangeLog sdl2-mixer-2.0.0.ebuild |
4 |
Manifest |
5 |
Log: |
6 |
initial import wrt #481796 |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 media-libs/sdl2-mixer/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl2-mixer/metadata.xml?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl2-mixer/metadata.xml?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
<?xml version="1.0" encoding="UTF-8"?> |
19 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 |
<pkgmetadata> |
21 |
<herd>games</herd> |
22 |
<use> |
23 |
<flag name='fluidsynth'>Use <pkg>media-sound/fluidsynth</pkg> |
24 |
for MIDI support</flag> |
25 |
<flag name='midi'>basic support for MIDI files</flag> |
26 |
<flag name='mod'>basic support for MOD files</flag> |
27 |
<flag name='playtools'>Install playwave and playmus tools (useful |
28 |
for testing)</flag> |
29 |
<flag name='smpeg'>Use <pkg>media-libs/smpeg</pkg> for MP3 support |
30 |
</flag> |
31 |
<flag name='tremor'>enable OGG Vorbis music via libtremor</flag> |
32 |
<flag name='wav'>support WAVE files</flag> |
33 |
</use> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.1 media-libs/sdl2-mixer/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl2-mixer/ChangeLog?rev=1.1&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl2-mixer/ChangeLog?rev=1.1&content-type=text/plain |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
# ChangeLog for media-libs/sdl2-mixer |
46 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
47 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-mixer/ChangeLog,v 1.1 2013/08/28 21:44:34 hasufell Exp $ |
48 |
|
49 |
*sdl2-mixer-2.0.0 (28 Aug 2013) |
50 |
|
51 |
28 Aug 2013; Julian Ospald <hasufell@g.o> +sdl2-mixer-2.0.0.ebuild, |
52 |
+metadata.xml: |
53 |
initial import wrt #481796 |
54 |
|
55 |
|
56 |
|
57 |
|
58 |
1.1 media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild |
59 |
|
60 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild?rev=1.1&view=markup |
61 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild?rev=1.1&content-type=text/plain |
62 |
|
63 |
Index: sdl2-mixer-2.0.0.ebuild |
64 |
=================================================================== |
65 |
# Copyright 1999-2013 Gentoo Foundation |
66 |
# Distributed under the terms of the GNU General Public License v2 |
67 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild,v 1.1 2013/08/28 21:44:34 hasufell Exp $ |
68 |
|
69 |
EAPI=5 |
70 |
inherit eutils |
71 |
|
72 |
MY_P=SDL2_mixer-${PV} |
73 |
DESCRIPTION="Simple Direct Media Layer Mixer Library" |
74 |
HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/" |
75 |
SRC_URI="http://www.libsdl.org/projects/SDL_mixer/release/${MY_P}.tar.gz" |
76 |
|
77 |
LICENSE="ZLIB" |
78 |
SLOT="0" |
79 |
KEYWORDS="~amd64 ~x86" |
80 |
IUSE="flac fluidsynth mad midi mikmod mod modplug mp3 playtools smpeg static-libs timidity tremor vorbis +wav" |
81 |
REQUIRED_USE=" |
82 |
midi? ( || ( timidity fluidsynth ) ) |
83 |
timidity? ( midi ) |
84 |
fluidsynth? ( midi ) |
85 |
mp3? ( || ( smpeg mad ) ) |
86 |
smpeg? ( mp3 ) |
87 |
mad? ( mp3 ) |
88 |
mod? ( || ( mikmod modplug ) ) |
89 |
mikmod? ( mod ) |
90 |
modplug? ( mod ) |
91 |
tremor? ( vorbis ) |
92 |
" |
93 |
|
94 |
DEPEND="media-libs/libsdl2 |
95 |
flac? ( media-libs/flac ) |
96 |
midi? ( |
97 |
fluidsynth? ( media-sound/fluidsynth ) |
98 |
timidity? ( media-sound/timidity++ ) |
99 |
) |
100 |
mp3? ( |
101 |
mad? ( media-libs/libmad ) |
102 |
smpeg? ( >=media-libs/smpeg2-2.0.0 ) |
103 |
) |
104 |
mod? ( |
105 |
modplug? ( media-libs/libmodplug ) |
106 |
mikmod? ( >=media-libs/libmikmod-3.1.10 ) |
107 |
) |
108 |
vorbis? ( |
109 |
tremor? ( media-libs/tremor ) |
110 |
!tremor? ( >=media-libs/libvorbis-1.0_beta4 media-libs/libogg ) |
111 |
)" |
112 |
RDEPEND=${DEPEND} |
113 |
|
114 |
S=${WORKDIR}/${MY_P} |
115 |
|
116 |
src_configure() { |
117 |
econf \ |
118 |
$(use_enable static-libs static) \ |
119 |
--disable-sdltest \ |
120 |
--enable-music-cmd \ |
121 |
$(use_enable wav music-wave) \ |
122 |
$(use_enable mod music-mod) \ |
123 |
$(use_enable modplug music-mod-modplug) \ |
124 |
--disable-music-mod-modplug-shared \ |
125 |
$(use_enable mikmod music-mod-mikmod) \ |
126 |
--disable-music-mod-mikmod-shared \ |
127 |
$(use_enable midi music-midi) \ |
128 |
$(use_enable timidity music-midi-timidity) \ |
129 |
$(use_enable fluidsynth music-midi-fluidsynth) \ |
130 |
--disable-music-fluidsynth-shared \ |
131 |
$(use_enable vorbis music-ogg) \ |
132 |
$(use_enable tremor music-ogg-tremor) \ |
133 |
--disable-music-ogg-shared \ |
134 |
$(use_enable flac music-flac) \ |
135 |
--disable-music-flac-shared \ |
136 |
$(use_enable mp3 music-mp3) \ |
137 |
$(use_enable smpeg music-mp3-smpeg) \ |
138 |
--disable-music-mp3-smpeg-shared \ |
139 |
--disable-smpegtest \ |
140 |
$(use_enable mad music-mp3-mad-gpl) |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
emake DESTDIR="${D}" install |
145 |
if use playtools; then |
146 |
emake DESTDIR="${D}" install-bin |
147 |
fi |
148 |
dodoc {CHANGES,README}.txt |
149 |
use static-libs || prune_libtool_files |
150 |
} |
151 |
|
152 |
pkg_postinst() { |
153 |
# bug 412035 |
154 |
# https://bugs.gentoo.org/show_bug.cgi?id=412035 |
155 |
if use midi ; then |
156 |
if use fluidsynth; then |
157 |
ewarn "FluidSynth support requires you to set the SDL_SOUNDFONTS" |
158 |
ewarn "environment variable to the location of a SoundFont file" |
159 |
ewarn "unless the game or application happens to do this for you." |
160 |
|
161 |
if use timidity; then |
162 |
ewarn "Failing to do so will result in Timidity being used instead." |
163 |
else |
164 |
ewarn "Failing to do so will result in silence." |
165 |
fi |
166 |
fi |
167 |
fi |
168 |
} |
169 |
|
170 |
|
171 |
|
172 |
1.1 media-libs/sdl2-mixer/Manifest |
173 |
|
174 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl2-mixer/Manifest?rev=1.1&view=markup |
175 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl2-mixer/Manifest?rev=1.1&content-type=text/plain |
176 |
|
177 |
Index: Manifest |
178 |
=================================================================== |
179 |
DIST SDL2_mixer-2.0.0.tar.gz 10119589 SHA256 a8ce0e161793791adeff258ca6214267fdd41b3c073d2581cd5265c8646f725b SHA512 e04594abc13c2b6527cd92a94a8d3e18436e9e6aaee21bab83e288e259a2fb20aae8433765d07feeb3b5bf253951323d67054239091e79720846770beb30be4d WHIRLPOOL 58385d7bdb3382af4f9d3aa9904b40083fe1139af0c938fa807904d70d4561180f65314bb2ab56f3b67a35140252e72802753ed723bca2536a4745fad43cb905 |
180 |
EBUILD sdl2-mixer-2.0.0.ebuild 2873 SHA256 b2bb6d669041dedadc0c277b66e7f2bc5a568435828bf1b9bcc2de8d8d962ab1 SHA512 c601e55b51938b41dad0629a97c9930283918dc2c677b80dfc2b1e8a9209e3e975f838a941bf4414e0d36468964c8d37ccac1536c3b25ebe0625310efa75f393 WHIRLPOOL 5de3eaa5e5390d4ba595d9583acfb5ff8e9730ca4abc4dfd541d6b0547d965084d3f80f333055a62aac62b2b2bb370e1ea706807d99b55cf58a8447687757491 |
181 |
MISC ChangeLog 279 SHA256 c2f9efd84fd120cec7da4990245a04c8d652173e679a6c0bc00be2f890c6f152 SHA512 c18e581cc872be92c62609f2a690de3f7a7d51daa8198bd1c7835405d9decb8b9f5b20555da279a213355185827285ac8b523dd8c4ed8f8cd064fdd23c9961b8 WHIRLPOOL 33d9b40a3811d1153fbf3b75ddc21613fd529a2707a4bc1077cc90916a5e7f726f0f8336eac7ab8be19d4cf8c72551a5df53abedce98009bdcdb243797cf4548 |
182 |
MISC metadata.xml 657 SHA256 9900dac3ab206adca75ceae4df1c50f840a131d4a779ecac28cc70bac2ff2a00 SHA512 f89f5271c5e364aac3c2ebc4e8b3177bb4472e09bb740c2d54e472ac9e5a2272988781d067b7b68bb1b80f8ba8c20611f74dd2adbb7b59fca68c36193b33bfef WHIRLPOOL caa85695a6653392f233afd978217be3b664d4e2ef0caffd2532620904c3c47c4555ba250b549d0262c111d20ab4b65c7fe4ab8127f46423bd547ff51ac25290 |