diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-09-23 21:18:09 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-09-23 21:18:09 +0000 |
commit | 0aee3d4289ac3fb76a2f4e5a382ab5ee46ec85d3 (patch) | |
tree | 07c45dd802ca9ff0423c8970e5ad4e6431eb84fd /media-sound/timidity++ | |
parent | Bump, and remove a bunch of older versions. (Manifest recommit) (diff) | |
download | gentoo-2-0aee3d4289ac3fb76a2f4e5a382ab5ee46ec85d3.tar.gz gentoo-2-0aee3d4289ac3fb76a2f4e5a382ab5ee46ec85d3.tar.bz2 gentoo-2-0aee3d4289ac3fb76a2f4e5a382ab5ee46ec85d3.zip |
Revision bump to make use of the timidity-update script provided by ohn Richard Moser <nigelenki@comcast.net>.
Diffstat (limited to 'media-sound/timidity++')
-rw-r--r-- | media-sound/timidity++/Manifest | 4 | ||||
-rw-r--r-- | media-sound/timidity++/timidity++-2.13.0-r2.ebuild | 129 |
2 files changed, 133 insertions, 0 deletions
diff --git a/media-sound/timidity++/Manifest b/media-sound/timidity++/Manifest index d45ad9ae176d..fd3ca7a54604 100644 --- a/media-sound/timidity++/Manifest +++ b/media-sound/timidity++/Manifest @@ -4,6 +4,8 @@ MD5 13899c922214c56eebe745acd729ebd3 timidity++-2.12.0-r3.ebuild 3030 MD5 fa9b67effb9e65ff0cf86d77a163e329 timidity++-2.13.0.ebuild 3339 MD5 e82dc7ad47d16884f0f413c024be1106 timidity++-2.13.0_rc2.ebuild 3251 MD5 7d8683bd8258a5272d87a3d95ea9bb11 timidity++-2.13.0-r1.ebuild 3630 +MD5 c5a2baff542e42f5ff684ada7889da15 timidity++-2.13.0-r2.ebuild 3715 +MD5 15fce5a2d3dfc834b4de65428105e63b files/timidity-update 2513 MD5 dbfc5d45b6177ffaf7dd74d4971a520a files/conf.d.timidity 912 MD5 435c2037a224bf9b5a8da7e4d87b48e0 files/digest-timidity++-2.12.0-r3 75 MD5 0dda67bb7cae71bca455ce730c53bfd1 files/digest-timidity++-2.13.0 71 @@ -14,3 +16,5 @@ MD5 c6e1c7a210aef0fcd2bc42c0cb56a650 files/long-64bit.patch 1166 MD5 8bbea1ed225e28e6c00e1cc57622b2d5 files/timidity++-2.12.0-alsalib-fix.patch 1355 MD5 4e4757646a4d2477f9bfe883d0b5ae88 files/timidity.cfg 2723 MD5 0dda67bb7cae71bca455ce730c53bfd1 files/digest-timidity++-2.13.0-r1 71 +MD5 0dda67bb7cae71bca455ce730c53bfd1 files/digest-timidity++-2.13.0-r2 71 +MD5 80fb82d4216373cbf4efafd7719628e0 files/timidity.cfg-r1 669 diff --git a/media-sound/timidity++/timidity++-2.13.0-r2.ebuild b/media-sound/timidity++/timidity++-2.13.0-r2.ebuild new file mode 100644 index 000000000000..eb9fc285a65e --- /dev/null +++ b/media-sound/timidity++/timidity++-2.13.0-r2.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.13.0-r2.ebuild,v 1.1 2004/09/23 21:18:09 eradicator Exp $ + +inherit gnuconfig + +MY_PV=${PV/_/-} +MY_P=TiMidity++-${MY_PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="A handy MIDI to WAV converter with OSS and ALSA output support" +HOMEPAGE="http://timidity.sourceforge.net/" +SRC_URI="mirror://sourceforge/timidity/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64 ~sparc" +IUSE="oss nas esd motif X gtk oggvorbis tcltk slang alsa arts jack portaudio emacs" + +RDEPEND=">=sys-libs/ncurses-5.0 + X? ( virtual/x11 ) + esd? ( >=media-sound/esound-0.2.22 ) + gtk? ( =x11-libs/gtk+-1.2* ) + nas? ( >=media-libs/nas-1.4 ) + alsa? ( media-libs/alsa-lib ) + motif? ( >=x11-libs/openmotif-2.1 ) + slang? ( >=sys-libs/slang-1.4 ) + arts? ( kde-base/arts ) + jack? ( media-sound/jack-audio-connection-kit ) + portaudio? ( !ppc? ( media-libs/portaudio ) ) + oggvorbis? ( >=media-libs/libvorbis-1.0_beta4 )" + +DEPEND="${RDEPEND} + sys-devel/autoconf" + +RDEPEND="${RDEPEND} + tcltk? ( >=dev-lang/tk-8.1 ) + emacs? ( virtual/emacs )" + +src_compile() { + local myconf + local audios + local interfaces + + interfaces="dynamic,ncurses,emacs,vt100" + + if use X ; then + myconf="${myconf} --with-x --enable-spectrogram --enable-wrd" + interfaces="${interfaces},xskin,xaw" + # wrapping in a "use arts" because of bug #48761 + use arts || use gtk && interfaces="${interfaces},gtk" + use motif && interfaces="${interfaces},motif" + else + myconf="${myconf} --without-x" + fi + + use slang && interfaces="${interfaces},slang" + + use oss && audios="${audios},oss" + use esd && audios="${audios},esd" + use oggvorbis && audios="${audios},vorbis" + use nas && { audios="${audios},nas"; myconf="${myconf} --with-nas-library=/usr/X11R6/lib/libaudio.so"; } + use arts && audios="${audios},arts" + use jack && audios="${audios},jack" + (use x86 || use sparc) && use portaudio && audios="${audios},portaudio" + + use alsa \ + && audios="${audios},alsa" \ + && interfaces="${interfaces},alsaseq" \ + && myconf="${myconf} --with-default-output=alsa" + + econf \ + --localstatedir=/var/state/timidity++ \ + --with-elf \ + --enable-audio=${audios} \ + --enable-interface=${interfaces} \ + --enable-server \ + --enable-network \ + ${myconf} || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog* INSTALL* + dodoc NEWS README* ${FILESDIR}/timidity.cfg + + insinto /etc/conf.d + newins ${FILESDIR}/conf.d.timidity timidity + + exeinto /etc/init.d + newexe ${FILESDIR}/init.d.timidity timidity + + insinto /etc + newins ${FILESDIR}/timidity.cfg-r1 timidity.cfg + + dodir /usr/share/timidity + dosym /etc/timidity.cfg /usr/share/timidity/timidity.cfg + + exeinto /usr/bin + newexe ${FILESDIR}/timidity-update timidity-update + + if use emacs ; then + dosed 's:/usr/local/bin/timidity:/usr/bin/timidity:g' /usr/share/emacs/site-lisp/timidity.el + else + rm ${D}/timidity.el + fi +} + +pkg_postinst() { + einfo "" + einfo "A timidity config file has been installed in /etc/timidity.cfg." + einfo "" + einfo "Do not edit this file as it will interfere with the timidity-update tool." + einfo "You will need to emerge timidity-eawpatches or timidity-shompatches." + einfo "" + einfo "The tool 'timidity-update' can be used to switch between installed patchsets." + einfo "" + einfo "An init script for the alsa timidity sequencer has been installed." + einfo "If you wish to use the timidity virtual sequencer, edit /etc/conf.d/timidity" + einfo "and run 'rc-update add timidity <runlevel> && /etc/init.d/timidity start'" + + if use sparc; then + ewarn "sparc support is experimental. oss, alsa, esd, and portaudio do not work." + ewarn "-Ow (save to wave file) does..." + fi +} |