summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Fontenelle2016-07-03 17:05:37 -0300
committerRafael Fontenelle2016-07-03 17:05:37 -0300
commitaf0ab016222af793b2df51385fa3b3158a577efc (patch)
tree05e409b5e6a5dac893e4e4da4769c3fec9ce0f77
downloadaur-af0ab016222af793b2df51385fa3b3158a577efc.tar.gz
Initial commit
-rw-r--r--.SRCINFO31
-rw-r--r--0001-tests-prefer-AM_TESTS_ENVIRONMENT-to-make-automake-h.patch97
-rw-r--r--PKGBUILD49
3 files changed, 177 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f3b5fea302d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+# Generated by mksrcinfo v8
+# Sun Jul 3 20:05:09 UTC 2016
+pkgbase = buzztrax
+ pkgdesc = Modular music composer for Linux
+ pkgver = 0.10.2
+ pkgrel = 1
+ url = http://buzztrax.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = FDL
+ makedepends = fluidsynth
+ makedepends = gobject-introspection
+ makedepends = intltool
+ makedepends = rarian
+ makedepends = gtk-doc
+ depends = clutter-gtk
+ depends = fluidsynth
+ depends = gst-plugins-base-libs
+ depends = libgsf
+ optdepends = gst-plugins-ugly: for the use of mp3 recording
+ optdepends = gst-plugins-bad: extra audio effects
+ optdepends = fluidsynth: to build a relates gstreamer wrapper
+ replaces = buzztard
+ source = http://files.buzztrax.org/releases/buzztrax-0.10.2.tar.gz
+ source = 0001-tests-prefer-AM_TESTS_ENVIRONMENT-to-make-automake-h.patch
+ md5sums = c11472d7eae8501d5e2c1c2f4b590fdf
+ md5sums = 31e372368e2ca1bbf0ea3721b5084f9b
+
+pkgname = buzztrax
+
diff --git a/0001-tests-prefer-AM_TESTS_ENVIRONMENT-to-make-automake-h.patch b/0001-tests-prefer-AM_TESTS_ENVIRONMENT-to-make-automake-h.patch
new file mode 100644
index 00000000000..6ddc2c48b8d
--- /dev/null
+++ b/0001-tests-prefer-AM_TESTS_ENVIRONMENT-to-make-automake-h.patch
@@ -0,0 +1,97 @@
+From 9c5ebca1509558fde91ed1cd75784cd5f0dd9f69 Mon Sep 17 00:00:00 2001
+From: Stefan Sauer <ensonic@users.sf.net>
+Date: Sun, 26 Jun 2016 12:58:33 +0200
+Subject: [PATCH] tests: prefer AM_TESTS_ENVIRONMENT to make automake happy
+
+The new test runner seems to require this variable.
+See #68
+---
+ Makefile.tests.am | 2 +-
+ docs/reference/bt-cmd/Makefile.am | 2 +-
+ docs/reference/bt-core/Makefile.am | 2 +-
+ docs/reference/bt-edit/Makefile.am | 2 +-
+ docs/reference/bt-gst/Makefile.am | 2 +-
+ docs/reference/bt-ic/Makefile.am | 2 +-
+ 6 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/Makefile.tests.am b/Makefile.tests.am
+index b7ce34c..0184931 100644
+--- a/Makefile.tests.am
++++ b/Makefile.tests.am
+@@ -37,7 +37,7 @@ CHECK_REGISTRY = $(top_builddir)/tests/test-registry.reg
+ # for gtk/x11 issues
+ # GDK_SYNCHRONIZE=1
+ #
+-TESTS_ENVIRONMENT = \
++AM_TESTS_ENVIRONMENT = \
+ CK_DEFAULT_TIMEOUT=20 \
+ LANG=C \
+ XDG_CACHE_HOME=$(abs_builddir) \
+diff --git a/docs/reference/bt-cmd/Makefile.am b/docs/reference/bt-cmd/Makefile.am
+index 91ddb30..d1a9652 100644
+--- a/docs/reference/bt-cmd/Makefile.am
++++ b/docs/reference/bt-cmd/Makefile.am
+@@ -89,7 +89,7 @@ EXTRA_DIST += \
+
+ # Comment this out if you want your docs-status tested during 'make check'
+ if ENABLE_GTK_DOC
+-TESTS_ENVIRONMENT = \
++AM_TESTS_ENVIRONMENT = \
+ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
+ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
+ TESTS = $(GTKDOC_CHECK)
+diff --git a/docs/reference/bt-core/Makefile.am b/docs/reference/bt-core/Makefile.am
+index 9cf0049..f559ca9 100644
+--- a/docs/reference/bt-core/Makefile.am
++++ b/docs/reference/bt-core/Makefile.am
+@@ -73,7 +73,7 @@ EXTRA_DIST += $(DOC_MODULE).types
+
+ # Comment this out if you want your docs-status tested during 'make check'
+ if ENABLE_GTK_DOC
+-TESTS_ENVIRONMENT = \
++AM_TESTS_ENVIRONMENT = \
+ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
+ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
+ TESTS = $(GTKDOC_CHECK)
+diff --git a/docs/reference/bt-edit/Makefile.am b/docs/reference/bt-edit/Makefile.am
+index 11542e3..e3ccca0 100644
+--- a/docs/reference/bt-edit/Makefile.am
++++ b/docs/reference/bt-edit/Makefile.am
+@@ -92,7 +92,7 @@ EXTRA_DIST += \
+
+ # Comment this out if you want your docs-status tested during 'make check'
+ if ENABLE_GTK_DOC
+-TESTS_ENVIRONMENT = \
++AM_TESTS_ENVIRONMENT = \
+ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
+ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
+ TESTS = $(GTKDOC_CHECK)
+diff --git a/docs/reference/bt-gst/Makefile.am b/docs/reference/bt-gst/Makefile.am
+index eaddd9b..2f4df52 100644
+--- a/docs/reference/bt-gst/Makefile.am
++++ b/docs/reference/bt-gst/Makefile.am
+@@ -96,7 +96,7 @@ EXTRA_DIST += $(DOC_MODULE).types
+
+ # Comment this out if you want your docs-status tested during 'make check'
+ if ENABLE_GTK_DOC
+-TESTS_ENVIRONMENT = \
++AM_TESTS_ENVIRONMENT = \
+ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
+ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
+
+diff --git a/docs/reference/bt-ic/Makefile.am b/docs/reference/bt-ic/Makefile.am
+index 60bdf7d..3ee7c6e 100644
+--- a/docs/reference/bt-ic/Makefile.am
++++ b/docs/reference/bt-ic/Makefile.am
+@@ -90,7 +90,7 @@ EXTRA_DIST += $(DOC_MODULE).types
+
+ # Comment this out if you want your docs-status tested during 'make check'
+ if ENABLE_GTK_DOC
+-TESTS_ENVIRONMENT = \
++AM_TESTS_ENVIRONMENT = \
+ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
+ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
+ TESTS = $(GTKDOC_CHECK)
+--
+2.9.0
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..86fa88a2361
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: rafaelff <rafaelff@gnome.org>
+
+pkgname=buzztrax
+pkgver=0.10.2
+pkgrel=1
+pkgdesc="Modular music composer for Linux"
+arch=(i686 x86_64)
+url="http://buzztrax.org/"
+license=(GPL FDL)
+depends=(clutter-gtk fluidsynth gst-plugins-base-libs libgsf)
+makedepends=(fluidsynth gobject-introspection intltool rarian gtk-doc)
+#checkdepends=(valgrind check)
+replaces=(buzztard)
+optdepends=('gst-plugins-ugly: for the use of mp3 recording'
+ 'gst-plugins-bad: extra audio effects'
+ 'fluidsynth: to build a relates gstreamer wrapper')
+source=("http://files.buzztrax.org/releases/buzztrax-$pkgver.tar.gz"
+ "0001-tests-prefer-AM_TESTS_ENVIRONMENT-to-make-automake-h.patch")
+md5sums=('c11472d7eae8501d5e2c1c2f4b590fdf'
+ '31e372368e2ca1bbf0ea3721b5084f9b')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i "$srcdir/0001-tests-prefer-AM_TESTS_ENVIRONMENT-to-make-automake-h.patch"
+ sed -i 's/gtk-update-icon-cache-3.0/gtk-update-icon-cache/' configure.ac
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ autoreconf
+ ./configure --prefix=/usr \
+ --enable-man \
+ --enable-gtk-doc \
+ --disable-update-mime \
+ --disable-update-desktop \
+ --disable-update-icon-cache
+ make
+}
+
+#check() {
+# cd "$pkgname-$pkgver"
+# make -k check
+#}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install
+}