summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-02-28 10:38:15 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-02-28 10:38:15 +0000
commit26f237e2a46a76625c4ef53b6c1dffc767e8adb2 (patch)
tree7d663111ea1e289f93f9798755a7d4efa0c56621 /media-sound/timidity++
parentCleaned out old versions. (diff)
downloadhistorical-26f237e2a46a76625c4ef53b6c1dffc767e8adb2.tar.gz
historical-26f237e2a46a76625c4ef53b6c1dffc767e8adb2.tar.bz2
historical-26f237e2a46a76625c4ef53b6c1dffc767e8adb2.zip
Cleaned out old versions.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'media-sound/timidity++')
-rw-r--r--media-sound/timidity++/ChangeLog8
-rw-r--r--media-sound/timidity++/files/digest-timidity++-2.12.0-r31
-rw-r--r--media-sound/timidity++/files/digest-timidity++-2.13.0-r11
-rw-r--r--media-sound/timidity++/files/digest-timidity++-2.13.0-r21
-rw-r--r--media-sound/timidity++/files/long-64bit.patch32
-rw-r--r--media-sound/timidity++/files/timidity++-2.12.0-alsalib-fix.patch49
-rw-r--r--media-sound/timidity++/files/timidity.cfg82
-rw-r--r--media-sound/timidity++/timidity++-2.12.0-r3.ebuild113
-rw-r--r--media-sound/timidity++/timidity++-2.13.0-r1.ebuild123
-rw-r--r--media-sound/timidity++/timidity++-2.13.0-r2.ebuild129
10 files changed, 7 insertions, 532 deletions
diff --git a/media-sound/timidity++/ChangeLog b/media-sound/timidity++/ChangeLog
index ab887da9fa13..8d633586450c 100644
--- a/media-sound/timidity++/ChangeLog
+++ b/media-sound/timidity++/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/timidity++
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/ChangeLog,v 1.43 2005/02/22 21:26:18 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/ChangeLog,v 1.44 2005/02/28 10:35:26 eradicator Exp $
+
+ 28 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ -files/long-64bit.patch, -files/timidity++-2.12.0-alsalib-fix.patch,
+ -files/timidity.cfg, -timidity++-2.12.0-r3.ebuild,
+ -timidity++-2.13.0-r1.ebuild, -timidity++-2.13.0-r2.ebuild:
+ Cleaned out old versions.
23 Feb 2005; Chris White <chriswhite@gentoo.org>
timidity++-2.13.0-r1.ebuild, timidity++-2.13.0-r2.ebuild,
diff --git a/media-sound/timidity++/files/digest-timidity++-2.12.0-r3 b/media-sound/timidity++/files/digest-timidity++-2.12.0-r3
deleted file mode 100644
index 1a026bfe37a3..000000000000
--- a/media-sound/timidity++/files/digest-timidity++-2.12.0-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6a878bc9341812d6a0b9a7a7d38c368c TiMidity++-2.12.0-pre1.tar.bz2 967676
diff --git a/media-sound/timidity++/files/digest-timidity++-2.13.0-r1 b/media-sound/timidity++/files/digest-timidity++-2.13.0-r1
deleted file mode 100644
index dc487e1b77c4..000000000000
--- a/media-sound/timidity++/files/digest-timidity++-2.13.0-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 63284981e1ac81fce2b53cc4b1f4c468 TiMidity++-2.13.0.tar.bz2 1418739
diff --git a/media-sound/timidity++/files/digest-timidity++-2.13.0-r2 b/media-sound/timidity++/files/digest-timidity++-2.13.0-r2
deleted file mode 100644
index dc487e1b77c4..000000000000
--- a/media-sound/timidity++/files/digest-timidity++-2.13.0-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 63284981e1ac81fce2b53cc4b1f4c468 TiMidity++-2.13.0.tar.bz2 1418739
diff --git a/media-sound/timidity++/files/long-64bit.patch b/media-sound/timidity++/files/long-64bit.patch
deleted file mode 100644
index 482a49fc9b6c..000000000000
--- a/media-sound/timidity++/files/long-64bit.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -ruN TiMidity++-2.12.0-pre1.orig/configure.in TiMidity++-2.12.0-pre1/configure.in
---- TiMidity++-2.12.0-pre1.orig/configure.in 2002-01-17 18:51:32.000000000 -0500
-+++ TiMidity++-2.12.0-pre1/configure.in 2003-11-10 23:00:22.000000000 -0500
-@@ -320,6 +320,10 @@
- AC_TYPE_SIZE_T
- AC_HEADER_TIME
-
-+AC_CHECK_SIZEOF(short)
-+AC_CHECK_SIZEOF(int)
-+AC_CHECK_SIZEOF(long)
-+
- AC_CACHE_CHECK(volatile declaration,timidity_cv_type_volatile,
- AC_TRY_COMPILE(,volatile int x,
- timidity_cv_type_volatile=yes,timidity_cv_type_volatile=no))
-diff -ruN TiMidity++-2.12.0-pre1.orig/timidity/timidity.h TiMidity++-2.12.0-pre1/timidity/timidity.h
---- TiMidity++-2.12.0-pre1.orig/timidity/timidity.h 2002-01-15 05:53:21.000000000 -0500
-+++ TiMidity++-2.12.0-pre1/timidity/timidity.h 2003-11-11 22:08:08.813216152 -0500
-@@ -411,12 +411,11 @@
-
- /* DEC MMS has 64 bit long words */
- /* Linux-Axp has also 64 bit long words */
--#if defined(DEC) || defined(__alpha__)
-+#if SIZEOF_INT == 4
- typedef unsigned int uint32;
- typedef int int32;
- #else
--typedef unsigned long uint32;
--typedef long int32;
-+#error "Can't get a 32-bit type"
- #endif
- #ifdef HPUX
- typedef unsigned short uint16;
diff --git a/media-sound/timidity++/files/timidity++-2.12.0-alsalib-fix.patch b/media-sound/timidity++/files/timidity++-2.12.0-alsalib-fix.patch
deleted file mode 100644
index 1dedd0bd0397..000000000000
--- a/media-sound/timidity++/files/timidity++-2.12.0-alsalib-fix.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-diff -urN interface/alsaseq_c.c interface/alsaseq_c.c
---- interface/alsaseq_c.c 2002-01-16 04:21:49.000000000 -0600
-+++ interface/alsaseq_c.c 2004-01-21 01:46:55.414954936 -0600
-@@ -45,6 +45,7 @@
- #endif
- #include <signal.h>
-
-+#define ALSA_PCM_OLD_HW_PARAMS_API
- #include <sys/asoundlib.h>
-
- #include "timidity.h"
-@@ -76,7 +77,7 @@
-
- static struct seq_context alsactx;
-
--#if SND_LIB_MINOR >= 6
-+#if SND_LIB_MINOR >= 6 || SND_LIB_MAJOR==1
- /* !! this is a dirty hack. not sure to work in future !! */
- static int snd_seq_file_descriptor(snd_seq_t *handle)
- {
-@@ -536,7 +537,7 @@
- seq_play_event(&ev);
- break;
-
--#if SND_LIB_MINOR >= 6
-+#if SND_LIB_MINOR >= 6 || SND_LIB_MAJOR==1
- #define snd_seq_addr_equal(a,b) ((a)->client == (b)->client && (a)->port == (b)->port)
- case SND_SEQ_EVENT_PORT_SUBSCRIBED:
- if (snd_seq_addr_equal(&aevp->data.connect.dest, &aevp->dest)) {
-diff -urN timidity/alsa_a.c timidity/alsa_a.c
---- timidity/alsa_a.c 2002-01-16 04:15:20.000000000 -0600
-+++ timidity/alsa_a.c 2004-01-21 00:39:51.324709640 -0600
-@@ -41,10 +41,15 @@
- #endif
-
- /*ALSA header file*/
-+#define ALSA_PCM_OLD_HW_PARAMS_API
- #include <sys/asoundlib.h>
-
- #if defined(SND_LIB_MINOR)
--#define ALSA_LIB SND_LIB_MINOR
-+# if SND_LIB_MAJOR==1
-+# define ALSA_LIB 10
-+# else
-+# define ALSA_LIB SND_LIB_MINOR
-+# endif
- #else
- #define ALSA_LIB 3
- #endif
diff --git a/media-sound/timidity++/files/timidity.cfg b/media-sound/timidity++/files/timidity.cfg
deleted file mode 100644
index 4aa3995fd5ef..000000000000
--- a/media-sound/timidity++/files/timidity.cfg
+++ /dev/null
@@ -1,82 +0,0 @@
-##############################################################################
-#
-# Instrument configuration file for timidity
-#
-# Specify library directory: dir <directory>
-#
-# - Multiple library directories may be given. The ones given last will be
-# searched first so you can override them in later configuration files.
-# Extra configuration files and MIDI files will also be searched in these
-# directories.
-#
-# Set tone bank or drum set to modify: bank <number>
-# drumset <number>
-#
-# Map program number to patch map: <program number> <patch name>
-#
-# - If the patch can't be found in the library directories, TiMidity will
-# search again with ".pat" appended to the name.
-# Programs without a loaded patch will be silent, except that for
-# banks/drumsets >0, the corresponding patch in bank/drumset 0 will
-# be used (if one exists).
-#
-# Read another configuration file: source <file name>
-#
-
-##############################################################################
-# If you've moved things around since compiling, uncomment and edit this to
-# point to the library directory:
-#
-#dir /usr/local/lib/timidity
-#
-
-##############################################################################
-# This sets up the default patches in the TiMidity support package
-# "timidity-lib-0.1.tar.gz":
-
-bank 0
- 0 patch/acpiano.pat
- 24 patch/nylongt2.pat
-
-##############################################################################
-# If you have Dustin McCartney's "wowpats" patches, you can source the
-# config file to set them up for TiMidity:
-#
-# (Note that later entries in config files always override earlier ones)
-#
-#source wowpats.cfg
-#
-
-##############################################################################
-# If you have Dustin McCartney's GS drum sets, you can source the config
-# file to set them up for TiMidity:
-#
-#source gsdrum.cfg
-#
-
-##############################################################################
-# If you have the GUS General MIDI patch set, uncomment the following lines
-# and edit the "dir" statement to point to your GUS patch directory.
-#
-#dir /dos-C/ultrasnd/midi
-#source gravis.cfg
-#
-
-##############################################################################
-# If you have the Midia patch set, you can source midia.cfg to set them up.
-# Note that midia.cfg sources gravis.cfg in turn, since the filenames are
-# almost identical.
-#
-#source midia.cfg
-#
-
-
-##############################################################################
-# Use XG program map.
-# "#extension" is keyword on TiMidity++, not comment.
-#extension source xgmap.cfg
-
-
-##############################################################################
-# End of configuration file
-
diff --git a/media-sound/timidity++/timidity++-2.12.0-r3.ebuild b/media-sound/timidity++/timidity++-2.12.0-r3.ebuild
deleted file mode 100644
index edca6296b207..000000000000
--- a/media-sound/timidity++/timidity++-2.12.0-r3.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.12.0-r3.ebuild,v 1.17 2005/02/22 21:26:18 chriswhite Exp $
-
-inherit gnuconfig eutils
-
-MY_P=TiMidity++-${PV}-pre1
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="A handy MIDI to WAV converter with OSS and ALSA output support"
-HOMEPAGE="http://www.goice.co.jp/member/mo/timidity/"
-SRC_URI="http://www.goice.co.jp/member/mo/timidity/dist/${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"
-
-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 )
- tcltk? ( >=dev-lang/tk-8.1 )
- oggvorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-alsalib-fix.patch
-}
-
-src_compile() {
- local myconf
- local audios
- local interfaces
-
- if use amd64 ; then
- epatch ${FILESDIR}/gnuconfig_update.patch
- epatch ${FILESDIR}/long-64bit.patch
- gnuconfig_update
- fi
-
- interfaces="dynamic,ncurses,emacs,vt100"
- use oss && audios="oss";
-
- use X \
- && myconf="${myconf} --with-x \
- --enable-spectrogram --enable-wrd" \
- && interfaces="${interfaces},xskin,xaw" \
- || myconf="${myconf} --without-x "
-
- use slang && interfaces="${interfaces},slang"
- if use X ; then \
- use gtk && interfaces="${interfaces},gtk";
- use motif && interfaces="${interfaces},motif";
- fi
-
- use alsa \
- && audios="${audios},alsa" \
- && interfaces="${interfaces},alsaseq" \
- && myconf="${myconf} --with-default-output=alsa"
-
- use esd && audios="${audios},esd"
- use oggvorbis && audios="${audios},vorbis"
- use nas && audios="${audios},nas"
-
- 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
- dodir /usr/share/timidity/config
- insinto /usr/share/timidity/config
- doins ${FILESDIR}/timidity.cfg
- dodoc AUTHORS ChangeLog* INSTALL*
- dodoc NEWS README*
-
- if use alsa; then
- insinto /etc/conf.d
- newins ${FILESDIR}/conf.d.timidity timidity
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/init.d.timidity timidity
- fi
-}
-
-pkg_postinst() {
- einfo ""
- einfo "A timidity config file has been installed in"
- einfo "/usr/share/timidity/config/timidity.cfg. This"
- einfo "file must to copied into /usr/share/timidity/"
- einfo "and edited to match your configuration."
- einfo ""
- if use alsa; then
- 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'"
- fi
-}
diff --git a/media-sound/timidity++/timidity++-2.13.0-r1.ebuild b/media-sound/timidity++/timidity++-2.13.0-r1.ebuild
deleted file mode 100644
index 4b1f4225e5c8..000000000000
--- a/media-sound/timidity++/timidity++-2.13.0-r1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2005 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-r1.ebuild,v 1.11 2005/02/22 21:26:18 chriswhite 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/$(get_libdir)/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
- 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 /etc/timidity.cfg."
- einfo ""
- einfo "You need to edit this config file to reference your sound fonts."
- einfo "If you don't know what this means, try emerging timidity-eawpatches or timidity-shompatches."
- 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
-}
diff --git a/media-sound/timidity++/timidity++-2.13.0-r2.ebuild b/media-sound/timidity++/timidity++-2.13.0-r2.ebuild
deleted file mode 100644
index 69f66798eeaf..000000000000
--- a/media-sound/timidity++/timidity++-2.13.0-r2.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2005 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.3 2005/02/22 21:26:18 chriswhite 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/$(get_libdir)/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
-}