From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/mac: metadata.xml ChangeLog mac-3.99.4.5.ebuild |
Date: | Tue, 06 Oct 2009 14:13:20 |
Message-Id: | E1MvAmz-0006Tp-Ao@stork.gentoo.org |
1 | ssuominen 09/10/06 14:13:17 |
2 | |
3 | Added: metadata.xml ChangeLog mac-3.99.4.5.ebuild |
4 | Log: |
5 | Initial commit wrt #94477, thanks to Thomas Kuther and others. |
6 | (Portage version: 2.2_rc43/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.5 media-sound/mac/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mac/metadata.xml?rev=1.5&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mac/metadata.xml?rev=1.5&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mac/metadata.xml?r1=1.4&r2=1.5 |
14 | |
15 | |
16 | |
17 | |
18 | 1.5 media-sound/mac/ChangeLog |
19 | |
20 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mac/ChangeLog?rev=1.5&view=markup |
21 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mac/ChangeLog?rev=1.5&content-type=text/plain |
22 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mac/ChangeLog?r1=1.4&r2=1.5 |
23 | |
24 | |
25 | |
26 | |
27 | 1.1 media-sound/mac/mac-3.99.4.5.ebuild |
28 | |
29 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mac/mac-3.99.4.5.ebuild?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mac/mac-3.99.4.5.ebuild?rev=1.1&content-type=text/plain |
31 | |
32 | Index: mac-3.99.4.5.ebuild |
33 | =================================================================== |
34 | # Copyright 1999-2009 Gentoo Foundation |
35 | # Distributed under the terms of the GNU General Public License v2 |
36 | # $Header: /var/cvsroot/gentoo-x86/media-sound/mac/mac-3.99.4.5.ebuild,v 1.1 2009/10/06 14:13:16 ssuominen Exp $ |
37 | |
38 | EAPI=2 |
39 | inherit eutils multilib versionator |
40 | |
41 | MY_P=${PN}-$(get_version_component_range 1-2)-u$(get_version_component_range 3)-b$(get_version_component_range 4) |
42 | |
43 | DESCRIPTION="Monkey's Audio Codecs" |
44 | HOMEPAGE="http://supermmx.org/linux/mac/" |
45 | SRC_URI="http://supermmx.org/resources/linux/${PN}/${MY_P}.tar.gz" |
46 | |
47 | LICENSE="mac" |
48 | SLOT="0" |
49 | KEYWORDS="~amd64 ~x86" |
50 | IUSE="mmx" |
51 | |
52 | RDEPEND="" |
53 | DEPEND="sys-apps/sed |
54 | mmx? ( dev-lang/yasm )" |
55 | |
56 | S=${WORKDIR}/${MY_P} |
57 | |
58 | src_prepare() { |
59 | epatch "${FILESDIR}"/${P}-gcc44.patch |
60 | sed -i -e 's:-O3::' configure || die |
61 | } |
62 | |
63 | src_configure() { |
64 | local mmx=no |
65 | use mmx && mmx=yes |
66 | |
67 | econf \ |
68 | --disable-dependency-tracking \ |
69 | --disable-static \ |
70 | --enable-assembly=${mmx} |
71 | } |
72 | |
73 | src_install() { |
74 | emake DESTDIR="${D}" install || die |
75 | dodoc AUTHORS ChangeLog NEWS README TODO src/*.txt |
76 | dohtml src/Readme.htm |
77 | find "${D}"/usr/$(get_libdir) -name '*.la' -delete |
78 | } |