diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-15 08:49:20 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-15 08:49:20 +0000 |
commit | de8aa81a642a6901db025360e793acf8ce446dce (patch) | |
tree | b0d58776aa1d84e33661b6759dffb868986bac51 /media-sound/timidity++ | |
parent | Added more info to postinst(). (diff) | |
download | historical-de8aa81a642a6901db025360e793acf8ce446dce.tar.gz historical-de8aa81a642a6901db025360e793acf8ce446dce.tar.bz2 historical-de8aa81a642a6901db025360e793acf8ce446dce.zip |
Revbump to have the ebuild install the default config in /etc
Diffstat (limited to 'media-sound/timidity++')
-rw-r--r-- | media-sound/timidity++/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/timidity++/Manifest | 2 | ||||
-rw-r--r-- | media-sound/timidity++/files/digest-timidity++-2.13.0-r1 | 1 | ||||
-rw-r--r-- | media-sound/timidity++/timidity++-2.13.0-r1.ebuild | 118 |
4 files changed, 128 insertions, 1 deletions
diff --git a/media-sound/timidity++/ChangeLog b/media-sound/timidity++/ChangeLog index a0f6f202ccb1..7560fdc91c1d 100644 --- a/media-sound/timidity++/ChangeLog +++ b/media-sound/timidity++/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/timidity++ # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/ChangeLog,v 1.27 2004/06/15 08:33:05 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/ChangeLog,v 1.28 2004/06/15 08:49:20 eradicator Exp $ + +*timidity++-2.13.0-r1 (15 Jun 2004) + + 15 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> + +timidity++-2.13.0-r1.ebuild: + Revbump to have the ebuild install the default config in /etc 15 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> timidity++-2.12.0-r3.ebuild: diff --git a/media-sound/timidity++/Manifest b/media-sound/timidity++/Manifest index 8c3342692468..0fb687e3ff47 100644 --- a/media-sound/timidity++/Manifest +++ b/media-sound/timidity++/Manifest @@ -3,6 +3,7 @@ MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 829a16cae0d2c00ed6b8f7bd97bb9303 timidity++-2.12.0-r3.ebuild 3042 MD5 901f8a8c31bb828ca07af724c192577f timidity++-2.13.0.ebuild 3351 MD5 a1a1abc57f297afdb69246300a0503d0 timidity++-2.13.0_rc2.ebuild 3263 +MD5 901f8a8c31bb828ca07af724c192577f timidity++-2.13.0-r1.ebuild 3351 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 @@ -12,3 +13,4 @@ MD5 a216b305951cefced3806b5be686dbbe files/init.d.timidity 461 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 diff --git a/media-sound/timidity++/files/digest-timidity++-2.13.0-r1 b/media-sound/timidity++/files/digest-timidity++-2.13.0-r1 new file mode 100644 index 000000000000..dc487e1b77c4 --- /dev/null +++ b/media-sound/timidity++/files/digest-timidity++-2.13.0-r1 @@ -0,0 +1 @@ +MD5 63284981e1ac81fce2b53cc4b1f4c468 TiMidity++-2.13.0.tar.bz2 1418739 diff --git a/media-sound/timidity++/timidity++-2.13.0-r1.ebuild b/media-sound/timidity++/timidity++-2.13.0-r1.ebuild new file mode 100644 index 000000000000..f03d47c21047 --- /dev/null +++ b/media-sound/timidity++/timidity++-2.13.0-r1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.13.0-r1.ebuild,v 1.1 2004/06/15 08:49:20 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" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64 ~sparc" +IUSE="oss nas esd motif X gtk oggvorbis tcltk slang alsa kde 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 ) + kde? ( kde-base/arts ) + jack? ( !sparc? ( 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" + 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 kde && audios="${audios},arts" + (! use sparc) && 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 + insinto /etc + doins ${FILESDIR}/timidity.cfg + + dodir /usr/share/timidity + dosym /etc/timidity.cfg /usr/share/timidity/timidity.cfg + + 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 + + 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" + einfo "/usr/share/timitidy/config/timidity.cfg. This" + einfo "file must to copied into /usr/share/timidity/" + einfo "and edited to match your configuration." + 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'" +} |