summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-06 14:13:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-06 14:13:17 +0000
commit677bc3153a58ebd38998e05d9c0e031b2770c4cb (patch)
treeed23ae8abfbb7a3a31ab27fc16140066f8d23f27 /media-sound/mac
parentAutomated update of use.local.desc (diff)
downloadhistorical-677bc3153a58ebd38998e05d9c0e031b2770c4cb.tar.gz
historical-677bc3153a58ebd38998e05d9c0e031b2770c4cb.tar.bz2
historical-677bc3153a58ebd38998e05d9c0e031b2770c4cb.zip
Initial commit wrt #94477, thanks to Thomas Kuther and others.
Package-Manager: portage-2.2_rc43/cvs/Linux x86_64
Diffstat (limited to 'media-sound/mac')
-rw-r--r--media-sound/mac/ChangeLog10
-rw-r--r--media-sound/mac/Manifest5
-rw-r--r--media-sound/mac/files/mac-3.99.4.5-gcc44.patch27
-rw-r--r--media-sound/mac/mac-3.99.4.5.ebuild45
-rw-r--r--media-sound/mac/metadata.xml5
5 files changed, 92 insertions, 0 deletions
diff --git a/media-sound/mac/ChangeLog b/media-sound/mac/ChangeLog
new file mode 100644
index 000000000000..86dd86757466
--- /dev/null
+++ b/media-sound/mac/ChangeLog
@@ -0,0 +1,10 @@
+# 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.5 2009/10/06 14:13:16 ssuominen Exp $
+
+*mac-3.99.4.5 (06 Oct 2009)
+
+ 06 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> +mac-3.99.4.5.ebuild,
+ +files/mac-3.99.4.5-gcc44.patch:
+ Initial commit wrt #94477, thanks to Thomas Kuther and others.
+
diff --git a/media-sound/mac/Manifest b/media-sound/mac/Manifest
new file mode 100644
index 000000000000..775f2d9df022
--- /dev/null
+++ b/media-sound/mac/Manifest
@@ -0,0 +1,5 @@
+AUX mac-3.99.4.5-gcc44.patch 1515 RMD160 bfc5a73e42d16079c4e36c00a58769da4f5c9511 SHA1 667dd159b961f337a8782adf1642795f390cef2c SHA256 4a2951c5618b8777359baaa774530d2864b57b70a8494291cd52ccc874692fe5
+DIST mac-3.99-u4-b5.tar.gz 421234 RMD160 34b5ba553f7ffa858249258dad9f64c60f0b6ac0 SHA1 f215c265c2cba719834c989498d5a8d2457b54de SHA256 d59ac5b1fa375a78eadbd5d9bb638ad0229185b42b562dbb04b0dab6475b6651
+EBUILD mac-3.99.4.5.ebuild 1089 RMD160 1a213d3546078483cee8ea74232271bec8619c88 SHA1 d094e856447a2b57c72d290ea16a4dbe51297c5d SHA256 a8c8d6d66347b23b8c266e30c5d2fecfa30bc5b9e34453a606db8bf859e754d1
+MISC ChangeLog 412 RMD160 161cc15cf14d046a0db0e676d93884fdaa968138 SHA1 b3960f0d597708c67ee39cf1efd26cefd7a1b5fe SHA256 18f4120086874025c955404b7f2b7c37a843e317794fc50570b848e0465ee026
+MISC metadata.xml 160 RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 SHA1 0c1bb16a7cc376ef35b87d8699ec9504718d36b9 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b
diff --git a/media-sound/mac/files/mac-3.99.4.5-gcc44.patch b/media-sound/mac/files/mac-3.99.4.5-gcc44.patch
new file mode 100644
index 000000000000..acd4a04b6d0c
--- /dev/null
+++ b/media-sound/mac/files/mac-3.99.4.5-gcc44.patch
@@ -0,0 +1,27 @@
+diff -ur mac-3.99-u4-b5.orig/src/MACLib/APELink.cpp mac-3.99-u4-b5/src/MACLib/APELink.cpp
+--- mac-3.99-u4-b5.orig/src/MACLib/APELink.cpp 2006-06-01 12:00:57.000000000 +0300
++++ mac-3.99-u4-b5/src/MACLib/APELink.cpp 2009-10-06 16:53:19.000000000 +0300
+@@ -63,10 +63,10 @@
+ if (pData != NULL)
+ {
+ // parse out the information
+- char * pHeader = strstr(pData, APE_LINK_HEADER);
+- char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
+- char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
+- char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
++ const char * pHeader = strstr(pData, APE_LINK_HEADER);
++ const char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
++ const char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
++ const char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
+
+ if (pHeader && pImageFile && pStartBlock && pFinishBlock)
+ {
+@@ -81,7 +81,7 @@
+
+ // get the path
+ char cImageFile[MAX_PATH + 1]; int nIndex = 0;
+- char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)];
++ const char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)];
+ while ((*pImageCharacter != 0) && (*pImageCharacter != '\r') && (*pImageCharacter != '\n'))
+ cImageFile[nIndex++] = *pImageCharacter++;
+ cImageFile[nIndex] = 0;
diff --git a/media-sound/mac/mac-3.99.4.5.ebuild b/media-sound/mac/mac-3.99.4.5.ebuild
new file mode 100644
index 000000000000..8fc69e203b69
--- /dev/null
+++ b/media-sound/mac/mac-3.99.4.5.ebuild
@@ -0,0 +1,45 @@
+# 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.ebuild,v 1.1 2009/10/06 14:13:16 ssuominen Exp $
+
+EAPI=2
+inherit eutils multilib versionator
+
+MY_P=${PN}-$(get_version_component_range 1-2)-u$(get_version_component_range 3)-b$(get_version_component_range 4)
+
+DESCRIPTION="Monkey's Audio Codecs"
+HOMEPAGE="http://supermmx.org/linux/mac/"
+SRC_URI="http://supermmx.org/resources/linux/${PN}/${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}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc44.patch
+ sed -i -e 's:-O3::' configure || die
+}
+
+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
+ dohtml src/Readme.htm
+ find "${D}"/usr/$(get_libdir) -name '*.la' -delete
+}
diff --git a/media-sound/mac/metadata.xml b/media-sound/mac/metadata.xml
new file mode 100644
index 000000000000..3bf6bcfeb512
--- /dev/null
+++ b/media-sound/mac/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+</pkgmetadata>