diff --git a/srcpkgs/freepats/files/timidity-freepats.cfg b/srcpkgs/freepats/files/timidity-freepats.cfg new file mode 100644 index 00000000000..81833fe52a6 --- /dev/null +++ b/srcpkgs/freepats/files/timidity-freepats.cfg @@ -0,0 +1,22 @@ + +dir /usr/share/timidity/freepats +source /usr/share/timidity/freepats/freepats.cfg + +## If you have a slow CPU, uncomment these: +#opt EFresamp=d #disable resampling +#opt EFvlpf=d #disable VLPF +#opt EFreverb=d #disable reverb +#opt EFchorus=d #disable chorus +#opt EFdelay=d #disable delay +#opt anti-alias=d #disable sample anti-aliasing +#opt EWPVSETOZ #disable all Midi Controls +#opt p32a #default to 32 voices with auto reduction +#opt s32kHz #default sample frequency to 32kHz +#opt fast-decay #fast decay notes + +## If you have a moderate CPU, uncomment these: +#opt EFresamp=l +#opt EFreverb=g,42 +#opt EFchorus=s +#opt s32kHz +#opt p64a diff --git a/srcpkgs/freepats/template b/srcpkgs/freepats/template new file mode 100644 index 00000000000..54007040e58 --- /dev/null +++ b/srcpkgs/freepats/template @@ -0,0 +1,30 @@ +# Template file for 'freepats' +pkgname="freepats" +version="20060219" +revision=1 +wrksrc="${pkgname}" +short_desc="Free patch set for MIDI audio synthesis" +maintainer="David " +license="GPL-2" +homepage="http://freepats.zenvoid.org" +distfiles="${homepage}/${pkgname}-${version}.tar.bz2" +checksum="0261ea1057b232183fa472432d5cedb0dca33698a5319328cdf193d4b2193c8a" + +conf_files="/usr/share/timidity/freepats/freepats.cfg" + +do_install() { + vmkdir usr/share/examples/freepats + vmkdir usr/share/timidity/freepats + vmkdir usr/share/timidity/freepats/Drum_000 + vmkdir usr/share/timidity/freepats/Tone_000 + + vcopy "${wrksrc}/Drum_000/*" \ + usr/share/timidity/freepats/Drum_000 + vcopy "${wrksrc}/Tone_000/*" \ + usr/share/timidity/freepats/Tone_000 + + vinstall ${wrksrc}/crude.cfg 644 \ + usr/share/timidity/freepats freepats.cfg + vinstall ${FILESDIR}/timidity-freepats.cfg 644 \ + usr/share/examples/freepats +} diff --git a/srcpkgs/lingot/template b/srcpkgs/lingot/template new file mode 100644 index 00000000000..d95010b81db --- /dev/null +++ b/srcpkgs/lingot/template @@ -0,0 +1,14 @@ +# Template file for 'lingot' +pkgname="lingot" +version="0.9.1" +revision=1 +build_style=gnu-configure +short_desc="A musical instrument tuner" +maintainer="David " +license="GPL-2" +homepage="http://www.nongnu.org/lingot/" +distfiles="http://download.savannah.gnu.org/releases/lingot/${pkgname}-${version}.tar.gz" +checksum="ec91223ab3df7c9160e6f1ededd8125e64764360caa0de39f54ef0668d56f979" + +hostmakedepends="intltool pkg-config" +makedepends="alsa-lib-devel libglade-devel gtk+-devel jack-devel" diff --git a/srcpkgs/timidity/INSTALL.msg b/srcpkgs/timidity/INSTALL.msg new file mode 100644 index 00000000000..a1a28ad4955 --- /dev/null +++ b/srcpkgs/timidity/INSTALL.msg @@ -0,0 +1,6 @@ +For MIDI playing and sequencing, TiMidity requires a patchset (or sound fonts). + +The 'freepats' package provides a patchset compatible with TiMidity, as well as +an example configuration file that can be copied to /etc/timidity/timidity.cfg + +Please refer to the timidity.cfg(5) manpage for more details. diff --git a/srcpkgs/timidity/template b/srcpkgs/timidity/template new file mode 100644 index 00000000000..fd81a7b8a92 --- /dev/null +++ b/srcpkgs/timidity/template @@ -0,0 +1,21 @@ +# Template file for 'timidity' +pkgname="timidity" +version="2.14.0" +revision=1 +build_style=gnu-configure +wrksrc="TiMidity++-${version}" +short_desc="A MIDI to WAVE converter and player" +maintainer="David " +license="GPL-2" +homepage="http://timidity.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/TiMidity++-${version}.tar.xz" +checksum="abf0c8367959e85c9e635b8fbd5183fc27bd380e0ef5e45de4158784538c86fc" +nocross="configure: error: cannot run test program while cross compiling" + +makedepends="alsa-lib-devel libvorbis-devel libao-devel libflac-devel + libX11-devel gtk+-devel ncurses-devel" + +configure_args="--with-default-path=/etc/timidity \ + --enable-audio=alsa,oss,ao,vorbis,flac --enable-server \ + --enable-alsaseq=yes --enable-network \ + --enable-gtk --enable-ncurses"