blob: 6adc71528fcde5072db630504e8a002caeacbac9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/bmp-midi/bmp-midi-0.01-r1.ebuild,v 1.2 2005/07/25 11:47:48 dholm Exp $
IUSE=""
DESCRIPTION="Timidity++ Dependent MIDI Plugin for BMP"
HOMEPAGE="http://www.sosdg.org/~larne/w/Plugin_list"
SRC_URI="http://mitglied.lycos.de/mldoering/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc x86"
DEPEND="media-sound/beep-media-player
media-sound/timidity++"
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd ${S}
sed -si "s:xmms/plugin.h:beep-media-player/bmp/plugin.h:" mid.h
}
src_install() {
make DESTDIR=${D} install || die
dodoc ChangeLog README TODO
}
pkg_postinst() {
ewarn "This plugin can not deal with RMI (RIFF-encoded MIDI) files, this will segfault BMP."
ewarn "You can use 'file' to check, as some people insist on renaming .rmi to .mid"
echo
einfo "You need to place a working timidity.cfg in /etc; timidity-config will normally"
einfo "arrange for this if you emerge timidity-eawpatches."
ewarn "MIDI files will play silently if this condition is not met."
}
|