[arch-commits] Commit in timidity++/repos (5 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:42:31 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:42:31
  Author: felixonmars
Revision: 659370

archrelease: copy trunk to community-staging-x86_64

Added:
  timidity++/repos/community-staging-x86_64/
  timidity++/repos/community-staging-x86_64/PKGBUILD
    (from rev 659368, timidity++/trunk/PKGBUILD)
  timidity++/repos/community-staging-x86_64/timidity-jack.patch
    (from rev 659368, timidity++/trunk/timidity-jack.patch)
  timidity++/repos/community-staging-x86_64/timidity.cfg
    (from rev 659368, timidity++/trunk/timidity.cfg)
  timidity++/repos/community-staging-x86_64/timidity.service
    (from rev 659368, timidity++/trunk/timidity.service)

---------------------+
 PKGBUILD            |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++
 timidity-jack.patch |   11 +++++++++
 timidity.cfg        |   29 +++++++++++++++++++++++++
 timidity.service    |    9 +++++++
 4 files changed, 106 insertions(+)

Copied: timidity++/repos/community-staging-x86_64/PKGBUILD (from rev 659368, timidity++/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:42:31 UTC (rev 659370)
@@ -0,0 +1,57 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+_name=TiMidity++
+pkgname=timidity++
+pkgver=2.15.0
+pkgrel=3
+pkgdesc="A MIDI to WAVE converter and player"
+arch=('x86_64')
+url="http://timidity.sourceforge.net"
+license=('GPL')
+groups=('pro-audio')
+depends=('libao' 'jack')
+makedepends=('xaw3d' 'gtk2' 'tk' 'libxaw')
+optdepends=('gtk2: for using the GTK+ interface'
+            'tk: for using the Tk interface'
+            'xaw3d: for using the Xaw interface')
+provides=('soundfont-synthesizer')
+backup=('etc/timidity++/timidity.cfg')
+source=("http://downloads.sourceforge.net/timidity/${_name}-${pkgver}.tar.xz"
+        timidity.cfg timidity.service timidity-jack.patch)
+sha512sums=('36c3c79d941903109d5d6d529963d12e8192a857e80402ad5ab0d1e223451a7cf5dc8fdd046b22ae7da96f413d68db8587a8fce348635838eba2f30f7019192f'
+            '054cd39bef913314e9901171566398af6280236531ac13ece683eaeb642c52b3280116adaa6328054c94bd79b0ab88c253281e386012a2c6d67f4b85c38e4859'
+            'b77e460c9803300db67d571d5298edbf4c29a469593c41640057ff8d173ed6edf8b9c2d6cd9a35f6cf1cc32d5b92be38513105f927991fd451725802abb1108b'
+            '51c075da04aeedca4edecb5a7f1926ccb80637b550f8fafca6d68be466cd4353a77bbb832878941919ec354c279a6014403e995b9152a47a3817c99890a4afeb')
+
+prepare() {
+  cd "${_name}-${pkgver}"
+  # interface Makefile doesn't make use of LDFLAGS
+  # this adds full RELRO
+  sed -e 's/SHLD)/SHLD) $(LDFLAGS)/g' -i interface/Makefile.am
+  patch -Np1 -i "${srcdir}/timidity-jack.patch"
+  autoreconf -vfi
+}
+
+build() {
+  cd "${_name}-${pkgver}"
+  # in interface/Makefile.in some bizarre custom stuff is used
+  ./configure --prefix=/usr \
+              --mandir=/usr/share/man \
+              --with-default-path=/etc/timidity++/ \
+              --enable-server \
+              --enable-alsaseq \
+              --enable-spectrogram \
+              --enable-network \
+              --enable-xft \
+              --enable-audio=alsa,oss,ao,vorbis,flac,jack \
+              --enable-dynamic=ncurses,tcltk,vt100,xaw,gtk
+  make
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -vDm 644 ../timidity.cfg -t "${pkgdir}/etc/${pkgname}/"
+  install -vDm 644 ../timidity.service -t "${pkgdir}/usr/lib/systemd/user/"
+}

Copied: timidity++/repos/community-staging-x86_64/timidity-jack.patch (from rev 659368, timidity++/trunk/timidity-jack.patch)
===================================================================
--- community-staging-x86_64/timidity-jack.patch	                        (rev 0)
+++ community-staging-x86_64/timidity-jack.patch	2020-07-07 16:42:31 UTC (rev 659370)
@@ -0,0 +1,11 @@
+diff -Naur TiMidity++-2.14.0-orig/timidity/jack_a.c TiMidity++-2.14.0/timidity/jack_a.c
+--- TiMidity++-2.14.0-orig/timidity/jack_a.c	2014-09-26 22:08:51.531559553 -0400
++++ TiMidity++-2.14.0/timidity/jack_a.c	2014-09-26 22:11:12.864659285 -0400
+@@ -508,6 +508,7 @@
+ 				pthread_cond_wait(&ctx->cond, &ctx->lock);
+ 		}
+ 		/* fallthrough */
++	case PM_REQ_PLAY_START:
+ 	case PM_REQ_DISCARD:
+ 		ctx->running = 0;
+ 		ringbuf_clear(&ctx->rbuf);

Copied: timidity++/repos/community-staging-x86_64/timidity.cfg (from rev 659368, timidity++/trunk/timidity.cfg)
===================================================================
--- community-staging-x86_64/timidity.cfg	                        (rev 0)
+++ community-staging-x86_64/timidity.cfg	2020-07-07 16:42:31 UTC (rev 659370)
@@ -0,0 +1,29 @@
+# details on this file and other examples see here:
+# http://www.onicos.com/staff/iz/timidity/dist/cfg/sndfont.cfg
+# http://www.onicos.com/staff/iz/timidity/dist/cfg/
+#----------------------------------------------------------------
+# SoundFont extension configuration
+#
+# soundfont <filename> [order={0|1}] [remove]
+#    <filename> is the path of SoundFont file.
+#    order: 0(preload) or 1(load after GUS).
+#    remove: disable specified soundfont.
+#
+# font exclude <tonebank> [<preset> [<keynote>]]
+# font order {0|1} <tonebank> [<preset> [<keynote>]]
+#    <tonebank>: 0-127
+#
+# font exclude 128 [<drumset> [<key>]]
+# font order {0|1} 128 [<drumset> [<key>]]
+#----------------------------------------------------------------
+
+# change the next line to point to a soundfont you have
+# soundfonts can be found e.g. here: http://www.hammersound.net/
+# soundfont /usr/share/soundfonts/DX7Piano.SF2
+
+# you can do manipulations of the soundfont you load like this:
+# e.g. removing drumset 99
+# font exclude 128 99
+
+# load drum samples after GUS patches
+# font order 1 128

Copied: timidity++/repos/community-staging-x86_64/timidity.service (from rev 659368, timidity++/trunk/timidity.service)
===================================================================
--- community-staging-x86_64/timidity.service	                        (rev 0)
+++ community-staging-x86_64/timidity.service	2020-07-07 16:42:31 UTC (rev 659370)
@@ -0,0 +1,9 @@
+[Unit]
+Description=TiMidity++ Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/timidity -iA
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list