summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-02-21 19:59:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-02-21 19:59:36 +0000
commitfeb716232ad0e8ce14882c468aac1f1407f3335c (patch)
treed532dc6489e044145c0b152b673afc72cfb89aa3 /media-libs/libmodplug
parentFix tests when Rails 3 is also present. (diff)
downloadgentoo-2-feb716232ad0e8ce14882c468aac1f1407f3335c.tar.gz
gentoo-2-feb716232ad0e8ce14882c468aac1f1407f3335c.tar.bz2
gentoo-2-feb716232ad0e8ce14882c468aac1f1407f3335c.zip
old
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmodplug')
-rw-r--r--media-libs/libmodplug/Manifest3
-rw-r--r--media-libs/libmodplug/files/libmodplug-0.8.4-endian.patch63
-rw-r--r--media-libs/libmodplug/libmodplug-0.8.7.ebuild45
3 files changed, 0 insertions, 111 deletions
diff --git a/media-libs/libmodplug/Manifest b/media-libs/libmodplug/Manifest
index acc1b681db8a..315623df21a0 100644
--- a/media-libs/libmodplug/Manifest
+++ b/media-libs/libmodplug/Manifest
@@ -1,8 +1,5 @@
-AUX libmodplug-0.8.4-endian.patch 2098 RMD160 93d36295c448b2c02859316177fda22c3e518d9e SHA1 a151248d892a6838bdcf3a825558954a0c54abc9 SHA256 c1298400afd5fbc9dd3a5a1e4c271868da740deb5cbacceb583bc2162e2d81a1
AUX libmodplug-0.8.4-timidity-patches.patch 592 RMD160 28433fbef068eccc69f2f013c81ebfbd8f47f219 SHA1 0950e4b480d5e2420240335696bfb95d1f3f24e7 SHA256 e486f9343d69d5849b42f6971162335e7c0805174dd5fba61697da9d948515ab
-DIST libmodplug-0.8.7.tar.gz 519792 RMD160 095d8cfd67761b0fe0cff772c4abb9b3eaab3648 SHA1 52cb47ef9291b0286430c5de02ef33731d359f2e SHA256 3cfdebb60833a082e2f2b8faa3892bc9201d05c64051503e8007d8c98ae9e4c2
DIST libmodplug-0.8.8.1.tar.gz 513612 RMD160 47444bc6306bf2ff35cb92ac70c2d496ac5c63c2 SHA1 49639b29b302aafe3fa6e5c5cdb994bfc72fd573 SHA256 9f3b8232b106b56d82e14300187ff0d3b72181d40d1be69ddc9a8b992f4f65f0
-EBUILD libmodplug-0.8.7.ebuild 1394 RMD160 80c6a1849bef99e7cbe9bcafe1f53bce2cbe8395 SHA1 657eb98eb424ed2564add1b9bee39a654bf2fb82 SHA256 2b4a2c6ec597609eaa8e0c3b20bb399ff8f5579e4a5baecae2b24fda53bdd97e
EBUILD libmodplug-0.8.8.1.ebuild 1065 RMD160 2cd1f76878138536401e6833e427ce76894e74b9 SHA1 a9eae9143c6a1b31190cdf7084776b63cdf60de1 SHA256 f0b037548ed0ce731c2f2abe74c1721f13f8be8e79c1b6b8f6a6876a98a6d175
MISC ChangeLog 7110 RMD160 9e9e3bb676156390ae30894a326bf0df0c1fcf1a SHA1 b4bf01abc9ba5017cab38589da194c18f1b10e39 SHA256 d4d163359c1ad9ad48940e8172d6278c6d25078827285a448372726e579eabe8
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
diff --git a/media-libs/libmodplug/files/libmodplug-0.8.4-endian.patch b/media-libs/libmodplug/files/libmodplug-0.8.4-endian.patch
deleted file mode 100644
index 5b748d9b3c3e..000000000000
--- a/media-libs/libmodplug/files/libmodplug-0.8.4-endian.patch
+++ /dev/null
@@ -1,63 +0,0 @@
---- src/load_psm.cpp 2006/10/29 08:04:52 272
-+++ src/load_psm.cpp 2006/12/23 22:46:28 870
-@@ -85,6 +85,10 @@
- BYTE samplemap[MAX_SAMPLES];
- UINT nPatterns;
-
-+ pfh->id = bswapLE32(pfh->id);
-+ pfh->len = bswapLE32(pfh->len);
-+ pfh->listid = bswapLE32(pfh->listid);
-+
- // Chunk0: "PSM ",filesize,"FILE"
- if (dwMemLength < 256) return FALSE;
- if (pfh->id == PSM_ID_OLD)
-@@ -109,6 +113,11 @@
- while (dwMemPos+8 < dwMemLength)
- {
- PSMCHUNK *pchunk = (PSMCHUNK *)(lpStream+dwMemPos);
-+
-+ pchunk->id = bswapLE32(pchunk->id);
-+ pchunk->len = bswapLE32(pchunk->len);
-+ pchunk->listid = bswapLE32(pchunk->listid);
-+
- if ((pchunk->len >= dwMemLength - 8) || (dwMemPos + pchunk->len + 8 > dwMemLength)) break;
- dwMemPos += 8;
- PUCHAR pdata = (PUCHAR)(lpStream+dwMemPos);
-@@ -142,6 +151,13 @@
- m_nSamples++;
- MODINSTRUMENT *pins = &Ins[m_nSamples];
- PSMSAMPLE *psmp = (PSMSAMPLE *)pdata;
-+
-+ psmp->smpid = bswapLE32(psmp->smpid);
-+ psmp->length = bswapLE32(psmp->length);
-+ psmp->loopstart = bswapLE32(psmp->loopstart);
-+ psmp->loopend = bswapLE32(psmp->loopend);
-+ psmp->samplerate = bswapLE32(psmp->samplerate);
-+
- smpnames[m_nSamples] = psmp->smpid;
- memcpy(m_szNames[m_nSamples], psmp->samplename, 31);
- m_szNames[m_nSamples][31] = 0;
-@@ -193,6 +209,11 @@
- while (dwMemPos + 8 < dwSongEnd)
- {
- PSMCHUNK *pchunk = (PSMCHUNK *)(lpStream+dwMemPos);
-+
-+ pchunk->id = bswapLE32(pchunk->id);
-+ pchunk->len = bswapLE32(pchunk->len);
-+ pchunk->listid = bswapLE32(pchunk->listid);
-+
- dwMemPos += 8;
- if ((pchunk->len > dwSongEnd) || (dwMemPos + pchunk->len > dwSongEnd)) break;
- PUCHAR pdata = (PUCHAR)(lpStream+dwMemPos);
-@@ -251,6 +272,11 @@
- for (UINT nPat=0; nPat<nPatterns; nPat++)
- {
- PSMPATTERN *pPsmPat = (PSMPATTERN *)(lpStream+patptrs[nPat]+8);
-+
-+ pPsmPat->size = bswapLE32(pPsmPat->size);
-+ pPsmPat->name = bswapLE32(pPsmPat->name);
-+ pPsmPat->rows = bswapLE16(pPsmPat->rows);
-+
- ULONG len = *(DWORD *)(lpStream+patptrs[nPat]+4) - 12;
- UINT nRows = pPsmPat->rows;
- if (len > pPsmPat->size) len = pPsmPat->size;
diff --git a/media-libs/libmodplug/libmodplug-0.8.7.ebuild b/media-libs/libmodplug/libmodplug-0.8.7.ebuild
deleted file mode 100644
index fc00c8a787aa..000000000000
--- a/media-libs/libmodplug/libmodplug-0.8.7.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/libmodplug-0.8.7.ebuild,v 1.8 2010/02/03 10:03:13 grobian Exp $
-
-inherit eutils autotools
-
-DESCRIPTION="Library for playing MOD-like music files"
-SRC_URI="mirror://sourceforge/modplug-xmms/${P}.tar.gz"
-HOMEPAGE="http://modplug-xmms.sourceforge.net/"
-
-LICENSE="GPL-2"
-SLOT="0"
-#-sparc: 1.0 - Bus Error on play
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh -sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
-IUSE=""
-
-RDEPEND=""
-DEPEND="dev-util/pkgconfig"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PN}-0.8.4-timidity-patches.patch"
- epatch "${FILESDIR}/${PN}-0.8.4-endian.patch"
-
- sed -i -e 's:-ffast-math::' "${S}/configure.in"
-
- eautoreconf
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog README TODO
-
- # Remove unneeded libtool files
- find "${D}" -name '*.la' -delete
-}
-
-pkg_postinst() {
- elog "Since version 0.8.4 onward, libmodplug supports MIDI playback."
- elog "unfortunately to work correctly, this needs timidity patches,"
- elog "but the code does not support the needed 'source' directive to"
- elog "work with the patches currently in portage. For this reason it"
- elog "will not work as intended yet."
-}