/[gentoo-x86]/media-libs/sdl-mixer/sdl-mixer-1.2.12.ebuild
Gentoo

Diff of /media-libs/sdl-mixer/sdl-mixer-1.2.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/Attic/sdl-mixer-1.2.12.ebuild,v 1.11 2012/04/17 14:46:13 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/Attic/sdl-mixer-1.2.12.ebuild,v 1.12 2012/04/17 21:15:44 mr_bones_ Exp $
4 4
5EAPI=4 5EAPI=4
6inherit eutils 6inherit eutils
7 7
8MY_P=${P/sdl-/SDL_} 8MY_P=${P/sdl-/SDL_}
12 12
13LICENSE="ZLIB" 13LICENSE="ZLIB"
14SLOT="0" 14SLOT="0"
15KEYWORDS="~alpha amd64 arm hppa ~mips ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" 15KEYWORDS="~alpha amd64 arm hppa ~mips ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
16IUSE="flac fluidsynth mad midi mikmod modplug mp3 playtools static-libs timidity vorbis +wav" 16IUSE="flac fluidsynth mad midi mikmod modplug mp3 playtools static-libs timidity vorbis +wav"
17REQUIRED_USE="
17REQUIRED_USE="midi? ( || ( timidity fluidsynth ) )" 18 midi? ( || ( timidity fluidsynth ) )
19 timidity? ( midi )
20 fluidsynth? ( midi )
21 "
18 22
19DEPEND=">=media-libs/libsdl-1.2.10 23DEPEND=">=media-libs/libsdl-1.2.10
20 flac? ( media-libs/flac ) 24 flac? ( media-libs/flac )
21 midi? ( 25 midi? (
22 fluidsynth? ( media-sound/fluidsynth ) 26 fluidsynth? ( media-sound/fluidsynth )
36 -e '/link.*play/s/-o/$(LDFLAGS) -o/' \ 40 -e '/link.*play/s/-o/$(LDFLAGS) -o/' \
37 Makefile.in || die 41 Makefile.in || die
38} 42}
39 43
40src_configure() { 44src_configure() {
41 local myconf
42
43 if use midi; then
44 myconf=$(use_enable timidity music-timidity-midi) \ 45 local myconf=$(use_enable timidity music-timidity-midi) \
45 $(use_enable fluidsynth music-fluidsynth-midi) 46 $(use_enable fluidsynth music-fluidsynth-midi)
46 fi
47 47
48 econf \ 48 econf \
49 --disable-dependency-tracking \ 49 --disable-dependency-tracking \
50 --disable-music-flac-shared \ 50 --disable-music-flac-shared \
51 --disable-music-fluidsynth-shared \ 51 --disable-music-fluidsynth-shared \

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20