summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2010-08-02 18:15:09 +0000
committerDaniel Pielmeier <billie@gentoo.org>2010-08-02 18:15:09 +0000
commit6df21b765e4844e3c6658392f57043f581d363dd (patch)
tree4d409d441be0c111615a98b19b7a6fcceee64f0f
parentalpha/ia64/s390/sh/sparc stable wrt #308521 (diff)
downloadgentoo-2-6df21b765e4844e3c6658392f57043f581d363dd.tar.gz
gentoo-2-6df21b765e4844e3c6658392f57043f581d363dd.tar.bz2
gentoo-2-6df21b765e4844e3c6658392f57043f581d363dd.zip
Version bump.
(Portage version: 2.1.8.3/cvs/Linux i686)
-rw-r--r--media-sound/mac/ChangeLog7
-rw-r--r--media-sound/mac/mac-3.99.4.5.7.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/media-sound/mac/ChangeLog b/media-sound/mac/ChangeLog
index 1cc7e6844438..9a627e526a85 100644
--- a/media-sound/mac/ChangeLog
+++ b/media-sound/mac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mac
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/ChangeLog,v 1.13 2010/07/18 13:06:28 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/ChangeLog,v 1.14 2010/08/02 18:15:09 billie Exp $
+
+*mac-3.99.4.5.7 (02 Aug 2010)
+
+ 02 Aug 2010; Daniel Pielmeier <billie@gentoo.org> +mac-3.99.4.5.7.ebuild:
+ Version bump.
18 Jul 2010; Daniel Pielmeier <billie@gentoo.org>
-files/mac-3.99.4.5-gcc44.patch, -files/mac-3.99.4.5.4-gcc44.patch:
diff --git a/media-sound/mac/mac-3.99.4.5.7.ebuild b/media-sound/mac/mac-3.99.4.5.7.ebuild
new file mode 100644
index 000000000000..a67472d7781a
--- /dev/null
+++ b/media-sound/mac/mac-3.99.4.5.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/mac-3.99.4.5.7.ebuild,v 1.1 2010/08/02 18:15:09 billie Exp $
+
+EAPI=2
+
+inherit eutils flag-o-matic multilib versionator
+
+MY_PV=$(version_format_string '$1.$2-u$3-b$4')
+PATCH=s$(get_version_component_range 5)
+MY_P=${PN}-${MY_PV}-${PATCH}
+
+DESCRIPTION="Monkey's Audio Codecs"
+HOMEPAGE="http://etree.org/shnutils/shntool/"
+SRC_URI="http://etree.org/shnutils/shntool/support/formats/ape/unix/${MY_PV}-${PATCH}/${MY_P}.tar.gz"
+
+LICENSE="mac"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mmx"
+
+RDEPEND=""
+DEPEND="sys-apps/sed
+ mmx? ( dev-lang/yasm )"
+
+S=${WORKDIR}/${MY_P}
+
+RESTRICT="mirror"
+
+src_prepare() {
+ sed -i -e 's:-O3::' configure || die
+}
+
+pkg_setup() {
+ append-cppflags -DSHNTOOL
+ use mmx && append-ldflags -Wl,-z,noexecstack
+}
+
+src_configure() {
+ local mmx=no
+ use mmx && mmx=yes
+
+ econf \
+ --disable-dependency-tracking \
+ --disable-static \
+ --enable-assembly=${mmx}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog* NEWS README TODO src/*.txt || die
+ dohtml src/Readme.htm || die
+ find "${D}"/usr/$(get_libdir) -name '*.la' -delete || die
+}