summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2009-12-20 17:02:48 +0000
committerDaniel Pielmeier <billie@gentoo.org>2009-12-20 17:02:48 +0000
commit01b9cc5924d197add39997d0ff3233af86493f9c (patch)
tree817edc492879489359dc79ae5277bc6d817ea1bd /media-sound/mac
parentStable for PPC (bug #294573). (diff)
downloadhistorical-01b9cc5924d197add39997d0ff3233af86493f9c.tar.gz
historical-01b9cc5924d197add39997d0ff3233af86493f9c.tar.bz2
historical-01b9cc5924d197add39997d0ff3233af86493f9c.zip
Add a newer patched version of mac. This one is recommended by the developers of aqualung, an application which uses mac for decoding of Monkey's Audio files.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'media-sound/mac')
-rw-r--r--media-sound/mac/ChangeLog9
-rw-r--r--media-sound/mac/Manifest4
-rw-r--r--media-sound/mac/mac-3.99.4.5.4.ebuild56
3 files changed, 67 insertions, 2 deletions
diff --git a/media-sound/mac/ChangeLog b/media-sound/mac/ChangeLog
index 46a5f17de8ac..900cb84c6ae7 100644
--- a/media-sound/mac/ChangeLog
+++ b/media-sound/mac/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/mac
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/ChangeLog,v 1.6 2009/10/06 16:41:37 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/ChangeLog,v 1.7 2009/12/20 17:02:48 billie Exp $
+
+*mac-3.99.4.5.4 (20 Dec 2009)
+
+ 20 Dec 2009; Daniel Pielmeier <billie@gentoo.org> +mac-3.99.4.5.4.ebuild:
+ Add a newer patched version of mac. This one is recommended by the
+ developers of aqualung, an application which uses mac for decoding of
+ Monkey's Audio files.
06 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> mac-3.99.4.5.ebuild:
RESTRICT="mirror" because the license doesn't explicitely grant permission
diff --git a/media-sound/mac/Manifest b/media-sound/mac/Manifest
index 8560aa5e78fa..bb7c7586fc82 100644
--- a/media-sound/mac/Manifest
+++ b/media-sound/mac/Manifest
@@ -1,5 +1,7 @@
AUX mac-3.99.4.5-gcc44.patch 1515 RMD160 bfc5a73e42d16079c4e36c00a58769da4f5c9511 SHA1 667dd159b961f337a8782adf1642795f390cef2c SHA256 4a2951c5618b8777359baaa774530d2864b57b70a8494291cd52ccc874692fe5
+DIST mac-3.99-u4-b5-s4.tar.gz 427978 RMD160 986849a0f332e1d8f87f9954c34ecd90dbe4749c SHA1 fe706e1847b9c2f67f282c113d94305ac4e35bb2 SHA256 6270532925559bdc8dbc4ef4ca8befb5508c255a667e50382fc40b92a625544f
DIST mac-3.99-u4-b5.tar.gz 421234 RMD160 34b5ba553f7ffa858249258dad9f64c60f0b6ac0 SHA1 f215c265c2cba719834c989498d5a8d2457b54de SHA256 d59ac5b1fa375a78eadbd5d9bb638ad0229185b42b562dbb04b0dab6475b6651
+EBUILD mac-3.99.4.5.4.ebuild 1379 RMD160 76d34066d75a8412f6a906c89c43d55be7197f85 SHA1 de293c5be49865430d4bb29337e64f2eafe0f343 SHA256 686488bcd4ea08a0fbb629023d55e0741800659a844d1bdbdb58dd1e307dc796
EBUILD mac-3.99.4.5.ebuild 1230 RMD160 aeb571f791f4b542ed20cf86c317f7afdde514f6 SHA1 cb425cfde525ae1ae50b79b1e75dbc464a2dff60 SHA256 8e996066a028003458d8ed7c043fb945d33d7d207804e3f768b931974e9b33de
-MISC ChangeLog 597 RMD160 934ee29f0b7b21a93c84c0efbaa88b741ca232cb SHA1 361384674bb681bb588e61fe1b154ac9e176113c SHA256 318986a16bbde4fa4bfc8524ca9afda437e862e534df139ad110b9360fc1086f
+MISC ChangeLog 867 RMD160 c3dce20d3c68efa47c473fd0b51ac27856f2dae6 SHA1 8abc765dfa49cde926e8c2ad29c396f7a76fdee4 SHA256 bfc6f5ff830aa07b892a9999c8d00ef0622a04b4ef08ea7b9ff969e0560874ae
MISC metadata.xml 160 RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 SHA1 0c1bb16a7cc376ef35b87d8699ec9504718d36b9 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b
diff --git a/media-sound/mac/mac-3.99.4.5.4.ebuild b/media-sound/mac/mac-3.99.4.5.4.ebuild
new file mode 100644
index 000000000000..be2630088e1d
--- /dev/null
+++ b/media-sound/mac/mac-3.99.4.5.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 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.4.ebuild,v 1.1 2009/12/20 17:02:48 billie Exp $
+
+EAPI=2
+
+inherit eutils flag-o-matic multilib versionator
+
+MY_PV=$(get_version_component_range 1-2)-u$(get_version_component_range 3)-b$(get_version_component_range 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() {
+ epatch "${FILESDIR}"/${P}-gcc44.patch
+ 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 ChangeLog.shntool NEWS README TODO src/Credits.txt \
+ src/History.txt || die
+ dohtml src/Readme.htm || die
+ find "${D}"/usr/$(get_libdir) -name '*.la' -delete || die
+}