From d6b48b672d3c144cc45f9c90bb73bf843ee7eef5 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Tue, 2 Jun 2009 18:15:25 -0700
Subject: Added aumix.

---
 abs/core-testing/aumix/PKGBUILD    | 24 +++++++++++++++++++++
 abs/core-testing/aumix/aumix.patch | 43 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 abs/core-testing/aumix/PKGBUILD
 create mode 100644 abs/core-testing/aumix/aumix.patch

diff --git a/abs/core-testing/aumix/PKGBUILD b/abs/core-testing/aumix/PKGBUILD
new file mode 100644
index 0000000..560427f
--- /dev/null
+++ b/abs/core-testing/aumix/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=aumix
+pkgver=2.8
+pkgrel=3
+pkgdesc="A color text mode sound mixer with GPM support"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.jpj.net/~trevor/aumix.html"
+depends=('gpm')
+conflicts=('aumix-gtk')
+provides=('aumix-gtk')
+source=(http://jpj.net/~trevor/aumix/aumix-$pkgver.tar.bz2 aumix.patch)
+md5sums=('dc3fc7209752207c23e7c94ab886b340' 'a4dae53812a41b7576228c37856c701b')
+
+build() {
+  cd $startdir/src/$pkgname-$pkgver
+  patch -Np1 <../aumix.patch || return 1
+  # we build without X/GTK support so we can avoid the dependencies.
+  # if you want GTK support, you can rebuild aumix from your ABS tree.
+  ./configure --prefix=/usr --without-alsa --without-gtk --without-gtk1 || return 1
+  make || return 1
+  make DESTDIR=$startdir/pkg install || return 1
+}
diff --git a/abs/core-testing/aumix/aumix.patch b/abs/core-testing/aumix/aumix.patch
new file mode 100644
index 0000000..2cf645f
--- /dev/null
+++ b/abs/core-testing/aumix/aumix.patch
@@ -0,0 +1,43 @@
+diff -Nru aumix-2.7/Makefile.in aumix-2.7-new/Makefile.in
+--- aumix-2.7/Makefile.in	Tue Jun 27 07:51:42 2000
++++ aumix-2.7-new/Makefile.in	Fri Oct  5 18:29:37 2001
+@@ -102,7 +102,7 @@
+ all: all-redirect
+ .SUFFIXES:
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+-	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
++	cd $(top_srcdir) 
+ 
+ Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) \
+@@ -114,7 +114,7 @@
+ config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ 	$(SHELL) ./config.status --recheck
+ $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+-	cd $(srcdir) && $(AUTOCONF)
++	cd $(srcdir) 
+ 
+ config.h: stamp-h
+ 	@if test ! -f $@; then \
+@@ -132,7 +132,7 @@
+ 		$(MAKE) $(srcdir)/stamp-h.in; \
+ 	else :; fi
+ $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
+-	cd $(top_srcdir) && $(AUTOHEADER)
++	cd $(top_srcdir) 
+ 	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
+ 
+ mostlyclean-hdr:
+diff -Nru aumix-2.7/src/Makefile.in aumix-2.7-new/src/Makefile.in
+--- aumix-2.7/src/Makefile.in	Tue Jun 27 07:51:42 2000
++++ aumix-2.7-new/src/Makefile.in	Fri Oct  5 18:30:02 2001
+@@ -123,8 +123,6 @@
+ all: all-redirect
+ .SUFFIXES:
+ .SUFFIXES: .S .c .o .s
+-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+-	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
+ 
+ Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+ 	cd $(top_builddir) \
+
-- 
cgit v0.12