Merge pull request #5240 from kalichakra/master

New packages: lingot-0.9.1 and others
This commit is contained in:
Toyam Cox 2016-12-06 14:52:24 -05:00 committed by GitHub
commit af02ac3f50
5 changed files with 93 additions and 0 deletions

View file

@ -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

30
srcpkgs/freepats/template Normal file
View file

@ -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 <kalichakra@zoho.com>"
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
}

14
srcpkgs/lingot/template Normal file
View file

@ -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 <kalichakra@zoho.com>"
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"

View file

@ -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.

21
srcpkgs/timidity/template Normal file
View file

@ -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 <kalichakra@zoho.com>"
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"