summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-06-19 06:46:09 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-06-19 07:33:20 -0400
commit31b83c28a57d6a815c5e8c459618ab26ab6b8b9a (patch)
treead8b12f5abb33d97f2ee0ea9a48a96001b5aa64f
parentda635731dcc1f36f26da7e1f05926c271d3ea40a (diff)
downloadabslibre-31b83c28a57d6a815c5e8c459618ab26ab6b8b9a.tar.gz
abslibre-31b83c28a57d6a815c5e8c459618ab26ab6b8b9a.tar.bz2
abslibre-31b83c28a57d6a815c5e8c459618ab26ab6b8b9a.zip
add gsequencer (pcr-testing)
-rw-r--r--pcr-testing/gsequencer/PKGBUILD46
-rw-r--r--pcr-testing/gsequencer/alsa-replace-pulse.patch19
2 files changed, 65 insertions, 0 deletions
diff --git a/pcr-testing/gsequencer/PKGBUILD b/pcr-testing/gsequencer/PKGBUILD
new file mode 100644
index 000000000..b72902e0f
--- /dev/null
+++ b/pcr-testing/gsequencer/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer (AUR): JoëlKrähemann <jkraehemann@gmail.com>
+# Maintainer: bill-auger <bill-auger@programmer.net>
+
+
+pkgname=gsequencer
+pkgver=1.4.31
+pkgrel=1
+pkgdesc="Advanced Gtk+ Sequencer"
+arch=('i686' 'x86_64')
+license=('GPL')
+url=http://www.nongnu.org/gsequencer/
+
+makedepends=('cairo' 'fontconfig' 'gtk2' 'gdk-pixbuf2' 'libinstpatch' 'libpulse' 'libx11' 'libxml2')
+depends=('dssi' 'ladspa' 'lv2')
+provides=('gsequencer' 'midi2xml')
+
+_release=${pkgname}-${pkgver}
+_build_dir=${_release}
+source=(https://download.savannah.gnu.org/releases/${pkgname}/${pkgver%.*}.x/${_release}.tar.gz
+ alsa-replace-pulse.patch)
+sha256sums=('e293937f90415e7916114dc8223882c21dc1e8b9136b952b99af5aa923f96fe2'
+ 'df4f22779ec1b476c368229d89beb661adb7a6817d148dc48be827b00c63f3f1')
+
+
+prepare()
+{
+ cd ${_build_dir}
+
+ patch -p0 < ${srcdir}/alsa-replace-pulse.patch
+}
+
+build()
+{
+ cd ${_build_dir}
+
+ autoreconf -ifv
+ ./configure --prefix=/usr
+ make
+}
+
+package()
+{
+ cd ${_build_dir}
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/pcr-testing/gsequencer/alsa-replace-pulse.patch b/pcr-testing/gsequencer/alsa-replace-pulse.patch
new file mode 100644
index 000000000..bcdedaa9a
--- /dev/null
+++ b/pcr-testing/gsequencer/alsa-replace-pulse.patch
@@ -0,0 +1,19 @@
+--- ags/object/ags_config.c.orig 2018-04-30 00:19:45.690634116 +0000
++++ ags/object/ags_config.c 2018-04-30 00:20:22.247300782 +0000
+@@ -432,13 +432,13 @@
+ ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "backend", "core-audio");
+ ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "device", "ags-core-audio-devout-0");
+ #else
+- ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "backend", "pulse");
+- ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "device", "ags-pulse-devout-0");
++ ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "backend", "alsa");
++ ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "device", "hw:0");
+ #endif
+
+ ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "pcm-channels", "2");
+ ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "samplerate", "44100");
+- ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "buffer-size", "2048");
++ ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "buffer-size", "512");
+ ags_config_set_value(config, AGS_CONFIG_SOUNDCARD_0, "format", "16");
+
+ //ags_config_set_value(config, AGS_CONFIG_SEQUENCER_0, "backend", "jack");