From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/sdl-mixer: sdl-mixer-1.2.11-r2.ebuild ChangeLog |
Date: | Mon, 02 Jan 2012 21:39:48 |
Message-Id: | 20120102213919.3D4F62004C@flycatcher.gentoo.org |
1 | mr_bones_ 12/01/02 21:39:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sdl-mixer-1.2.11-r2.ebuild |
5 | Log: |
6 | add upstream patch for playing some midi files (bug #397333) |
7 | |
8 | (Portage version: 2.1.10.41/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.84 media-libs/sdl-mixer/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-mixer/ChangeLog?rev=1.84&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-mixer/ChangeLog?rev=1.84&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-mixer/ChangeLog?r1=1.83&r2=1.84 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/ChangeLog,v |
20 | retrieving revision 1.83 |
21 | retrieving revision 1.84 |
22 | diff -u -r1.83 -r1.84 |
23 | --- ChangeLog 9 Dec 2011 21:16:44 -0000 1.83 |
24 | +++ ChangeLog 2 Jan 2012 21:39:19 -0000 1.84 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for media-libs/sdl-mixer |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/ChangeLog,v 1.83 2011/12/09 21:16:44 tupone Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/ChangeLog,v 1.84 2012/01/02 21:39:19 mr_bones_ Exp $ |
31 | + |
32 | +*sdl-mixer-1.2.11-r2 (02 Jan 2012) |
33 | + |
34 | + 02 Jan 2012; Michael Sterrett <mr_bones_@g.o> |
35 | + +sdl-mixer-1.2.11-r2.ebuild, +files/sdl-mixer-1.2.11-midi.patch: |
36 | + add upstream patch for playing some midi files (bug #397333) |
37 | |
38 | 09 Dec 2011; Tupone Alfredo <tupone@g.o> sdl-mixer-1.2.11-r1.ebuild, |
39 | metadata.xml: |
40 | |
41 | |
42 | |
43 | 1.1 media-libs/sdl-mixer/sdl-mixer-1.2.11-r2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-mixer/sdl-mixer-1.2.11-r2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-mixer/sdl-mixer-1.2.11-r2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: sdl-mixer-1.2.11-r2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/sdl-mixer-1.2.11-r2.ebuild,v 1.1 2012/01/02 21:39:18 mr_bones_ Exp $ |
53 | |
54 | EAPI=2 |
55 | inherit eutils |
56 | |
57 | MY_P=${P/sdl-/SDL_} |
58 | DESCRIPTION="Simple Direct Media Layer Mixer Library" |
59 | HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/" |
60 | SRC_URI="http://www.libsdl.org/projects/SDL_mixer/release/${MY_P}.tar.gz" |
61 | |
62 | LICENSE="LGPL-2.1" |
63 | SLOT="0" |
64 | 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" |
65 | IUSE="flac mad +midi mikmod mp3 playtools static-libs timidity vorbis +wav" |
66 | |
67 | DEPEND=">=media-libs/libsdl-1.2.10 |
68 | flac? ( media-libs/flac ) |
69 | timidity? ( media-sound/timidity++ ) |
70 | mad? ( media-libs/libmad ) |
71 | !mad? ( mp3? ( >=media-libs/smpeg-0.4.4-r1 ) ) |
72 | vorbis? ( >=media-libs/libvorbis-1.0_beta4 media-libs/libogg ) |
73 | mikmod? ( >=media-libs/libmikmod-3.1.10 )" |
74 | |
75 | S=${WORKDIR}/${MY_P} |
76 | |
77 | src_prepare() { |
78 | epatch \ |
79 | "${FILESDIR}"/${P}-multilib.patch \ |
80 | "${FILESDIR}"/${P}-midi.patch |
81 | } |
82 | |
83 | src_configure() { |
84 | econf \ |
85 | --disable-dependency-tracking \ |
86 | --disable-music-mod-shared \ |
87 | --disable-music-ogg-shared \ |
88 | --disable-music-flac-shared \ |
89 | --disable-music-mp3-shared \ |
90 | $(use_enable wav music-wave) \ |
91 | $(use_enable midi music-midi) \ |
92 | $(use_enable timidity music-timidity-midi) \ |
93 | $(use_enable mikmod music-mod) \ |
94 | $(use_enable vorbis music-ogg) \ |
95 | $(use_enable flac music-flac) \ |
96 | $(use_enable static-libs static) \ |
97 | $(use mad && echo --disable-music-mp3 || use_enable mp3 music-mp3) \ |
98 | $(use_enable mad music-mp3-mad-gpl) |
99 | } |
100 | |
101 | src_install() { |
102 | emake DESTDIR="${D}" install || die "make install failed" |
103 | if use playtools; then |
104 | emake DESTDIR="${D}" install-bin || die "make install-bin failed" |
105 | fi |
106 | dodoc CHANGES README |
107 | if ! use static-libs ; then |
108 | find "${D}" -type f -name '*.la' -exec rm {} + \ |
109 | || die "la removal failed" |
110 | fi |
111 | } |