diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-24 21:33:07 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-24 21:33:07 +0000 |
commit | e747d29e8c961076a2bab4db24511ea0446e07d8 (patch) | |
tree | 768231433ca0445eccb703953b0bcbc3113bdf0c /media-libs/libmodplug | |
parent | Stable on ppc64; bug #154682 (diff) | |
download | gentoo-2-e747d29e8c961076a2bab4db24511ea0446e07d8.tar.gz gentoo-2-e747d29e8c961076a2bab4db24511ea0446e07d8.tar.bz2 gentoo-2-e747d29e8c961076a2bab4db24511ea0446e07d8.zip |
Version bump, but even if this version supposedly played MIDI files, it's too broken to actually work.
(Portage version: 2.1.2_rc2-r1)
Diffstat (limited to 'media-libs/libmodplug')
-rw-r--r-- | media-libs/libmodplug/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libmodplug/files/digest-libmodplug-0.8.4 | 3 | ||||
-rw-r--r-- | media-libs/libmodplug/files/libmodplug-0.8.4-timidity-patches.patch | 15 | ||||
-rw-r--r-- | media-libs/libmodplug/libmodplug-0.8.4.ebuild | 45 |
4 files changed, 71 insertions, 1 deletions
diff --git a/media-libs/libmodplug/ChangeLog b/media-libs/libmodplug/ChangeLog index baa136066a85..adab138575ea 100644 --- a/media-libs/libmodplug/ChangeLog +++ b/media-libs/libmodplug/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libmodplug # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/ChangeLog,v 1.20 2006/11/24 20:59:47 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/ChangeLog,v 1.21 2006/11/24 21:33:07 flameeyes Exp $ + +*libmodplug-0.8.4 (24 Nov 2006) + + 24 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/libmodplug-0.8.4-timidity-patches.patch, +libmodplug-0.8.4.ebuild: + Version bump, but even if this version supposedly played MIDI files, it's + too broken to actually work. *libmodplug-0.8-r1 (24 Nov 2006) diff --git a/media-libs/libmodplug/files/digest-libmodplug-0.8.4 b/media-libs/libmodplug/files/digest-libmodplug-0.8.4 new file mode 100644 index 000000000000..590a3cc7437e --- /dev/null +++ b/media-libs/libmodplug/files/digest-libmodplug-0.8.4 @@ -0,0 +1,3 @@ +MD5 091bd1168a524a4f36fc61f95209e7e4 libmodplug-0.8.4.tar.gz 510758 +RMD160 0c4c179ebc32bf88cecb162c391e91a5d36ad834 libmodplug-0.8.4.tar.gz 510758 +SHA256 84890249b3ecf12ef040b9121b6238248fc8da0fee948661d70375049e5131ee libmodplug-0.8.4.tar.gz 510758 diff --git a/media-libs/libmodplug/files/libmodplug-0.8.4-timidity-patches.patch b/media-libs/libmodplug/files/libmodplug-0.8.4-timidity-patches.patch new file mode 100644 index 000000000000..87150effb3e9 --- /dev/null +++ b/media-libs/libmodplug/files/libmodplug-0.8.4-timidity-patches.patch @@ -0,0 +1,15 @@ +Index: libmodplug-0.8.4/src/load_pat.cpp +=================================================================== +--- libmodplug-0.8.4.orig/src/load_pat.cpp ++++ libmodplug-0.8.4/src/load_pat.cpp +@@ -53,8 +53,8 @@ typedef UWORD WORD; + #define PATHFORPAT "C:\\TIMIDITY\\INSTRUMENTS" + #else + #define DIRDELIM '/' +-#define TIMIDITYCFG "/usr/local/share/timidity/timidity.cfg" +-#define PATHFORPAT "/usr/local/share/timidity/instruments" ++#define TIMIDITYCFG "/usr/share/timidity/timidity.cfg" ++#define PATHFORPAT "/usr/share/timidity/current" + #endif + + #define PAT_ENV_PATH2CFG "MMPAT_PATH_TO_CFG" diff --git a/media-libs/libmodplug/libmodplug-0.8.4.ebuild b/media-libs/libmodplug/libmodplug-0.8.4.ebuild new file mode 100644 index 000000000000..00c81436294b --- /dev/null +++ b/media-libs/libmodplug/libmodplug-0.8.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/libmodplug-0.8.4.ebuild,v 1.1 2006/11/24 21:33:07 flameeyes Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +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" +IUSE="" + +RDEPEND="" +DEPEND="dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-0.7-amd64.patch" + epatch "${FILESDIR}/${PN}-0.8.4-timidity-patches.patch" + + sed -i -e 's:-ffast-math::' "${S}/configure.in" + + eautoreconf +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README TODO +} + +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." +} |